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

Changeset 6802


Ignore:
Timestamp:
Apr 28, 2008, 10:20:05 PM (11 years ago)
Author:
ebihara
Message:

#2181:DISPLAY_OFF*->IS_DISPLAY*

Location:
OpenPNE/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/do/h_member_config.php

    r6781 r6802  
    2121        $u = $GLOBALS['AUTH']->uid();
    2222
    23         db_member_update_c_member_config($u, 'DISPLAY_OFF_NEWDIARY_HOME', $requests['DISPLAY_OFF_NEWDIARY_HOME']);
    24         db_member_update_c_member_config($u, 'DISPLAY_OFF_NEWTOPIC_HOME', $requests['DISPLAY_OFF_NEWTOPIC_HOME']);
     23        db_member_update_c_member_config($u, 'IS_DISPLAY_NEWDIARY_HOME', $requests['IS_DISPLAY_NEWDIARY_HOME']);
     24        db_member_update_c_member_config($u, 'IS_DISPLAY_NEWTOPIC_HOME', $requests['IS_DISPLAY_NEWTOPIC_HOME']);
    2525        openpne_redirect('pc', 'page_h_home');
    2626    }
  • OpenPNE/trunk/webapp/modules/pc/page/h_home.php

    r6781 r6802  
    7171
    7272        // 最新日記
    73         if(DISPLAY_NEWDIARYTOPIC_HOME && !$OPTION['DISPLAY_OFF_NEWDIARY_HOME']){
     73        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWDIARY_HOME']){
    7474            $this->set('c_diary_list_all', p_h_home_c_diary_all_list(5));
    7575        }
     
    8383        $this->set('c_diary_my_comment_list', $c_diary_my_comment_list);
    8484        // コミュニティ全ての新着書き込み
    85         if(DISPLAY_NEWDIARYTOPIC_HOME && !$OPTION['DISPLAY_OFF_NEWTOPIC_HOME']){
     85        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWTOPIC_HOME']){
    8686            $this->set('c_topic_list_all', p_h_home_c_topic_all_list(5));
    8787        }
  • OpenPNE/trunk/webapp/modules/pc/templates/h_config.tpl

    r6781 r6802  
    212212<p>SNS全体の最新({$WORD_DIARY})</p>
    213213<ul>
    214 <li><input type="radio" class="input_radio" name="DISPLAY_OFF_NEWDIARY_HOME" id="display_off_newdiary_home_0" value="0"({if $C_MEMBER_CONFIG.DISPLAY_OFF_NEWDIARY_HOME == 0}) checked="checked"({/if}) /><label for="display_off_newdiary_home_0">表示する</label></li>
    215 <li><input type="radio" class="input_radio" name="DISPLAY_OFF_NEWDIARY_HOME" id="display_off_newdiary_home_1" value="1"({if $C_MEMBER_CONFIG.DISPLAY_OFF_NEWDIARY_HOME == 1}) checked="checked"({/if}) /><label for="display_off_newdiary_home_1">表示しない</label></li>
     214<li><input type="radio" class="input_radio" name="IS_DISPLAY_NEWDIARY_HOME" id="display_off_newdiary_home_0" value="0"({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME}) checked="checked"({/if}) /><label for="display_off_newdiary_home_0">表示する</label></li>
     215<li><input type="radio" class="input_radio" name="IS_DISPLAY_NEWDIARY_HOME" id="display_off_newdiary_home_1" value="1"({if !$C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME}) checked="checked"({/if}) /><label for="display_off_newdiary_home_1">表示しない</label></li>
    216216</ul>
    217217<p>SNS全体の最新トピック</p>
    218218<ul>
    219 <li><input type="radio" class="input_radio" name="DISPLAY_OFF_NEWTOPIC_HOME" id="display_off_newtopic_home_0" value="0"({if $C_MEMBER_CONFIG.DISPLAY_OFF_NEWTOPIC_HOME == 0}) checked="checked"({/if}) /><label for="display_off_newtopic_home_0">表示する</label></li>
    220 <li><input type="radio" class="input_radio" name="DISPLAY_OFF_NEWTOPIC_HOME" id="display_off_newtopic_home_1" value="1"({if $C_MEMBER_CONFIG.DISPLAY_OFF_NEWTOPIC_HOME == 1}) checked="checked"({/if}) /><label for="display_off_newtopic_home_1">表示しない</label></li>
     219<li><input type="radio" class="input_radio" name="IS_DISPLAY_NEWTOPIC_HOME" id="display_off_newtopic_home_0" value="0"({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME}) checked="checked"({/if}) /><label for="display_off_newtopic_home_0">表示する</label></li>
     220<li><input type="radio" class="input_radio" name="IS_DISPLAY_NEWTOPIC_HOME" id="display_off_newtopic_home_1" value="1"({if !$C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME}) checked="checked"({/if}) /><label for="display_off_newtopic_home_1">表示しない</label></li>
    221221</ul>
    222222<p>※マイホームに表示する情報を選択出来ます。</p>
  • OpenPNE/trunk/webapp/modules/pc/validate/do/h_member_config.ini

    r6781 r6802  
    1 [DISPLAY_OFF_NEWDIARY_HOME]
     1[IS_DISPLAY_NEWDIARY_HOME]
    22type = "string"
    33default = "0"
    44
    5 [DISPLAY_OFF_NEWTOPIC_HOME]
     5[IS_DISPLAY_NEWTOPIC_HOME]
    66type = "string"
    77default = "0"
  • OpenPNE/trunk/webapp_biz/modules/pc/page/h_home.php

    r6782 r6802  
    7575
    7676        // 最新日記
    77         if(DISPLAY_NEWDIARYTOPIC_HOME && !$OPTION['DISPLAY_OFF_NEWDIARY_HOME']){
     77        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWDIARY_HOME']){
    7878            $this->set('c_diary_list_all', p_h_home_c_diary_all_list(5));
    7979        }
     
    8787        $this->set('c_diary_my_comment_list', $c_diary_my_comment_list);
    8888        // コミュニティ全ての新着書き込み
    89         if(DISPLAY_NEWDIARYTOPIC_HOME && !$OPTION['DISPLAY_OFF_NEWTOPIC_HOME']){
     89        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWTOPIC_HOME']){
    9090            $this->set('c_topic_list_all', p_h_home_c_topic_all_list(5));
    9191        }
Note: See TracChangeset for help on using the changeset viewer.