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

Revision 20512, 3.3 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • 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
RevLine 
[17997]1<!--{*
[17605]2/*
3 * This file is part of EC-CUBE
4 *
[18700]5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
[17605]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) {
[20512]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    }
[17605]33}
34//-->
35</script>
36
37<form name="form1" method="post" action="?" enctype="multipart/form-data">
[20407]38<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
[17605]39<input type="hidden" name="mode" value="" />
[19785]40<input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
[17605]41<div id="disign" class="contents-main">
[20512]42    <p class="remark">
43        テンプレートパッケージのアップロードを行います。<br />
44        アップロードしたパッケージは、「テンプレート設定」で選択できるようになります。
45    </p>
46    <table>
47        <!--{assign var=key value="template_code"}-->
48        <tr>
49            <th>テンプレートコード</th>
50            <td>
51                <span class="attention"><!--{$arrErr[$key]}--></span>
52                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54">
53            </td>
54        </tr>
55        <!--{assign var=key value="template_name"}-->
56        <tr>
57            <th>テンプレート名</th>
58            <td>
59                <span class="attention"><!--{$arrErr[$key]}--></span>
60                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" 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            </th>
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|h}-->"<!--{/if}-->>
71            </td>
72        </tr>
73    </table>
74    <div class="btn-area">
75        <a class="btn-action" href="javascript:;" onclick="fnModeSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a>
76    </div>
[17605]77</div>
78</form>
Note: See TracBrowser for help on using the repository browser.