source: trunk/data/Smarty/templates/default/admin/design/upload.tpl @ 18758

Revision 18758, 7.0 KB checked in by kajiwara, 14 years ago (diff)

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223

  • 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-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<!--★★メインコンテンツ★★-->
25<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
27<input type="hidden" name="mode" value="upload">
28    <tr valign="top">
29        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
30            <!--▼SUB NAVI-->
31            <!--{include file=$tpl_subnavi}-->
32            <!--▲SUB NAVI-->
33        </td>
34        <td class="mainbg">
35            <!--▼アップロードテーブルここから-->
36            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
37                <!--メインエリア-->
38                <tr>
39                    <td align="center">
40                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
41                            <tr><td height="14"></td></tr>
42                            <tr>
43                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
44                            </tr>
45                            <tr>
46                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
47                                <td bgcolor="#cccccc">
48                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
49                                    <tr>
50                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
51                                    </tr>
52                                    <tr>
53                                        <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>
54                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル--><!--{$template_name}--></span></td>
55                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
56                                    </tr>
57                                    <tr>
58                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
59                                    </tr>
60                                    <tr>
61                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
62                                    </tr>
63                                </table>
64                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
65                                    <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
66                                </table>
67                               
68                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
69                                    <!--{assign var=key value="template_code"}-->
70                                    <tr class="fs12n">
71                                        <td bgcolor="#f2f1ec">テンプレートコード</td>
72                                        <td bgcolor="#ffffff"><span class="red"><!--{$arrErr[$key]}--></span><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54"></td>
73                                    </tr>
74                                    <!--{assign var=key value="template_name"}-->
75                                    <tr class="fs12n">
76                                        <td bgcolor="#f2f1ec">テンプレート名</td>
77                                        <td bgcolor="#ffffff"><span class="red"><!--{$arrErr[$key]}--></span><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54"></td>
78                                    </tr>
79                                    <!--{assign var=key value="template_file"}-->
80                                    <tr class="fs12n">
81                                        <td bgcolor="#f2f1ec">テンプレートファイル<br/><span class="red"><span class="fs14n">※ファイル形式は.tar/.tar.gzのみ</span></span></td>
82                                        <td bgcolor="#ffffff"><span class="red"><!--{$arrErr[$key]}--></span><input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr.template_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->></td>
83                                    </tr>
84                                </table>
85                               
86                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
87                                    <tr>
88                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
89                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
90                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
91                                    </tr>
92                                    <tr>
93                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
94                                        <td bgcolor="#e9e7de" align="center">
95                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
96                                            <tr>
97                                                <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_upload_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_upload.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_upload.jpg" width="123" height="24" alt="アップロード" border="0" name="subm"></td>
98                                            </tr>
99                                        </table>
100                                        </td>
101                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
102                                    </tr>
103                                    <tr>
104                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
105                                    </tr>
106                                </table>
107                                </td>
108                                </td>
109                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
110                            </tr>
111                            <tr>
112                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
113                            </tr>
114                            <tr><td height="30"></td></tr>
115                        </table>
116                    </td>
117                </tr>
118
119                <!--メインエリア-->
120            </table>
121            <!--▲登録テーブルここまで-->
122        </td>
123    </tr>
124</form>
125</table>
126<!--★★メインコンテンツ★★-->
127
128<script type="text/javascript">
129function ChangeImage(strUrl)
130{
131    document.main_img.src=strUrl;
132}
133
134// モードとキーを指定してSUBMITを行う。
135function lfnModeSubmit(mode) {
136    if(!window.confirm('登録しても宜しいですか?')){
137        return false;
138    }
139    document.form1['mode'].value = mode;
140    return true;
141}
142
143
144</script>
Note: See TracBrowser for help on using the repository browser.