source: branches/version-2_5-dev/data/Smarty/templates/admin/mail/input.tpl @ 20512

Revision 20512, 3.8 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • 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-2010 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<form name="form1" id="form1" method="post" action="?">
25<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
26<!--{foreach key=key item=item from=$arrHidden}-->
27    <!--{if is_array($item)}-->
28        <!--{foreach item=c_item from=$item}-->
29            <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" />
30        <!--{/foreach}-->
31    <!--{else}-->
32        <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
33    <!--{/if}-->
34<!--{/foreach}-->
35<input type="hidden" name="mode" value="template" />
36<input type="hidden" name="mail_method" value="<!--{$arrForm.mail_method.value}-->" />
37<div id="mail" class="contents-main">
38    <table class="form">
39        <tr>
40            <th>テンプレート選択<span class="attention"> *</span></th>
41            <td>
42                <!--{assign var=key value="template_id"}-->
43                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
44                <select name="<!--{$key}-->" onchange="return fnInsertValAndSubmit( document.form1, 'mode', 'template', '' ) " style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
45                <option value="" selected="selected">選択してください</option>
46                <!--{html_options options=$arrTemplate selected=$arrForm[$key].value}-->
47                </select>
48            </td>
49        </tr>
50    </table>
51
52    <!--{if $arrForm.template_id.value}-->
53    <table class="form">
54        <tr>
55            <th>Subject<span class="attention"> *</span></th>
56            <td>
57                <!--{assign var=key value="subject"}-->
58                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
59                <input type="text" name="subject" size="65" class="box65" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value|h}-->" />
60            </td>
61        </tr>
62        <tr>
63            <th>本文<span class="attention"> *</span><br />(名前差し込み時は {name} といれてください)</th>
64            <td>
65                <!--{assign var=key value="body"}-->
66                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
67                <textarea name="body" cols="90" rows="40" class="area90" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key].value|h}--></textarea>
68            </td>
69        </tr>
70    </table>
71    <!--{/if}-->
72
73    <div class="btn-area">
74        <ul>
75            <li><a class="btn-action" href="javascript:;" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'back', '' ); return false;"><span class="btn-prev">検索画面に戻る</span></a></li>
76            <li><a class="btn-action" href="javascript:;" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_confirm', '' ); return false;" ><span class="btn-next">確認ページへ</span></a></li>
77        </ul>
78    </div>
79</div>
80</form>
Note: See TracBrowser for help on using the repository browser.