source: branches/comu-ver2/data/Smarty/templates/default/admin/design/up_down.tpl @ 17351

Revision 17351, 3.1 KB checked in by pineray, 16 years ago (diff)
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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"><!--
25function confirmSubmit(mode, msg) {
26  var form = document.form1;
27  form['mode'].value = mode;
28  if (window.confirm(msg)) {
29    form.submit();
30  } else {
31    form['mode'].value = '';
32  }
33}
34//-->
35</script>
36
37<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
38<input type="hidden" name="mode" value="" />
39<input type="hidden" name="uniqid" value="<!--{$uniqid}-->" />
40<div id="disign" class="contents-main">
41  <h2>アップロード</h2>
42  <p>
43    テンプレートパッケージのアップロードを行います。<br />
44    アップロードしたパッケージは、「テンプレート設定」で選択できるようになります。
45  </p>
46  <table>
47    <!--{assign var=key value="template_code"}-->
48    <tr>
49      <th>テンプレートコード</td>
50      <td>
51        <span class="attention"><!--{$arrErr[$key]}--></span>
52        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54">
53      </td>
54    </tr>
55    <!--{assign var=key value="template_name"}-->
56    <tr>
57      <th>テンプレート名</td>
58      <td>
59        <span class="attention"><!--{$arrErr[$key]}--></span>
60        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54">
61      </td>
62    </tr>
63    <!--{assign var=key value="template_file"}-->
64    <tr>
65      <th>テンプレートファイル<br/>
66        <span class="attention"><span class="fs14n">※ファイル形式は.tar/.tar.gzのみ</span></span>
67      </td>
68      <td>
69        <span class="attention"><!--{$arrErr[$key]}--></span>
70        <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr[$key]}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
71      </td>
72    </tr>
73  </table>
74  <div class="btn">
75    <button type="submit" onClick="fnModeSubmit('upload', '', '');return false;"><span>アップロード</span></button>
76  </div>
77</div>
78</form>
Note: See TracBrowser for help on using the repository browser.