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

Changeset 7297


Ignore:
Timestamp:
May 21, 2008, 6:34:32 PM (11 years ago)
Author:
ebihara
Message:

#2022:携帯版で忍び足の設定を変更することができなかったのを修正

Location:
OpenPNE/branches/stable-2.12.x/webapp
Files:
4 added
3 edited

Legend:

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

    r7074 r7297  
    18021802}
    18031803
     1804function db_member_update_is_shinobiashi($c_member_id, $is_shinobiashi)
     1805{
     1806    // function cacheを削除
     1807    cache_drop_c_member_profile($c_member_id);
     1808
     1809    $data = array('is_shinobiashi' => intval($is_shinobiashi));
     1810    $where = array('c_member_id' => intval($c_member_id));
     1811    db_update('c_member', $data, $where);
     1812}
     1813
    18041814function db_member_insert_username($c_member_id, $username)
    18051815{
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/h_config.tpl

    r6527 r7297  
    1313<font color="#({$ktai_color_config.bg_02})">◆</font><a href="({t_url m=ktai a=page_h_config_public_flag_diary})&amp;({$tail})">({$WORD_DIARY_HALF})の公開範囲設定</a><br>
    1414<font color="#({$ktai_color_config.bg_02})">◆</font><a href="({t_url m=ktai a=page_h_config_access_block})&amp;({$tail})">アクセスブロック設定</a><br>
     15({if $smarty.const.USE_SHINOBIASHI})
     16<font color="#({$ktai_color_config.bg_02})">◆</font><a href="({t_url m=ktai a=page_h_config_shinobiashi})&amp;({$tail})">忍び足設定</a><br>
     17({/if})
    1518<font color="#({$ktai_color_config.bg_02})">◆</font><a href="({t_url m=ktai a=page_h_member_config})&amp;({$tail})">その他設定</a><br>
    1619<br>
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/templates/h_home.tpl

    r7106 r7297  
    271271<a href="({t_url m=ktai a=page_h_config_access_block})&amp;({$tail})">アクセスブロック設定</a><br>
    272272</td></tr>
    273 <tr><td bgcolor="#({$ktai_color_config.bg_10})">
     273({if $smarty.const.USE_SHINOBIASHI})
     274<tr><td bgcolor="#({$ktai_color_config.bg_10})">
     275<a href="({t_url m=ktai a=page_h_config_shinobiashi})&amp;({$tail})">忍び足設定</a><br>
     276</td></tr>
     277<tr><td bgcolor="#({$ktai_color_config.bg_09})">
    274278<a href="({t_url m=ktai a=page_h_member_config})&amp;({$tail})">その他設定</a><br>
    275279</td></tr>
     280({else})
     281<tr><td bgcolor="#({$ktai_color_config.bg_10})">
     282<a href="({t_url m=ktai a=page_h_member_config})&amp;({$tail})">その他設定</a><br>
     283</td></tr>
     284({/if})
    276285<tr><td bgcolor="#({$ktai_color_config.bg_10})">
    277286<hr color="#({$ktai_color_config.border_03})">
Note: See TracChangeset for help on using the changeset viewer.