ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12197


Ignore:
Timestamp:
Jul 8, 2009, 3:03:29 PM (14 years ago)
Author:
urabe
Message:

#4095 is_search_resultの値の受け渡しアクションで設定

Location:
OpenPNE/trunk/webapp/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/ktai/templates/h_config_prof.tpl

    r12194 r12197  
    1616<font color="#({$ktai_color_config.font_06})">検索設定:</font><br>
    1717<select name="is_search_result">
    18 ({if $c_member.is_search_result != null})
    19     <option value="1"({if $c_member.is_search_result == '1'}) selected="selected"({/if})>公開する
    20     <option value="0"({if $c_member.is_search_result == '0'}) selected="selected"({/if})/>公開しない
    21 ({else})
    2218    <option value="1"({if $C_MEMBER_CONFIG.IS_SEARCH_RESULT == "1"}) selected="selected"({/if})>公開する
    2319    <option value="0"({if $C_MEMBER_CONFIG.IS_SEARCH_RESULT == "0"}) selected="selected"({/if})>公開しない
    24 ({/if})
    2520</select><br>
    2621<br>
  • OpenPNE/trunk/webapp/modules/pc/page/h_config_prof.php

    r12178 r12197  
    1919        if (!$prof) {
    2020            $prof = db_member_c_member_with_profile($u, 'private');
     21            $OPTION = $this->get('C_MEMBER_CONFIG');
     22            $prof['is_search_result'] = $OPTION['IS_SEARCH_RESULT'];
    2123        }
    2224        $this->set('c_member', $prof);
  • OpenPNE/trunk/webapp/modules/pc/templates/h_config_prof.tpl

    r12194 r12197  
    1010<th>検索設定 <strong>※</strong></th>
    1111<td>
    12 ({if $c_member.is_search_result != null})
    1312<input type="radio" id="is_search_result_1" class="input_radio" name="is_search_result" value="1"({if $c_member.is_search_result == '1'}) checked="checked" ({/if})/> <label for="is_search_result_1">公開</label>
    1413<input type="radio" id="is_search_result_0" class="input_radio" name="is_search_result" value="0"({if $c_member.is_search_result == '0'}) checked="checked" ({/if})/> <label for="is_search_result_0">公開しない</label>
    15 ({else})
    16 <input type="radio" id="is_search_result_1" class="input_radio" name="is_search_result" value="1"({if $C_MEMBER_CONFIG.IS_SEARCH_RESULT == '1'}) checked="checked" ({/if})/> <label for="is_search_result_1">公開</label>
    17 <input type="radio" id="is_search_result_0" class="input_radio" name="is_search_result" value="0"({if $C_MEMBER_CONFIG.IS_SEARCH_RESULT == '0'}) checked="checked" ({/if})/> <label for="is_search_result_0">公開しない</label>
    18 ({/if})
    1914</td>
    2015</tr>
Note: See TracChangeset for help on using the changeset viewer.