Changeset 18698


Ignore:
Timestamp:
2010/06/14 16:41:18 (14 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20100614050507-ibipff0g7rsstd3x
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/default/admin/customer/edit.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcustomer%2Fedit.tpl
data/Smarty/templates/default/admin/customer/edit_complete.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcustomer%2Fedit_complete.tpl
data/Smarty/templates/default/admin/customer/edit_confirm.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcustomer%2Fedit_confirm.tpl
data/Smarty/templates/default/admin/customer/index.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fcustomer%2Findex.tpl
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20100614074114-vk4fk2v266vsw61v
bzr:revno:
1969
bzr:revprop:branch-nick:
branches/version-2_4-dev
bzr:root:
branches/version-2_4-dev
bzr:text-parents:

data/Smarty/templates/default/admin/customer/edit.tpl svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_4:18115
data/Smarty/templates/default/admin/customer/edit_complete.tpl svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/feature-module-update:16582
data/Smarty/templates/default/admin/customer/edit_confirm.tpl svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2:17054
data/Smarty/templates/default/admin/customer/index.tpl svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_4:17768
bzr:timestamp:
2010-06-14 16:41:14.737999916 +0900
bzr:user-agent:
bzr2.1.1+bzr-svn1.0.2
svn:original-date:
2010-06-14T07:41:14.738000Z
Message:

顧客管理で編集画面から検索画面へ戻った際に, システムエラーになるのを修正(#757)

Location:
branches/version-2_4-dev/data/Smarty/templates/default/admin/customer
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4-dev/data/Smarty/templates/default/admin/customer/edit.tpl

    r18115 r18698  
    4646<form name="form_search" method="post" action=""> 
    4747<input type="hidden" name="mode" value="search"> 
     48<!--{* ▼検索条件の保持(2次元配列対応)*}--> 
    4849<!--{foreach from=$arrSearchData key="key" item="item"}--> 
    49     <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "csv_mode" && $key ne "job" && $key ne "sex"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}--> 
    50 <!--{/foreach}--> 
     50    <!--{* 制御用の変数を対象外とする *}--> 
     51    <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "csv_mode"}--> 
     52        <!--{* 配列のときと、配列でない時で、フォームのnameを変更する *}--> 
     53        <!--{if is_array($item)}--> 
     54            <!--{foreach from=$item key="key2" item="item2"}--> 
     55                <input type="hidden" name="<!--{$key|escape}-->[]" value="<!--{$item2|escape}-->"> 
     56            <!--{/foreach}--> 
     57        <!--{else}--> 
     58            <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
     59        <!--{/if}--> 
     60    <!--{/if}--> 
     61<!--{/foreach}--> 
     62<!--{* ▲検索条件の保持(2次元配列対応)*}--> 
    5163<!--{foreach from=$arrSearchData.job key="key" item="item"}--> 
    5264<input type="hidden" name="job[]" value=<!--{$item}-->> 
     
    6274<input type="hidden" name="customer_id" value="<!--{$list_data.customer_id|escape}-->"> 
    6375 
    64 <!-- 検索条件の保持 --> 
     76<!--{* ▼検索条件の保持(2次元配列対応)*}--> 
    6577<!--{foreach from=$arrSearchData key="key" item="item"}--> 
    66     <!--{if $key ne "job" && $key ne "sex"}--><input type="hidden" name="search_data[<!--{$key|escape}-->]" value="<!--{$item|escape}-->"><!--{/if}--> 
    67 <!--{/foreach}--> 
     78    <!--{* 制御用の変数を対象外とする *}--> 
     79    <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "csv_mode"}--> 
     80        <!--{* 配列のときと、配列でない時で、フォームのnameを変更する *}--> 
     81        <!--{if is_array($item)}--> 
     82            <!--{foreach from=$item key="key2" item="item2"}--> 
     83                <input type="hidden" name="search_data[<!--{$key|escape}-->][]" value="<!--{$item2|escape}-->"> 
     84            <!--{/foreach}--> 
     85        <!--{else}--> 
     86            <input type="hidden" name="search_data[<!--{$key|escape}-->]" value="<!--{$item|escape}-->"> 
     87        <!--{/if}--> 
     88    <!--{/if}--> 
     89<!--{/foreach}--> 
     90<!--{* ▲検索条件の保持(2次元配列対応)*}--> 
    6891<!--{foreach from=$arrSearchData.job key="key" item="item"}--> 
    6992<input type="hidden" name="search_data[job][]" value=<!--{$item}-->> 
  • branches/version-2_4-dev/data/Smarty/templates/default/admin/customer/edit_complete.tpl

    r16582 r18698  
    2727<input type="hidden" name="mode" value="complete"> 
    2828<!--{foreach from=$arrForm key=key item=item}--> 
    29     <!--{if $key ne "mode" && $key ne "subm"}--> 
    30     <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
    31     <!--{/if}--> 
     29    <!--{if $key ne "mode" && $key ne "subm"}--> 
     30        <!--{* 配列のときと、配列でない時で、フォームのnameを変更する *}--> 
     31        <!--{if is_array($item)}--> 
     32            <!--{foreach from=$item key="key2" item="item2"}--> 
     33                <input type="hidden" name="<!--{$key|escape}-->[]" value="<!--{$item2|escape}-->"> 
     34            <!--{/foreach}--> 
     35        <!--{else}--> 
     36            <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
     37        <!--{/if}--> 
     38    <!--{/if}--> 
    3239<!--{/foreach}--> 
    33     <tr valign="top"> 
    34         <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> 
    35             <!--▼SUB NAVI--> 
    36             <!--{include file=$tpl_subnavi}--> 
    37             <!--▲SUB NAVI--> 
    38         </td> 
    39         <td class="mainbg"> 
    40             <!--▼登録テーブルここから--> 
    41             <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    42                 <!--メインエリア--> 
    43                 <tr> 
    44                     <td align="center"> 
    45                         <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    46                             <tr><td height="14"></td></tr> 
    47                             <tr> 
    48                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> 
    49                             </tr> 
    50                             <tr> 
    51                                 <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
    52                                 <td bgcolor="#cccccc"> 
    53                                 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    54                                     <tr> 
    55                                         <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 
    56                                     </tr> 
    57                                     <tr> 
    58                                         <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 
    59                                         <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->顧客管理</span></td> 
    60                                         <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 
    61                                     </tr> 
    62                                     <tr> 
    63                                         <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 
    64                                     </tr> 
    65                                     <tr> 
    66                                         <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 
    67                                     </tr> 
    68                                 </table> 
    6940 
    70                                 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
    71                                     <tr> 
    72                                         <td  height="350" bgcolor="#ffffff" class="fs14n" align="center">登録が完了致しました。</td> 
    73                                     </tr> 
    74                                 </table> 
     41    <tr valign="top"> 
     42        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402"> 
     43            <!--▼SUB NAVI--> 
     44            <!--{include file=$tpl_subnavi}--> 
     45            <!--▲SUB NAVI--> 
     46        </td> 
     47        <td class="mainbg"> 
     48            <!--▼登録テーブルここから--> 
     49            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     50                <!--メインエリア--> 
     51                <tr> 
     52                    <td align="center"> 
     53                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     54                            <tr><td height="14"></td></tr> 
     55                            <tr> 
     56                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td> 
     57                            </tr> 
     58                            <tr> 
     59                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
     60                                <td bgcolor="#cccccc"> 
     61                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     62                                    <tr> 
     63                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 
     64                                    </tr> 
     65                                    <tr> 
     66                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 
     67                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->顧客管理</span></td> 
     68                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 
     69                                    </tr> 
     70                                    <tr> 
     71                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 
     72                                    </tr> 
     73                                    <tr> 
     74                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 
     75                                    </tr> 
     76                                </table> 
    7577 
    76                                 </td> 
    77                                 <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
    78                             </tr> 
    79                             <tr> 
    80                                 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 
    81                             </tr> 
    82                             <tr><td height="30"></td></tr> 
    83                         </table> 
    84                     </td> 
    85                 </tr> 
    86                 <!--メインエリア--> 
    87             </table> 
    88             <!--▲登録テーブルここまで--> 
    89         </td> 
    90     </tr> 
     78                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
     79                                    <tr> 
     80                                        <td  height="350" bgcolor="#ffffff" class="fs14n" align="center">登録が完了致しました。</td> 
     81                                    </tr> 
     82                                </table> 
     83 
     84                                </td> 
     85                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 
     86                            </tr> 
     87                            <tr> 
     88                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> 
     89                            </tr> 
     90                            <tr><td height="30"></td></tr> 
     91                        </table> 
     92                    </td> 
     93                </tr> 
     94                <!--メインエリア--> 
     95            </table> 
     96            <!--▲登録テーブルここまで--> 
     97        </td> 
     98    </tr> 
    9199</form> 
    92100</table> 
  • branches/version-2_4-dev/data/Smarty/templates/default/admin/customer/edit_confirm.tpl

    r17054 r18698  
    3939<!--{foreach from=$arrForm key=key item=item}--> 
    4040    <!--{if $key ne "mode" && $key ne "subm"}--> 
    41     <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
     41        <!--{* 配列のときと、配列でない時で、フォームのnameを変更する *}--> 
     42        <!--{if is_array($item)}--> 
     43            <!--{foreach from=$item key="key2" item="item2"}--> 
     44                <input type="hidden" name="<!--{$key|escape}-->[]" value="<!--{$item2|escape}-->"> 
     45            <!--{/foreach}--> 
     46        <!--{else}--> 
     47            <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
     48        <!--{/if}--> 
    4249    <!--{/if}--> 
    4350<!--{/foreach}--> 
  • branches/version-2_4-dev/data/Smarty/templates/default/admin/customer/index.tpl

    r17768 r18698  
    332332<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    333333<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
     334 
     335<!--{* ▼検索条件の保持(2次元配列対応)*}--> 
    334336<!--{foreach from=$smarty.post key="key" item="item"}--> 
    335 <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex" && $key ne "status"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}--> 
     337    <!--{* 制御用の変数を対象外とする *}--> 
     338    <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode"}--> 
     339        <!--{* 配列のときと、配列でない時で、フォームのnameを変更する *}--> 
     340        <!--{if is_array($item)}--> 
     341            <!--{foreach from=$item key="key2" item="item2"}--> 
     342                <input type="hidden" name="<!--{$key|escape}-->[]" value="<!--{$item2|escape}-->"> 
     343            <!--{/foreach}--> 
     344        <!--{else}--> 
     345            <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 
     346        <!--{/if}--> 
     347    <!--{/if}--> 
    336348<!--{/foreach}--> 
    337 <!--{foreach from=$smarty.post.job key="key" item="item"}--> 
    338 <input type="hidden" name="job[]" value=<!--{$item}-->> 
    339 <!--{/foreach}--> 
    340 <!--{foreach from=$smarty.post.sex key="key" item="item"}--> 
    341 <input type="hidden" name="sex[]" value=<!--{$item}-->> 
    342 <!--{/foreach}--> 
    343 <!--{foreach from=$smarty.post.status key="key" item="item"}--> 
    344 <input type="hidden" name="status[]" value=<!--{$item}-->> 
    345 <!--{/foreach}--> 
     349<!--{* ▲検索条件の保持(2次元配列対応)*}--> 
     350 
    346351<input type="hidden" name="mode" value="search"> 
    347352<input type="hidden" name="del_mode" value=""> 
Note: See TracChangeset for help on using the changeset viewer.