[17997] | 1 | <!--{* |
---|
[16044] | 2 | /* |
---|
[16582] | 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
[21867] | 5 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
---|
[16044] | 6 | * |
---|
| 7 | * http://www.lockon.co.jp/ |
---|
[16582] | 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. |
---|
[16044] | 22 | */ |
---|
| 23 | *}--> |
---|
[21539] | 24 | |
---|
[17351] | 25 | <div id="basis" class="contents-main"> |
---|
[20515] | 26 | <form name="form1" id="form1" method="post" action="?"> |
---|
| 27 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 28 | <input type="hidden" name="mode" value="show" /> |
---|
| 29 | <div id="basis-masterdata-select" class="btn"> |
---|
| 30 | <select name="master_data_name" id="master_data_name"> |
---|
| 31 | <!--{html_options output=$arrMasterDataName values=$arrMasterDataName selected=$masterDataName}--> |
---|
| 32 | </select> |
---|
[22121] | 33 | <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('form1', 'show', '', ''); return false;"><span><!--{t string="tpl_299"}--></span></a> |
---|
[20515] | 34 | </div> |
---|
| 35 | </form> |
---|
[16308] | 36 | |
---|
[20515] | 37 | <!--{if $smarty.post.mode == 'show'}--> |
---|
[16044] | 38 | |
---|
[20515] | 39 | <form name="form2" id="form2" method="post" action="?"> |
---|
| 40 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 41 | <input type="hidden" name="mode" value="edit" /> |
---|
| 42 | <input type="hidden" name="master_data_name" value="<!--{$masterDataName}-->" /> |
---|
| 43 | <p class="remark attention"> |
---|
[22230] | 44 | <!--{t string="tpl_671" escape="none"}--> |
---|
[20515] | 45 | </p> |
---|
| 46 | <!--{if $errorMessage != ""}--> |
---|
| 47 | <div class="message"> |
---|
| 48 | <span class="attention"><!--{$errorMessage}--></span> |
---|
| 49 | </div> |
---|
| 50 | <!--{/if}--> |
---|
[16308] | 51 | |
---|
[20515] | 52 | <table class="form"> |
---|
| 53 | <!--{foreach from=$arrMasterData item=val key=key}--> |
---|
| 54 | <tr> |
---|
[22330] | 55 | <th><!--{t string="tpl_804"}--><input type="text" name="id[]" value="<!--{$key|h}-->" size="6" /></th> |
---|
[22121] | 56 | <td><!--{t string="tpl_672"}--><input type="text" name="name[]" value="<!--{$val|h}-->" style="" size="60" class="box60" /></td> |
---|
[20515] | 57 | </tr> |
---|
| 58 | <!--{/foreach}--> |
---|
| 59 | </table> |
---|
[16310] | 60 | |
---|
[22121] | 61 | <h2><!--{t string="tpl_673"}--></h2> |
---|
[20515] | 62 | <table class="form"> |
---|
| 63 | <tr> |
---|
[22330] | 64 | <th><!--{t string="tpl_804"}--><input type="text" name="id[]" size="6" /></th> |
---|
[22121] | 65 | <td><!--{t string="tpl_672"}--><input type="text" name="name[]" style="" size="60" class="box60" /></td> |
---|
[20515] | 66 | </tr> |
---|
| 67 | </table> |
---|
| 68 | <div class="btn-area"> |
---|
| 69 | <ul> |
---|
[22121] | 70 | <li><a class="btn-action" href="javascript:;" onclick="document.form2.submit(); return false;"><span class="btn-next"><!--{t string="tpl_021"}--></span></a></li> |
---|
[20515] | 71 | </ul> |
---|
| 72 | </div> |
---|
[16248] | 73 | |
---|
[20515] | 74 | </form> |
---|
| 75 | <!--{/if}--> |
---|
[16310] | 76 | |
---|
[17351] | 77 | </div> |
---|