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

Revision 20512, 3.3 KB checked in by Seasoft, 11 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<script type="text/javascript">
25<!--
26function winSubmitMail(URL,formName,Winname,Wwidth,Wheight){
27    var WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");
28    document.forms[formName].target = Winname;
29    document.forms[formName].submit();
30    WIN.focus();
31}
32//-->
33</script>
34<form name="form1" id="form1" method="post" action="?">
35<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
36<input type="hidden" name="mode" value="template">
37<input type="hidden" name="subject" value="<!--{$arrForm.subject.value|h}-->">
38<input type="hidden" name="body" value="<!--{$arrForm.body.value|h}-->">
39<input type="hidden" name="mail_method" value="<!--{$arrForm.mail_method.value|h}-->">
40<input type="hidden" name="template_id" value="<!--{$arrForm.template_id.value|h}-->">
41<!--{foreach key=key item=item from=$arrHidden}-->
42    <!--{if is_array($item)}-->
43        <!--{foreach item=c_item from=$item}-->
44            <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" />
45        <!--{/foreach}-->
46    <!--{else}-->
47        <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
48    <!--{/if}-->
49<!--{/foreach}-->
50<div id="mail" class="contents-main">
51    <table class="form">
52        <tr>
53            <th>Subject<span class="attention"> *</span></th>
54            <td><!--{$arrForm.subject.value|h}--></td>
55        </tr>
56        <!--{if $arrForm.mail_method.value ne 2}-->
57            <tr>
58                <td colspan="2"><a href="javascript:;" onClick="winSubmitMail('','form2','preview',650,700); return false;">HTMLで確認</a></td>
59            </tr>
60        <!--{/if}-->
61        <tr>
62            <th>本文<span class="attention"> *</span><br />(名前差し込み時は {name} といれてください)</th>
63            <td><!--{$arrForm.body.value|h|nl2br}--></td>
64        </tr>
65    </table>
66
67    <div class="btn-area">
68        <ul>
69            <li><a class="btn-action" href="javascript:;" name="subm02" onclick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_back', '' ); return false;"><span class="btn-prev">テンプレート設定画面へ戻る</span></a></li>
70            <li><a class="btn-action" href="javascript:;" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' ); return false;"><span class="btn-next">配信する</span></a></li>
71        </ul>
72    </div>
73</div>
74</form>
Note: See TracBrowser for help on using the repository browser.