source: trunk/data/Smarty/templates/default/admin/system/masterdata.tpl @ 18758

Revision 18758, 7.7 KB checked in by kajiwara, 14 years ago (diff)

EC-CUBE Ver2.4.4 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=223

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
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<!--★★メインコンテンツ★★-->
25<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26    <tr valign="top">
27        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
28            <!--▼SUB NAVI-->
29            <!--{include file=$tpl_subnavi}-->
30            <!--▲SUB NAVI-->
31        </td>
32        <td class="mainbg">
33            <!--▼登録テーブルここから-->
34            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
35                <!--メインエリア-->
36                <tr>
37                    <td align="center">
38                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
39                            <tr><td height="14"></td></tr>
40                            <tr>
41                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
42                            </tr>
43                            <tr>
44                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
45                                <td bgcolor="#cccccc">
46                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
47                                    <tr>
48                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
49                                    </tr>
50                                    <tr>
51                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
52                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->マスタデータ管理</span></td>
53                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
54                                    </tr>
55                                    <tr>
56                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
57                                    </tr>
58                                    <tr>
59                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
60                                    </tr>
61                                </table>
62                               
63                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
64                                <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
65                                <input type="hidden" name="mode" value="show">
66                                  <tr>
67                                    <td bgcolor="#f2f1ec" width="180" class="fs12n" colspan="2">
68                                      <select name="master_data_name" id="master_data_name">
69                                      <!--{html_options output=$arrMasterDataName values=$arrMasterDataName selected=$masterDataName}-->
70                                      </select>
71                                      <input type="submit" value="選択">
72                                    </td>
73                                  </tr>
74                                </form>
75
76
77                                <!--{if $smarty.post.mode == 'show'}-->
78                           
79                                <form name="form2" id="form2" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
80                                <input type="hidden" name="mode" value="edit">
81                                <input type="hidden" name="master_data_name" value="<!--{$masterDataName}-->">
82                                  <tr class="fs12n">
83                                    <td bgcolor="#f2f1ec" align="center" colspan="2"><strong>マスタデータ編集</strong></td>
84                                  </tr>
85                                  <tr class="fs12n">
86                                    <td bgcolor="#ffffff" align="left" colspan="2">
87                                      <ul class="red">
88                                        <li>マスタデータの値を設定できます。</li>
89                                        <li>重複したIDを登録することはできません。</li>
90                                        <li>空のIDを登録すると、値は削除されます。</li>
91                                        <li>設定値によってはサイトが機能しなくなる場合もありますので、十分ご注意下さい。</li>
92                                      </ul>
93                                    </td>
94                                  </tr>
95
96                                  <!--{if $errorMessage != ""}-->
97                                  <tr class="fs12n">
98                                    <td bgcolor="#ffffff" align="left" colspan="2">
99                                      <span class="red"><!--{$errorMessage}--></span>
100                                    </td>
101                                  </tr>
102                                  <!--{/if}-->
103                               
104                                  <!--{foreach from=$arrMasterData item=val key=key}-->
105                                  <tr class="fs12n">
106                                    <td bgcolor="#ffffff" align="left">
107                                    ID:<input type="text" name="id[]" value="<!--{$key|escape}-->" size="6">
108                                    </td>
109                                    <td bgcolor="#ffffff" align="left">
110                                    値:<input type="text" name="name[]" value="<!--{$val|escape}-->" style="" size="60"
111                                            class="box60" />
112                                    </td>
113                                  </tr>
114                                  <!--{/foreach}-->
115                                  <tr class="fs12n">
116                                    <td bgcolor="#f2f1ec" align="center" colspan="2">追加のデータ</td>
117                                  </tr>
118                                  <tr class="fs12n">
119                                    <td bgcolor="#ffffff" align="left">
120                                    ID:<input type="text" name="id[]" size="6">
121                                    </td>
122                                    <td bgcolor="#ffffff" align="left">
123                                    値:<input type="text" name="name[]" style="" size="60"
124                                            class="box60" />
125                                    </td>
126                                  </tr>
127                                </form>
128                                </table>
129
130                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
131                                    <tr>
132                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
133                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
134                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
135                                    </tr>
136                                    <tr>
137                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
138                                        <td bgcolor="#e9e7de" align="center">
139                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
140                                            <tr>
141                                                <td>
142                                                    <input onClick="return document.form2.submit()" type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" >
143                                                </td>
144                                            </tr>
145                                        </table>
146
147                                        </td>
148                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
149                                    </tr>
150                                    <tr>
151                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
152                                    </tr>
153                                <!--{/if}-->
154                                </table>
155
156                                </td>
157                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
158                            </tr>
159                            <tr>
160                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
161                            </tr>
162                            <tr><td height="30"></td></tr>
163                        </table>
164                    </td>
165                </tr>
166                <!--メインエリア-->
167            </table>
168            <!--▲登録テーブルここまで-->
169        </td>
170    </tr>
171</form>
172</table>
173<!--★★メインコンテンツ★★-->
Note: See TracBrowser for help on using the repository browser.