source: branches/comu-ver2/data/Smarty/templates/default/admin/system/masterdata.tpl @ 18642

Revision 18642, 2.8 KB checked in by Seasoft, 14 years ago (diff)

merge r18523

  • 取得元: version-2_4

【取得元のログメッセージ】
merged r18474

  • 住所の文字長上限が統一されていない(#543)
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<div id="basis" class="contents-main">
25  <form name="form1" id="form1" method="post" action="?">
26  <input type="hidden" name="mode" value="show" />
27  <div id="basis-masterdata-select">
28    <select name="master_data_name" id="master_data_name">
29    <!--{html_options output=$arrMasterDataName values=$arrMasterDataName selected=$masterDataName}-->
30    </select>
31    <button type="submit"><span>選択</span></button>
32  </div>
33  </form>
34
35  <!--{if $smarty.post.mode == 'show'}-->
36
37  <form name="form2" id="form2" method="post" action="?">
38  <input type="hidden" name="mode" value="edit" />
39  <input type="hidden" name="master_data_name" value="<!--{$masterDataName}-->" />
40  <h2>マスタデータ編集</h2>
41  <ul class="attention">
42    <li>マスタデータの値を設定できます。</li>
43    <li>重複したIDを登録することはできません。</li>
44    <li>空のIDを登録すると、値は削除されます。</li>
45    <li>設定値によってはサイトが機能しなくなる場合もありますので、十分ご注意下さい。</li>
46  </ul>
47  <!--{if $errorMessage != ""}-->
48  <div class="message">
49    <span class="attention"><!--{$errorMessage}--></span>
50  </div>
51  <!--{/if}-->
52
53  <table class="form">
54    <!--{foreach from=$arrMasterData item=val key=key}-->
55    <tr>
56      <th>ID:<input type="text" name="id[]" value="<!--{$key|escape}-->" size="6" /></th>
57      <td>値:<input type="text" name="name[]" value="<!--{$val|escape}-->" style="" size="60" class="box60" /></td>
58    </tr>
59    <!--{/foreach}-->
60  </table>
61
62  <h2>追加のデータ</h2>
63  <table class="form">
64    <tr>
65      <th>ID:<input type="text" name="id[]" size="6" /></th>
66      <td>値:<input type="text" name="name[]" style="" size="60" class="box60" /></td>
67    </tr>
68  </table>
69  <div class="btn"><button type="submit" onClick="return document.form2.submit()"><span>この内容で登録する</span></button></div>
70
71  </form>
72  <!--{/if}-->
73
74</div>
Note: See TracBrowser for help on using the repository browser.