1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2007 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 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
34 | <!--メインエリア--> |
---|
35 | <tr> |
---|
36 | <td align="center"> |
---|
37 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
38 | |
---|
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 | |
---|
47 | <!--登録テーブルここから--> |
---|
48 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
49 | <tr> |
---|
50 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <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> |
---|
54 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->ブロック編集</span></td> |
---|
55 | <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> |
---|
56 | </tr> |
---|
57 | <tr> |
---|
58 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> |
---|
62 | </tr> |
---|
63 | </table> |
---|
64 | |
---|
65 | <!--▼ブロック編集 ここから--> |
---|
66 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> |
---|
67 | <tr class="fs12n"> |
---|
68 | <td bgcolor="#f2f1ec" align="center"><strong>ブロック編集</strong></td> |
---|
69 | </tr> |
---|
70 | <!--{if $arrBlocData.tpl_path != '' and $preview == on}--> |
---|
71 | <tr class="fs12n"> |
---|
72 | <td bgcolor="#eeeeee" align="left"><strong>プレビュー:</strong></td> |
---|
73 | </tr> |
---|
74 | <tr class="fs12n"> |
---|
75 | <td bgcolor="#ffffff" align="center" valign="middle"> |
---|
76 | <!--{include file=$arrBlocData.tpl_path}--> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | <!--{/if}--> |
---|
80 | |
---|
81 | <form name="form_bloc" id="form_bloc" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" > |
---|
82 | <input type="hidden" name="mode" value=""> |
---|
83 | <input type="hidden" name="bloc_id" value="<!--{$bloc_id}-->"> |
---|
84 | |
---|
85 | <tr class="fs12n"> |
---|
86 | <td bgcolor="#ffffff" align="left"> |
---|
87 | <!--{ if $arrErr.bloc_name != "" }--> <div align="center"> <span class="red12"><!--{$arrErr.bloc_name}--></span></div> <!--{/if}--> |
---|
88 | ブロック名:<input type="text" name="bloc_name" value="<!--{$arrBlocData.bloc_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.bloc_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
89 | </td> |
---|
90 | </tr> |
---|
91 | <tr class="fs12n"> |
---|
92 | <td bgcolor="#ffffff" align="left"> |
---|
93 | <!--{ if $arrErr.filename != "" }--> <div align="center"> <span class="red12"><!--{$arrErr.filename}--></span></div> <!--{/if}--> |
---|
94 | ファイル名:<input type="text" name="filename" value="<!--{$arrBlocData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.filename != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" />.tpl<span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
95 | </td> |
---|
96 | </tr> |
---|
97 | |
---|
98 | <tr class="fs12n"> |
---|
99 | <td bgcolor="#ffffff" align="center"> |
---|
100 | <br/> |
---|
101 | <div> |
---|
102 | <textarea name="bloc_html" cols=75 rows=<!--{$text_row}--> align="left" wrap=off style="width: 650px;"><!--{$arrBlocData.tpl_data|smarty:nodefaults}--></textarea> |
---|
103 | <input type="hidden" name="html_area_row" value="<!--{$text_row}-->"> |
---|
104 | </div> |
---|
105 | <div align="right"> |
---|
106 | <input type="button" value=<!--{if $text_row > 13}-->"小さくする"<!--{else}-->"大きくする"<!--{/if}--> onClick="ChangeSize(this, bloc_html, 50, 13, html_area_row)"> |
---|
107 | </div> |
---|
108 | <br/> |
---|
109 | </td> |
---|
110 | </tr> |
---|
111 | <tr class="fs12n"> |
---|
112 | <td bgcolor="#f2f1ec" align="center"> |
---|
113 | <input type='button' value='登録' name='subm' onclick="fnFormModeSubmit('form_bloc','confirm','','');" /> |
---|
114 | <input type='button' value='プレビュー' name='preview' onclick="fnFormModeSubmit('form_bloc','preview','','');" /> |
---|
115 | </td> |
---|
116 | </tr> |
---|
117 | </table> |
---|
118 | <!--▲ブロック編集 ここまで--> |
---|
119 | |
---|
120 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> |
---|
121 | <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> |
---|
122 | </table> |
---|
123 | |
---|
124 | <!--▼ブロック一覧 ここから--> |
---|
125 | <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" "> |
---|
126 | <tr class="fs12n"> |
---|
127 | <td bgcolor="#f2f1ec" align="center" colspan=2 ><strong>編集可能ブロック</strong></td> |
---|
128 | </tr> |
---|
129 | |
---|
130 | <!--{foreach key=key item=item from=$arrBlocList}--> |
---|
131 | <tr class="fs12n" height=20> |
---|
132 | <td align="center" width=600 bgcolor="<!--{if $item.bloc_id == $bloc_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->"> |
---|
133 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->?bloc_id=<!--{$item.bloc_id}-->" ><!--{$item.bloc_name}--></a> |
---|
134 | </td> |
---|
135 | <td align="center" width=140 bgcolor="<!--{if $item.bloc_id == $bloc_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->"> |
---|
136 | <!--{if $item.del_flg == 0}--> |
---|
137 | <input type="button" value="削除" name="del<!--{$item.bloc_id}-->" onclick="fnFormModeSubmit('form_bloc','delete','bloc_id',this.name.substr(3));" /> |
---|
138 | <input type="hidden" value="<!--{$item.bloc_id}-->" name="del_id<!--{$item.bloc_id}-->"> |
---|
139 | <!--{/if}--> |
---|
140 | </td> |
---|
141 | </tr> |
---|
142 | <!--{/foreach}--> |
---|
143 | |
---|
144 | <tr class="fs12n"> |
---|
145 | <td bgcolor="#f2f1ec" align="center" colspan=2> |
---|
146 | <input type='button' value='新規ブロック作成' name='subm' onclick="location.href='http://<!--{$smarty.server.HTTP_HOST}--><!--{$smarty.server.PHP_SELF|escape}-->'"> |
---|
147 | </td> |
---|
148 | </tr> |
---|
149 | </table> |
---|
150 | <!--▲ブロック一覧 ここまで--> |
---|
151 | |
---|
152 | </td> |
---|
153 | <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> |
---|
154 | </tr> |
---|
155 | <tr> |
---|
156 | <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td> |
---|
157 | </tr> |
---|
158 | <tr><td height="30"></td></tr> |
---|
159 | |
---|
160 | </table> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | <!--メインエリア--> |
---|
164 | </table> |
---|
165 | </td> |
---|
166 | </tr> |
---|
167 | </form> |
---|
168 | </table> |
---|
169 | <!--★★メインコンテンツ★★--> |
---|
170 | |
---|