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