source: branches/feature-module-update/data/Smarty/templates/default/admin/basis/mail.tpl @ 16582

Revision 16582, 8.6 KB checked in by nanasess, 16 years ago (diff)

ライセンス表記変更

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 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 language="JavaScript">
25<!--
26var flag = 0;
27
28function setFlag(){
29    flag = 1;
30}
31function checkFlagAndSubmit(){
32    if ( flag == 1 ){
33        if( confirm('内容が変更されています。続行すれば変更内容は破棄されます。\n宜しいでしょうか?' )){
34            fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
35        } else {
36            return false;
37        }
38    } else {
39        fnSetvalAndSubmit( 'form1', 'mode', 'id_set' );
40    }
41}
42
43//-->
44</script>
45
46<!--★★メインコンテンツ★★-->
47<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
48<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
49<input type="hidden" name="mode" value="regist">
50    <tr valign="top">
51        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
52            <!--▼SUB NAVI-->
53            <!--{include file=$tpl_subnavi}-->
54            <!--▲SUB NAVI-->
55        </td>
56        <td class="mainbg">
57            <!--▼登録テーブルここから-->
58            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
59                <!--メインエリア-->
60                <tr>
61                    <td align="center">
62                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
63                            <tr><td height="14"></td></tr>
64                            <tr>
65                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
66                            </tr>
67                            <tr>
68                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
69                                <td bgcolor="#cccccc">
70                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
71                                    <tr>
72                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
73                                    </tr>
74                                    <tr>
75                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
76                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->メール設定</span></td>
77                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
78                                    </tr>
79                                    <tr>
80                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
81                                    </tr>
82                                    <tr>
83                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
84                                    </tr>
85                                </table>
86
87                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
88                                    <tr>
89                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">テンプレート<span class="red"> *</span></td>
90                                        <td bgcolor="#ffffff" width="557" class="fs10n">
91                                        <!--{assign var=key value="template_id"}-->
92                                        <span class="red12"><!--{$arrErr[$key]}--></span>
93                                        <select name="template_id" onChange="return checkFlagAndSubmit();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
94                                        <option value="" selected="selected">選択してください</option>
95                                        <!--{html_options options=$arrMailTEMPLATE selected=$arrForm[$key]}-->
96                                        </select>
97                                        </td>
98                                    </tr>
99                                    <tr>
100                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メールタイトル<span class="red"> *</span></td>
101                                        <td bgcolor="#ffffff" width="557" class="fs10n">
102                                        <!--{assign var=key value="subject"}-->
103                                        <span class="red12"><!--{$arrErr[$key]}--></span>
104                                        <input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
105                                        </td>
106                                    </tr>
107                                    <tr>
108                                        <td bgcolor="#f2f1ec" width="160" class="fs12">ヘッダー</td>
109                                        <td bgcolor="#ffffff" width="557" class="fs10">
110                                        <!--{assign var=key value="header"}-->
111                                        <span class="red12"><!--{$arrErr[$key]}--></span>
112                                        <textarea name="header" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
113                                        <span class="red"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)
114                                        </span>
115                       
116                                        <div align="right">
117                                            <input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','header','cnt_header');" border="0" name="next" id="next" />
118                                            <br>今までに入力したのは
119                                            <input type="text" name="cnt_header" size="4" class="box4" readonly = true style="text-align:right">
120                                            文字です。
121                                        </div>
122                       
123                                        </td>
124                                    </tr>
125                       
126                                    <tr class="fs12n">
127                                        <td bgcolor="#ffffff" colspan="2" align="center" height="40">動的データ挿入部分</td>
128                                    </tr>
129                                    <tr>
130                                        <td bgcolor="#f2f1ec" width="160" class="fs12">フッター</td>
131                                        <td bgcolor="#ffffff" width="557" class="fs10">
132                                        <!--{assign var=key value="footer"}-->
133                                        <span class="red12"><!--{$arrErr[$key]}--></span>
134                                        <textarea name="footer" cols="75" rows="12" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
135                                        <span class="red"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span>
136                                        <div align="right">
137                                            <input type="button" width="110" height="30" value="文字数カウント" onclick="fnCharCount('form1','footer','cnt_footer');" border="0" name="next" id="next" />
138                                            <br>今までに入力したのは
139                                            <input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right">
140                                            文字です。
141                                        </div>
142                                        </td>
143                                    </tr>
144                                </table>
145
146                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
147                                    <tr>
148                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
149                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
150                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
151                                    </tr>
152                                    <tr>
153                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
154                                        <td bgcolor="#e9e7de" align="center">
155                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
156                                            <tr>
157                                                <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" ></td>
158                                            </tr>
159                                        </table>
160                                        </td>
161                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
162                                    </tr>
163                                    <tr>
164                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
165                                    </tr>
166                                </table>
167                                </td>
168                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
169                            </tr>
170                            <tr>
171                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
172                            </tr>
173                            <tr><td height="30"></td></tr>
174                        </table>
175                    </td>
176                </tr>
177                <!--メインエリア-->
178            </table>
179            <!--▲登録テーブルここまで-->
180        </td>
181    </tr>
182</form>
183</table>
184<!--★★メインコンテンツ★★-->
185
Note: See TracBrowser for help on using the repository browser.