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

Revision 22177, 6.7 KB checked in by h_yoshimoto, 10 years ago (diff)

#1997 カナのテキストフィールドを削除

  • 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<script type="text/javascript">
26<!--
27
28    function fnDelete(customer_id) {
29        if (confirm('<!--{t string="tpl_248"}-->')) {
30            document.form1.mode.value = "delete"
31            document.form1['edit_customer_id'].value = customer_id;
32            document.form1.submit();
33            return false;
34        }
35    }
36
37    function fnEdit(customer_id) {
38        document.form1.action = './edit.php';
39        document.form1.mode.value = "edit_search"
40        document.form1['edit_customer_id'].value = customer_id;
41        document.form1.search_pageno.value = 1;
42        document.form1.submit();
43        return false;
44    }
45
46    function fnReSendMail(customer_id) {
47        if (confirm('<!--{t string="tpl_249"}-->')) {
48            document.form1.mode.value = "resend_mail"
49            document.form1['edit_customer_id'].value = customer_id;
50            document.form1.submit();
51            return false;
52        }
53    }
54//-->
55</script>
56
57
58<div id="customer" class="contents-main">
59<form name="search_form" id="search_form" method="post" action="?">
60<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
61<input type="hidden" name="mode" value="search" />
62
63    <h2><!--{t string="tpl_250"}--></h2>
64
65    <!--検索条件設定テーブルここから-->
66    <table class="form">
67        <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`/adminparts/form_customer_search.tpl"}-->
68        <tr>
69            <th><!--{t string="tpl_209"}--></th>
70            <td colspan="3"><!--{html_checkboxes name="search_status" options=$arrStatus separator="&nbsp;" selected=$arrForm.search_status.value}--></td>
71        </tr>
72    </table>
73    <div class="btn">
74        <p class="page_rows"><!--{t string="tpl_251"}-->
75            <!--{t string="record_prefix"}-->
76            <select name="search_page_max">
77                <!--{html_options options=$arrPageMax selected=$arrForm.search_page_max}-->
78            </select>
79            <!--{t string="record_suffix"}-->
80        </p>
81        <div class="btn-area">
82            <ul>
83                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_252"}--></span></a></li>
84            </ul>
85        </div>
86    </div>
87</form>
88<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete' or $smarty.post.mode == 'resend_mail')}-->
89
90<!--★★検索結果一覧★★-->
91<form name="form1" id="form1" method="post" action="?">
92<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
93<input type="hidden" name="mode" value="search" />
94<input type="hidden" name="edit_customer_id" value="" />
95    <!--{foreach key=key item=item from=$arrHidden}-->
96    <!--{if is_array($item)}-->
97        <!--{foreach item=c_item from=$item}-->
98        <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
99        <!--{/foreach}-->
100    <!--{else}-->
101        <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
102    <!--{/if}-->
103<!--{/foreach}-->
104
105    <h2><!--{t string="tpl_253"}--></h2>
106    <div class="btn">
107        <!--検索結果数--><!--{t string="tpl_230" T_FIELD=$tpl_linemax}-->
108        <!--検索結果-->
109        <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><!--{t string="tpl_254"}--></a>
110        <a class="btn-normal" href="javascript:;" onclick="location.href='../contents/csv.php?tpl_subno_csv=customer'"><!--{t string="tpl_255"}--></a>
111    </div>
112    <!--{if count($arrData) > 0}-->
113
114    <!--{include file=$tpl_pager}-->
115
116    <!--検索結果表示テーブル-->
117    <table class="list" id="customer-search-result">
118        <col width="8%" />
119        <col width="10%" />
120        <col width="30%" />
121        <col width="8%" />
122        <col width="30%" />
123        <col width="7%" />
124        <col width="7%" />
125        <tr>
126            <th rowspan="2"><!--{t string="tpl_256"}--></th>
127            <th><!--{t string="tpl_207"}--></th>
128            <th rowspan="2"><!--{t string="tpl_208"}--></th>
129            <th rowspan="2"><!--{t string="tpl_215"}--></th>
130            <th><!--{t string="tpl_037"}--></th>
131            <th rowspan="2"><!--{t string="tpl_003"}--></th>
132            <th rowspan="2"><!--{t string="tpl_004"}--></th>
133        </tr>
134        <tr>
135            <th><!--{t string="tpl_258"}--></th>
136            <th><!--{t string="tpl_108"}--></th>
137        </tr>
138        <!--{foreach from=$arrData item=row}-->
139            <tr>
140                <td class="center" rowspan="2"><!--{if $row.status eq 1}--><!--{t string="tpl_260"}--><!--{else}--><!--{t string="tpl_261"}--><!--{/if}--></td>
141                <td><!--{$row.customer_id|h}--></td>
142                <td rowspan="2"><!--{$row.name01|h}--> <!--{$row.name02|h}--></td>
143                <td class="center" rowspan="2"><!--{$arrSex[$row.sex]|h}--></td>
144                <td><!--{$row.tel01|h}-->-<!--{$row.tel02|h}-->-<!--{$row.tel03|h}--></td>
145                <td class="center" rowspan="2"><span class="icon_edit"><a href="#" onclick="return fnEdit('<!--{$row.customer_id|h}-->');"><!--{t string="tpl_003"}--></a></span></td>
146                <td class="center" rowspan="2"><span class="icon_delete"><a href="#" onclick="return fnDelete('<!--{$row.customer_id|h}-->');"><!--{t string="tpl_004"}--></a></span></td>
147            </tr>
148            <tr>
149                <td><!--{assign var=pref value=$row.pref}--><!--{$arrPref[$pref]}--></td>
150                <td><!--{mailto address=$row.email encode="javascript"}--></a><!--{if $row.status eq 1}--><br /><a href="#" onclick="return fnReSendMail('<!--{$row.customer_id|h}-->');"><!--{t string="tpl_259"}--></a><!--{/if}--></td>
151            </tr>
152        <!--{/foreach}-->
153    </table>
154    <!--検索結果表示テーブル-->
155
156    <!--{/if}-->
157</form>
158<!--★★検索結果一覧★★-->
159
160<!--{/if}-->
161</div>
Note: See TracBrowser for help on using the repository browser.