Changeset 23429


Ignore:
Timestamp:
2014/05/19 18:36:18 (6 years ago)
Author:
m_uehara
Message:

#2411 (非会員購入時に生年月日が登録されない)スマートフォンのprefixを調整

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_2/data/Smarty/templates/sphone/shopping/nonmember_input.tpl

    r23230 r23429  
    240240            <dt>生年月日</dt> 
    241241            <dd> 
    242                 <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}--> 
     242                <!--{assign var=key1 value="order_year"}--> 
     243                <!--{assign var=key2 value="order_month"}--> 
     244                <!--{assign var=key3 value="order_day"}--> 
     245                <!--{assign var=errBirth value="`$arrErr.$key1``$arrErr.$key2``$arrErr.$key3`"}--> 
     246                <!--{if $errBirth}--> 
    243247                <div class="attention"><!--{$errBirth}--></div> 
    244                 <select name="year" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
    245                     <!--{html_options options=$arrYear selected=$arrForm.year.value|default:''}--> 
     248                <!--{/if}--> 
     249                <select name="<!--{$key1}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
     250                    <!--{html_options options=$arrYear selected=$arrForm[$key1].value|default:''}--> 
    246251                </select><span class="selectdate">年</span> 
    247252 
    248                 <select name="month" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
    249                     <!--{html_options options=$arrMonth selected=$arrForm.month.value|default:''}--> 
     253                <select name="<!--{$key2}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
     254                    <!--{html_options options=$arrMonth selected=$arrForm[$key2].value|default:''}--> 
    250255                </select><span class="selectdate">月</span> 
    251256 
    252                 <select name="day" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
    253                     <!--{html_options options=$arrDay selected=$arrForm.day.value|default:''}--> 
     257                <select name="<!--{$key3}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none"> 
     258                    <!--{html_options options=$arrDay selected=$arrForm[$key3].value|default:''}--> 
    254259                </select><span class="selectdate">日</span> 
    255260            </dd> 
Note: See TracChangeset for help on using the changeset viewer.