Changeset 15093


Ignore:
Timestamp:
2007/07/23 10:11:41 (13 years ago)
Author:
adati
Message:

#133 メルマガ登録の不具合を修正

Location:
branches/beta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/Smarty/templates/mobile/entry/set2.tpl

    r11903 r15093  
    4040    ¡Ú¥á¡¼¥ë¥Þ¥¬¥¸¥ó¡Û<br> 
    4141    ¤ªÆÀ¤Ê¾ðÊó¤ò´õ˾¤µ¤ì¤Þ¤¹¤«¡©<br> 
    42     ÇÛ¿®´õ˾<input type="checkbox" name="mailmaga_flg" value="on" <!--{if $mailmaga_flg eq 'on'}-->checked<!--{/if}--> /><br> 
     42    ÇÛ¿®´õ˾<input type="checkbox" name="mailmaga_flg" value="on" <!--{if $mailmaga_flg eq 'on' || $mailmaga_flg == 2}-->checked<!--{/if}--> /><br> 
    4343    ¡Ê´õ˾¤µ¤ì¤Ê¤¤¾ì¹ç¤Ï¥Á¥§¥Ã¥¯¤ò¤Ï¤º¤·¤Æ¤¯¤À¤µ¤¤¡Ë<br> 
    4444    <br> 
  • branches/beta/html/mobile/entry/index.php

    r13360 r15093  
    143143            $checkVal = array("sex", "year", "month", "day", "zip01", "zip02"); 
    144144        } else { 
    145             $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mail_flag"); 
     145            $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mailmaga_flg"); 
    146146        } 
    147147 
     
    174174             
    175175            //¥á¡¼¥ë¼õ¤±¼è¤ê 
    176             if (strtolower($objPage->arrForm['mail_flag']) == "on") { 
    177                 $objPage->arrForm['mail_flag']  = "2"; 
     176            if (strtolower($objPage->arrForm['mailmaga_flg']) == "on") { 
     177                $objPage->arrForm['mailmaga_flg']  = "2"; 
    178178            } else { 
    179                 $objPage->arrForm['mail_flag']  = "3"; 
     179                $objPage->arrForm['mailmaga_flg']  = "3"; 
    180180            } 
    181181 
     
    190190            $checkVal = array("sex", "year", "month", "day", "zip01", "zip02"); 
    191191        } elseif ($_POST["mode"] == "set2") { 
    192             $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mail_flag"); 
     192            $checkVal = array("pref", "addr01", "addr02", "tel01", "tel02", "tel03", "mailmaga_flg"); 
    193193        } else { 
    194194            $checkVal = array(); 
Note: See TracChangeset for help on using the changeset viewer.