| 1 | <!--{* |
|---|
| 2 | /* |
|---|
| 3 | * This file is part of EC-CUBE |
|---|
| 4 | * |
|---|
| 5 | * Copyright(c) 2000-2012 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 | <script type="text/javascript"><!-- |
|---|
| 26 | function confirmSubmit(mode, msg) { |
|---|
| 27 | var form = document.form1; |
|---|
| 28 | form['mode'].value = mode; |
|---|
| 29 | if (window.confirm(msg)) { |
|---|
| 30 | form.submit(); |
|---|
| 31 | } else { |
|---|
| 32 | form['mode'].value = ''; |
|---|
| 33 | } |
|---|
| 34 | } |
|---|
| 35 | //--> |
|---|
| 36 | </script> |
|---|
| 37 | |
|---|
| 38 | <form name="form1" method="post" action="?" enctype="multipart/form-data"> |
|---|
| 39 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
|---|
| 40 | <input type="hidden" name="mode" value="" /> |
|---|
| 41 | <input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" /> |
|---|
| 42 | <div id="disign" class="contents-main"> |
|---|
| 43 | <p class="remark"> |
|---|
| 44 | <!--{t string="tpl_The template package will be uploaded._01" escape="none"}--> |
|---|
| 45 | </p> |
|---|
| 46 | |
|---|
| 47 | <!--{if $arrErr.err != ""}--> |
|---|
| 48 | <div class="message"> |
|---|
| 49 | <span class="attention"><!--{$arrErr.err}--></span> |
|---|
| 50 | </div> |
|---|
| 51 | <!--{/if}--> |
|---|
| 52 | |
|---|
| 53 | <table> |
|---|
| 54 | <!--{assign var=key value="template_code"}--> |
|---|
| 55 | <tr> |
|---|
| 56 | <th><!--{t string="Template code"}--></th> |
|---|
| 57 | <td> |
|---|
| 58 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 59 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54"> |
|---|
| 60 | </td> |
|---|
| 61 | </tr> |
|---|
| 62 | <!--{assign var=key value="template_name"}--> |
|---|
| 63 | <tr> |
|---|
| 64 | <th><!--{t string="tpl_Template name_01"}--></th> |
|---|
| 65 | <td> |
|---|
| 66 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 67 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54"> |
|---|
| 68 | </td> |
|---|
| 69 | </tr> |
|---|
| 70 | <!--{assign var=key value="template_file"}--> |
|---|
| 71 | <tr> |
|---|
| 72 | <th><!--{t string="tpl_Template file_01"}--><br/> |
|---|
| 73 | <span class="attention"><span class="fs14n"><!--{t string="tpl_* .tar/.tar.gz only_01"}--></span></span> |
|---|
| 74 | </th> |
|---|
| 75 | <td> |
|---|
| 76 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 77 | <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}-->> |
|---|
| 78 | </td> |
|---|
| 79 | </tr> |
|---|
| 80 | </table> |
|---|
| 81 | <div class="btn-area"> |
|---|
| 82 | <a class="btn-action" href="javascript:;" onclick="fnModeSubmit('upload', '', '');return false;"><span class="btn-next"><!--{t string="tpl_Save and continue_01"}--></span></a> |
|---|
| 83 | </div> |
|---|
| 84 | </div> |
|---|
| 85 | </form> |
|---|