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

Changeset 7315


Ignore:
Timestamp:
May 22, 2008, 4:51:36 PM (12 years ago)
Author:
ebihara
Message:

#2477:DISPLAY_CHANGE_*_HOME_KTAI->IS_DISPLAY_*_HOME_KTAI

Location:
OpenPNE/branches/stable-2.12.x
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/lib/util/util.php

    r7205 r7315  
    891891        'IS_DISPLAY_NEWDIARY_HOME' => 0,
    892892        'IS_DISPLAY_NEWTOPIC_HOME' => 0,
    893         'DISPLAY_CHANGE_NEWDIARY_HOME_KTAI' => 0,
    894         'DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI' => 0,
     893        'IS_DISPLAY_NEWDIARY_HOME_KTAI' => 0,
     894        'IS_DISPLAY_NEWTOPIC_HOME_KTAI' => 0,
    895895    );
    896896
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/do/h_member_config_update_display_home.php

    r7309 r7315  
    1616        $u = $GLOBALS['KTAI_C_MEMBER_ID'];
    1717
    18         db_member_update_c_member_config($u, 'DISPLAY_CHANGE_NEWDIARY_HOME_KTAI', $requests['DISPLAY_CHANGE_NEWDIARY_HOME_KTAI']);
    19         db_member_update_c_member_config($u, 'DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI', $requests['DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI']);
     18        db_member_update_c_member_config($u, 'IS_DISPLAY_NEWDIARY_HOME_KTAI', $requests['IS_DISPLAY_NEWDIARY_HOME_KTAI']);
     19        db_member_update_c_member_config($u, 'IS_DISPLAY_NEWTOPIC_HOME_KTAI', $requests['IS_DISPLAY_NEWTOPIC_HOME_KTAI']);
    2020
    2121        $p = array('msg' => 48);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_home.php

    r6804 r7315  
    2323        $this->set('c_message_unread_count', db_message_c_message_received_unread_all_count4c_member_id($u));
    2424        // 最新日記
    25         if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['DISPLAY_CHANGE_NEWDIARY_HOME_KTAI']){
     25        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWDIARY_HOME_KTAI']){
    2626            $this->set('c_diary_list_all', p_h_home_c_diary_all_list(5));
    2727        } else {
     
    3939
    4040        // 最新トピック
    41         if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI']){
     41        if(DISPLAY_NEWDIARYTOPIC_HOME && $OPTION['IS_DISPLAY_NEWTOPIC_HOME_KTAI']){
    4242            $this->set('c_topic_list_all', p_h_home_c_topic_all_list(5));
    4343        } else {
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/h_home.tpl

    r7309 r7315  
    9393<table width="100%">
    9494<tr><td bgcolor="#({$ktai_color_config.bg_05})">
    95 <a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWDIARY_HOME_KTAI})最新({$WORD_DIARY_HALF})({else})({$WORD_FRIEND_HALF})最新({$WORD_DIARY_HALF})({/if})</font><br>
     95<a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME_KTAI})最新({$WORD_DIARY_HALF})({else})({$WORD_FRIEND_HALF})最新({$WORD_DIARY_HALF})({/if})</font><br>
    9696</td></tr>
    9797({if $c_diary_friend_list})
     
    159159<table width="100%">
    160160<tr><td bgcolor="#({$ktai_color_config.bg_05})">
    161 <a accesskey="3" name="a3" href="#a3">[i:127]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI})最新トピック({else})({$WORD_COMMUNITY_HALF})最新書き込み({/if})</font><br>
     161<a accesskey="3" name="a3" href="#a3">[i:127]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME_KTAI})最新トピック({else})({$WORD_COMMUNITY_HALF})最新書き込み({/if})</font><br>
    162162</td></tr>
    163163({if $c_commu_topic_list})
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/h_member_config_display_home.tpl

    r7309 r7315  
    1111({t_form m=ktai a=do_h_member_config_update_display_home})
    1212<input type="hidden" name="ksid" value="({$PHPSESSID})">
    13 <input type="radio" name="DISPLAY_CHANGE_NEWDIARY_HOME_KTAI" value="0"({if !$C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWDIARY_HOME_KTAI}) checked="checked"({/if})>
     13<input type="radio" name="IS_DISPLAY_NEWDIARY_HOME_KTAI" value="0"({if !$C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME_KTAI}) checked="checked"({/if})>
    1414マイフレンドの({$WORD_DIARY_HALF})の新着を表示<br>
    15 <input type="radio" name="DISPLAY_CHANGE_NEWDIARY_HOME_KTAI" value="1"({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWDIARY_HOME_KTAI}) checked="checked"({/if})>
     15<input type="radio" name="IS_DISPLAY_NEWDIARY_HOME_KTAI" value="1"({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME_KTAI}) checked="checked"({/if})>
    1616全体の({$WORD_DIARY_HALF})の新着を表示<br>
    1717<font color="#({$ktai_color_config.font_06})">最新トピック表示:</font><br>
    18 <input type="radio" name="DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI" value="0"({if !$C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI}) checked="checked"({/if})>
     18<input type="radio" name="IS_DISPLAY_NEWTOPIC_HOME_KTAI" value="0"({if !$C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME_KTAI}) checked="checked"({/if})>
    1919参加({$WORD_COMMUNITY_HALF})の新着トピックを表示<br>
    20 <input type="radio" name="DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI" value="1"({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI}) checked="checked"({/if})>
     20<input type="radio" name="IS_DISPLAY_NEWTOPIC_HOME_KTAI" value="1"({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME_KTAI}) checked="checked"({/if})>
    2121全体の新着トピックを表示<br>
    2222
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/validate/do/h_member_config_update_display_home.ini

    r7309 r7315  
    1 [DISPLAY_CHANGE_NEWDIARY_HOME_KTAI]
     1[IS_DISPLAY_NEWDIARY_HOME_KTAI]
    22type = "string"
    33default = "0"
    44
    5 [DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI]
     5[IS_DISPLAY_NEWTOPIC_HOME_KTAI]
    66type = "string"
    77default = "0"
  • OpenPNE/branches/stable-2.12.x/webapp_biz/modules/ktai/templates/h_home.tpl

    r7311 r7315  
    9696<table width="100%">
    9797<tr><td bgcolor="#({$ktai_color_config.bg_05})">
    98 <a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWDIARY_HOME_KTAI})最新({$WORD_DIARY_HALF})({else})({$WORD_FRIEND_HALF})最新({$WORD_DIARY_HALF})({/if})</font><br>
     98<a accesskey="1" name="a1" href="#a1">[i:125]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWDIARY_HOME_KTAI})最新({$WORD_DIARY_HALF})({else})({$WORD_FRIEND_HALF})最新({$WORD_DIARY_HALF})({/if})</font><br>
    9999</td></tr>
    100100({if $c_diary_friend_list})
     
    162162<table width="100%">
    163163<tr><td bgcolor="#({$ktai_color_config.bg_05})">
    164 <a accesskey="3" name="a3" href="#a3">[i:127]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.DISPLAY_CHANGE_NEWTOPIC_HOME_KTAI})最新トピック({else})({$WORD_COMMUNITY_HALF})最新書き込み({/if})</font><br>
     164<a accesskey="3" name="a3" href="#a3">[i:127]</a><font color="#({$ktai_color_config.color_25})">({if $C_MEMBER_CONFIG.IS_DISPLAY_NEWTOPIC_HOME_KTAI})最新トピック({else})({$WORD_COMMUNITY_HALF})最新書き込み({/if})</font><br>
    165165</td></tr>
    166166({if $c_commu_topic_list})
Note: See TracChangeset for help on using the changeset viewer.