source: branches/version-2_5-dev/data/Smarty/templates/admin/design/upload.tpl @ 19965

Revision 19965, 3.0 KB checked in by uemoto, 13 years ago (diff)

#382(管理画面XHTMLに変更)

  • 細部調整
  • Property svn:eol-style set to LF
  • 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-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<form name="form1" method="post" action="?" enctype="multipart/form-data">
25<input type="hidden" name="mode" value="upload" />
26<div id="disign" class="contents-main">
27  <h2><!--{$template_name}--></h2>
28  <table>
29    <!--{assign var=key value="template_code"}-->
30    <tr>
31      <th>テンプレートコード</th>
32      <td>
33        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
34        <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
35      </td>
36    </tr>
37    <!--{assign var=key value="template_name"}-->
38    <tr>
39      <th>テンプレート名</th>
40      <td>
41        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
42        <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
43      </td>
44    </tr>
45    <!--{assign var=key value="template_file"}-->
46    <tr>
47      <th>テンプレートファイル<br /><span class="attention">※ファイル形式は.tar/.tar.gzのみ</span></th>
48      <td>
49        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
50        <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr.template_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> />
51      </td>
52    </tr>
53  </table>
54
55<div class="btn-area">
56<a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a>
57</div>
58
59</div>
60</form>
61
62<script type="text/javascript">
63function ChangeImage(strUrl)
64{
65  document.main_img.src=strUrl;
66}
67
68// モードとキーを指定してSUBMITを行う。
69function lfnModeSubmit(mode) {
70  if(!window.confirm('登録しても宜しいですか?')){
71    return false;
72  }
73  document.form1['mode'].value = mode;
74  return true;
75}
76
77
78</script>
Note: See TracBrowser for help on using the repository browser.