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

Changeset 9423


Ignore:
Timestamp:
Nov 27, 2008, 11:57:57 PM (13 years ago)
Author:
ogawa
Message:

#2032:携帯版ランクアップメール受信設定画面のデフォルト値を修正

Location:
OpenPNE/trunk/webapp/modules/ktai
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/ktai/page/h_member_config_rank_up_mail.php

    r9140 r9423  
    1010    {
    1111        $u  = $GLOBALS['KTAI_C_MEMBER_ID'];
     12        $c_member_secure = db_member_c_member_secure4c_member_id($u);
     13        $c_member_config = db_member_c_member_config4c_member_id($u);
     14       
     15        if (isset($c_member_config['SEND_RANK_UP_MAIL_KTAI'])) {
     16            $SEND_RANK_UP_MAIL_KTAI = (bool)$c_member_config['SEND_RANK_UP_MAIL_KTAI'];
     17        } else {
     18            if ($c_member_secure['pc_address']) {
     19                $SEND_RANK_UP_MAIL_KTAI = false;
     20            } else {
     21                $SEND_RANK_UP_MAIL_KTAI = true;
     22            }
     23        }
     24        $this->set('SEND_RANK_UP_MAIL_KTAI', $SEND_RANK_UP_MAIL_KTAI);
    1225
    1326        return 'success';
  • OpenPNE/trunk/webapp/modules/ktai/templates/h_member_config_rank_up_mail.tpl

    r9409 r9423  
    1111({t_form m=ktai a=do_h_member_config_update_rank_up_mail})
    1212<input type="hidden" name="ksid" value="({$PHPSESSID})">
    13 <input type="radio" name="SEND_RANK_UP_MAIL_KTAI" value="1"({if $C_MEMBER_CONFIG.SEND_RANK_UP_MAIL_KTAI}) checked="checked"({/if})>
     13<input type="radio" name="SEND_RANK_UP_MAIL_KTAI" value="1"({if $SEND_RANK_UP_MAIL_KTAI}) checked="checked"({/if})>
    1414受け取る<br>
    15 <input type="radio" name="SEND_RANK_UP_MAIL_KTAI" value="0"({if !$C_MEMBER_CONFIG.SEND_RANK_UP_MAIL_KTAI}) checked="checked"({/if})>
     15<input type="radio" name="SEND_RANK_UP_MAIL_KTAI" value="0"({if !$SEND_RANK_UP_MAIL_KTAI}) checked="checked"({/if})>
    1616受け取らない<br>
    1717<hr color="#({$ktai_color_config.border_01})">
Note: See TracChangeset for help on using the changeset viewer.