source: branches/version-2_12-multilang/data/Smarty/templates/admin/basis/mail.tpl @ 22230

Revision 22230, 4.9 KB checked in by Seasoft, 11 years ago (diff)

#1988 (国際化テンプレート:エスケープ処理)
以下 msgid のテンプレートでのエスケープを解除。
tpl_002_1, tpl_009_1, tpl_014_1, tpl_016_1, tpl_022_1, tpl_024_1, tpl_027, tpl_030_1, tpl_033_1, tpl_035, tpl_037_1, tpl_040, tpl_041, tpl_042, tpl_043, tpl_049, tpl_050, tpl_062_1, tpl_063, tpl_065, tpl_066, tpl_075, tpl_080_1, tpl_082, tpl_086, tpl_088, tpl_104, tpl_105, tpl_107, tpl_108_1, tpl_109_1, tpl_116, tpl_117, tpl_118, tpl_119, tpl_120, tpl_126, tpl_158_1, tpl_189_1, tpl_192_1, tpl_207_1, tpl_208_1, tpl_209_1, tpl_210_1, tpl_214_1, tpl_215_1, tpl_218_1, tpl_221_1, tpl_224_1, tpl_226_1, tpl_230, tpl_298, tpl_304, tpl_311_1, tpl_331, tpl_333_1, tpl_352_1, tpl_403, tpl_442, tpl_465, tpl_492_1, tpl_493_1, tpl_498_1, tpl_499_1, tpl_500, tpl_507, tpl_509, tpl_532, tpl_533, tpl_555_1, tpl_557_1, tpl_559_1, tpl_566_1, tpl_580, tpl_585, tpl_586, tpl_601, tpl_603, tpl_604, tpl_605, tpl_611, tpl_639, tpl_645, tpl_647, tpl_648_1, tpl_671, tpl_674, tpl_705, tpl_706, tpl_709, tpl_710, tpl_711, tpl_712, tpl_717, tpl_732, tpl_733, tpl_751, tpl_759, tpl_762, tpl_763, tpl_768, tpl_769, tpl_778, tpl_780, tpl_781, tpl_782, tpl_786

  • 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<!--
27var flag = 0;
28
29function setFlag(){
30    flag = 1;
31}
32function checkFlagAndSubmit(){
33    if ( flag == 1 ){
34        if( confirm('<!--{t string="tpl_064"}-->') ){
35            fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
36        } else {
37            return false;
38        }
39    } else {
40        fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
41    }
42}
43
44//-->
45</script>
46
47
48<form name="form1" id="form1" method="post" action="?">
49<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
50<input type="hidden" name="mode" value="regist" />
51<div id="basis" class="contents-main">
52    <table>
53        <tr>
54            <th><!--{t string="tpl_065" escape="none"}--></th>
55            <td>
56            <!--{assign var=key value="template_id"}-->
57            <!--{if $arrErr[$key]}-->
58            <span class="attention"><!--{$arrErr[$key]}--></span>
59            <!--{/if}-->
60            <select name="template_id" onChange="return checkFlagAndSubmit();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
61            <option value="" selected="selected"><!--{t string="tpl_068"}--></option>
62            <!--{html_options options=$arrMailTEMPLATE selected=$arrForm[$key]}-->
63            </select>
64            </td>
65        </tr>
66        <tr>
67            <th><!--{t string="tpl_066" escape="none"}--></th>
68            <td>
69            <!--{assign var=key value="subject"}-->
70            <!--{if $arrErr[$key]}-->
71            <span class="attention"><!--{$arrErr[$key]}--></span>
72            <!--{/if}-->
73            <input type="text" name="subject" value="<!--{$arrForm[$key]|h}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
74            </td>
75        </tr>
76        <tr>
77            <th><!--{t string="tpl_067"}--></th>
78            <td>
79            <!--{assign var=key value="header"}-->
80            <!--{if $arrErr[$key]}-->
81            <span class="attention"><!--{$arrErr[$key]}--></span>
82            <!--{/if}-->
83            <textarea name="header" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key]|h}--></textarea><br />
84            <span class="attention"> <!--{t string="tpl_023" T_FIELD=$smarty.const.LTEXT_LEN}-->
85            </span>
86            <div>
87                <a class="btn-normal" href="javascript:;" onclick="fnCharCount('form1','header','cnt_header'); return false;"><span><!--{t string="tpl_072"}--></span></a>
88                <!--{t string="tpl_358"}-->
89                <input type="text" name="cnt_header" size="4" class="box4" readonly = true style="text-align:right" />
90            </div>
91            </td>
92        </tr>
93        <tr>
94            <th colspan="2" align="center"><!--{t string="tpl_069"}--></th>
95        </tr>
96        <tr>
97            <th><!--{t string="tpl_070"}--></th>
98            <td>
99            <!--{assign var=key value="footer"}-->
100            <!--{if $arrErr[$key]}-->
101            <span class="attention"><!--{$arrErr[$key]}--></span>
102            <!--{/if}-->
103            <textarea name="footer" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key]|h}--></textarea><br />
104            <span class="attention"> <!--{t string="tpl_023" T_FIELD=$smarty.const.LTEXT_LEN}--></span>
105            <div>
106                <a class="btn-normal" href="javascript:;" onclick="fnCharCount('form1','footer','cnt_footer'); return false;"><span><!--{t string="tpl_072"}--></span></a>
107                <!--{t string="tpl_358"}-->
108                <input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right" />
109            </div>
110            </td>
111        </tr>
112    </table>
113
114    <div class="btn-area">
115        <ul>
116            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'regist', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_021"}--></span></a></li>
117        </ul>
118    </div>
119</div>
120</form>
Note: See TracBrowser for help on using the repository browser.