source: branches/version-2_12-multilang/data/Smarty/templates/admin/customer/search_customer.tpl @ 22424

Revision 22424, 4.4 KB checked in by adachi, 11 years ago (diff)

#2060 メッセージIDの振り直し:tpl_251 - tpl304

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
22 */
23*}-->
24
25<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29
30function func_submit(customer_id){
31    var fm = window.opener.document.form1;
32    fm.edit_customer_id.value = customer_id;
33    fm.mode.value = 'search_customer';
34    fm.submit();
35    window.close();
36    return false;
37}
38//-->
39</script>
40
41<!--▼検索フォーム-->
42<form name="form1" id="form1" method="post" action="?">
43<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
44<input name="mode" type="hidden" value="search">
45<input name="search_pageno" type="hidden" value="">
46<input name="customer_id" type="hidden" value="">
47
48<table class="form">
49    <col width="20%" />
50    <col width="80%" />
51    <tr>
52        <th class="colmun"><!--{t string="tpl_Member ID_01"}--></th>
53        <td width="287" colspan="2">
54            <!--{assign var=key value="search_customer_id"}-->
55            <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
56            <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
57        </td>
58    </tr>
59    <tr class="n">
60        <th class="colmun"><!--{t string="tpl_Name_02"}--></th>
61        <td>
62            <!--{assign var=key value="search_name"}-->
63            <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
64            <input type="text" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" <!--{if $arrErr[$key]}--><!--{sfSetErrorStyle}--><!--{/if}--> />
65        </td>
66    </tr>
67</table>
68
69<div class="btn-area">
70    <ul>
71        <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next"><!--{t string="tpl_Search_01"}--></span></a></li>
72    </ul>
73</div>
74
75<p>
76<!--{if $smarty.post.mode == 'search'}-->
77    <!--▼検索結果表示-->
78        <!--{if $tpl_linemax > 0}-->
79        <p><!--{t string="tpl_T_FIELD items were found._01" T_FIELD=$tpl_linemax}--><!--{$tpl_strnavi}--></p>
80        <!--{/if}-->
81
82    <!--▼検索後表示部分-->
83    <table class="list">
84        <tr>
85            <th><!--{t string="tpl_Member ID_01"}--></th>
86            <th><!--{t string="tpl_Name_02"}--></th>
87            <th><!--{t string="tpl_Phone Number_01"}--></th>
88            <th><!--{t string="tpl_Confirm_01"}--></th>
89        </tr>
90        <!--{section name=cnt loop=$arrCustomer}-->
91        <!--▼会員<!--{$smarty.section.cnt.iteration}-->-->
92        <tr>
93            <td>
94            <!--{$arrCustomer[cnt].customer_id|h}-->
95            </td>
96            <td><!--{$arrCustomer[cnt].name01|h}--><!--{$arrCustomer[cnt].name02|h}--></td>
97            <td><!--{$arrCustomer[cnt].tel01|h}-->-<!--{$arrCustomer[cnt].tel02|h}-->-<!--{$arrCustomer[cnt].tel03|h}--></td>
98            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id|h}-->)"><!--{t string="tpl_Confirm_01"}--></a></td>
99        </tr>
100        <!--▲会員<!--{$smarty.section.cnt.iteration}-->-->
101        <!--{sectionelse}-->
102        <tr>
103            <td colspan="4"><!--{t string="There is no member information."}--></td>
104        </tr>
105        <!--{/section}-->
106    </table>
107
108    <!--▲検索結果表示-->
109<!--{/if}-->
110</form>
111<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.