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

Revision 22954, 3.8 KB checked in by Seasoft, 8 years ago (diff)

#2059 (HTML構文誤り for 2.13.0)

  • 閉じ漏れ

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • インデント
  • wordwrap の引数

#2140 (標準テンプレートのカスタマイズ性を高める)

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