Changeset 23323
- Timestamp:
- 2014/01/13 17:31:57 (10 years ago)
- Location:
- branches/version-2_13-dev/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/admin/order/edit.tpl
r23300 r23323 278 278 <!--{assign var=key2 value="order_birth_month"}--> 279 279 <!--{assign var=key3 value="order_birth_day"}--> 280 <span class="attention"><!--{$arrErr[$key1]}--></span> 281 <span class="attention"><!--{$arrErr[$key2]}--></span> 282 <span class="attention"><!--{$arrErr[$key3]}--></span> 283 <select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"> 280 <!--{assign var=errBirth value="`$arrErr.$key1``$arrErr.$key2``$arrErr.$key3`"}--> 281 <!--{if $errBirth}--> 282 <div class="attention"><!--{$errBirth}--></div> 283 <!--{/if}--> 284 <select name="<!--{$key1}-->" style="<!--{$errBirth|sfGetErrorColor}-->"> 284 285 <!--{html_options options=$arrBirthYear selected=$arrForm[$key1].value|default:""}--> 285 286 </select>年 286 <select name="<!--{$key2}-->" style="<!--{$ arrErr[$key2]|sfGetErrorColor}-->">287 <select name="<!--{$key2}-->" style="<!--{$errBirth|sfGetErrorColor}-->"> 287 288 <!--{html_options options=$arrBirthMonth selected=$arrForm[$key2].value|default:""}--> 288 289 </select>月 289 <select name="<!--{$key3}-->" style="<!--{$ arrErr[$key3]|sfGetErrorColor}-->">290 <select name="<!--{$key3}-->" style="<!--{$errBirth|sfGetErrorColor}-->"> 290 291 <!--{html_options options=$arrBirthDay selected=$arrForm[$key3].value|default:""}--> 291 292 </select>日 -
branches/version-2_13-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r23300 r23323 643 643 $arrErrTemp = array_merge($arrErrTemp, $arrErrDate); 644 644 645 // 複数項目チェック 646 $year = $arrValues['order_birth_year']; 647 $month = $arrValues['order_birth_month']; 648 $day = $arrValues['order_birth_day']; 649 $objError = new SC_CheckError_Ex(array('order_birth_year' => $year, 650 'order_birth_month' => $month, 651 'order_birth_day' => $day)); 652 $objError->doFunc(array('生年月日', 'order_birth_year', 'order_birth_month', 'order_birth_day'), 653 array('CHECK_BIRTHDAY')); 654 $arrErrTemp['order_birth_year'] = $objError->arrErr['order_birth_year']; 655 645 656 // 商品の種類数 646 657 $max = count($arrValues['quantity']);
Note: See TracChangeset
for help on using the changeset viewer.