source: branches/version-2_11-dev/data/Smarty/templates/admin/mail/index.tpl @ 21345

Revision 21345, 5.1 KB checked in by Seasoft, 12 years ago (diff)

#1558 (<col> で全列の幅を%で指定しているが、合計値が100%でない)

  • 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-2011 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<div id="mail" class="contents-main">
25<form name="search_form" id="search_form" method="post" action="?">
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27<input type="hidden" name="mode" value="search" />
28    <h2>配信先検索条件設定</h2>
29
30    <!--{* 検索条件設定テーブルここから *}-->
31    <table>
32        <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`/adminparts/form_customer_search.tpl"}-->
33        <tr>
34            <th>配信形式</th>
35            <td colspan="3">
36                <!--{assign var=key value="search_htmlmail"}-->
37                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
38                <!--{html_radios name=$key options=$arrHtmlmail separator="&nbsp;" selected=$arrForm[$key].value}-->
39            </td>
40        </tr>
41        <tr>
42            <th>配信メールアドレス種別</th>
43            <td colspan="3">
44                <!--{assign var=key value="search_mail_type"}-->
45                <!--{html_radios name=$key options=$arrMailType separator="<br />" selected=$arrForm[$key].value|default:1}-->
46            </td>
47        </tr>
48    </table>
49    <!--{* 検索条件設定テーブルここまで *}-->
50
51    <div class="btn">
52        <p class="page_rows">検索結果表示件数
53        <!--{assign var=key value="search_page_max"}-->
54        <select name="<!--{$key}-->">
55            <!--{html_options options=$arrPageRows selected=$arrForm[$key]}-->
56        </select> 件</p>
57        <div class="btn-area">
58            <ul>
59                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
60            </ul>
61        </div>
62    </div>
63</form>
64
65
66<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete' or $smarty.post.mode == 'back')}-->
67
68<form name="form1" id="form1" method="post" action="?">
69<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
70<input type="hidden" name="mode" value="" />
71<!--{foreach key=key item=item from=$arrHidden}-->
72<!--{if is_array($item)}-->
73    <!--{foreach item=c_item from=$item}-->
74        <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" />
75    <!--{/foreach}-->
76<!--{else}-->
77<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
78<!--{/if}-->
79<!--{/foreach}-->
80
81    <h2>検索結果一覧</h2>
82    <div class="btn">
83        <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
84        <!--{if $smarty.const.ADMIN_MODE == '1'}-->
85            <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果をすべて削除</span></a>
86        <!--{/if}-->
87        <!--{if $tpl_linemax > 0}-->
88            <a class="btn-normal" href="javascript:;" onclick="document.form1['mode'].value='input'; document.form1.submit(); return false;"><span>配信内容を設定する</span></a>
89        <!--{/if}-->
90    </div>
91    <!--{if count($arrResults) > 0}-->
92
93    <!--{include file=$tpl_pager}-->
94
95    <!--検索結果表示テーブル-->
96    <table class="list">
97    <col width="10%" />
98    <col width="25%" />
99    <col width="35%" />
100    <col width="15%" />
101    <col width="15%" />
102        <tr>
103            <th>顧客ID</th>
104            <th>名前</th>
105            <th>メールアドレス</th>
106            <th>希望配信</th>
107            <th>登録・更新日</th>
108        </tr>
109        <!--{section name=i loop=$arrResults}-->
110        <tr>
111            <td class="center"><!--{$arrResults[i].customer_id}--></td>
112            <td><!--{$arrResults[i].name01|h}--> <!--{$arrResults[i].name02|h}--></td>
113            <td><!--{$arrResults[i].email|h}--></td>
114            <!--{assign var="key" value="`$arrResults[i].mailmaga_flg`"}-->
115            <td class="center"><!--{$arrHtmlmail[$key]}--></td>
116            <td class="center"><!--{$arrResults[i].update_date|sfDispDBDate}--></td>
117        </tr>
118        <!--{/section}-->
119    </table>
120    <!--検索結果表示テーブル-->
121    <!--{/if}-->
122
123</form>
124
125<!--{/if}-->
126</div>
Note: See TracBrowser for help on using the repository browser.