1 | <script type="text/javascript"> |
---|
2 | |
---|
3 | function doPreview(){ |
---|
4 | document.form1.mode.value="preview" |
---|
5 | document.form1.target = "_blank"; |
---|
6 | document.form1.submit(); |
---|
7 | } |
---|
8 | function fnTargetSelf(){ |
---|
9 | document.form1.target = "_self"; |
---|
10 | } |
---|
11 | |
---|
12 | </script> |
---|
13 | |
---|
14 | <script type="text/javascript" src="<!--{$smarty.const.URL_PATH}-->js/ui.core.js"></script> |
---|
15 | <script type="text/javascript" src="<!--{$smarty.const.URL_PATH}-->js/ui.sortable.js"></script> |
---|
16 | <script type="text/javascript" src="<!--{$TPL_DIR}-->js/layout_design.js"></script> |
---|
17 | |
---|
18 | |
---|
19 | <form name="form1" id="form1" method="post" action="?"> |
---|
20 | <input type="hidden" name="mode" value="" /> |
---|
21 | <input type="hidden" name="page_id" value="<!--{$page_id}-->" /> |
---|
22 | <input type="hidden" name="bloc_cnt" value="<!--{$bloc_cnt}-->" /> |
---|
23 | <input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" /> |
---|
24 | |
---|
25 | <div id="design" class="contents-main"> |
---|
26 | <!--{* ▼レイアウトここから *}--> |
---|
27 | <div style="float: left; width: 75%;" align="center"> |
---|
28 | <table id="design-layout-used" class="design-layout"> |
---|
29 | <tr> |
---|
30 | <th colspan="3"><head></td> |
---|
31 | </tr> |
---|
32 | <tr> |
---|
33 | <!-- ★☆★ HEADタグ内テーブル ☆★☆ --> |
---|
34 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEAD]}-->" class="ui-sortable"> |
---|
35 | <!--{assign var="firstflg" value=false}--> |
---|
36 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
37 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD]}--> |
---|
38 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
39 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
40 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
41 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
42 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
43 | <!--{$item.name}--> |
---|
44 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
45 | </div> |
---|
46 | <!--{assign var="firstflg" value=true}--> |
---|
47 | <!--{/if}--> |
---|
48 | <!--{/foreach}--> |
---|
49 | </td> |
---|
50 | <!-- ★☆★ Headタグ内テーブル ☆★☆ --> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <th colspan="3"></head></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <!-- ★☆★ ヘッダより上部ナビテーブル ☆★☆ --> |
---|
57 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEADER_TOP]}-->" class="ui-sortable"> |
---|
58 | <!--{assign var="firstflg" value=false}--> |
---|
59 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
60 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD]}--> |
---|
61 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
62 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
63 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
64 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
65 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
66 | <!--{$item.name}--> |
---|
67 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
68 | </div> |
---|
69 | <!--{assign var="firstflg" value=true}--> |
---|
70 | <!--{/if}--> |
---|
71 | <!--{/foreach}--> |
---|
72 | </td> |
---|
73 | <!-- ★☆★ ヘッダより上部ナビテーブル ☆★☆ --> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <!-- ★☆★ ヘッダ内部ナビテーブル ☆★☆ --> |
---|
77 | <th id="layout-header">ヘッダー部</th> |
---|
78 | <td colspan="2" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}-->" class="ui-sortable"> |
---|
79 | <!--{assign var="firstflg" value=false}--> |
---|
80 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
81 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}--> |
---|
82 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
83 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
84 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
85 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
86 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
87 | <!--{$item.name}--> |
---|
88 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
89 | </div> |
---|
90 | <!--{assign var="firstflg" value=true}--> |
---|
91 | <!--{/if}--> |
---|
92 | <!--{/foreach}--> |
---|
93 | </td> |
---|
94 | <!-- ★☆★ ヘッダ内部ナビテーブル ☆★☆ --> |
---|
95 | </tr> |
---|
96 | <tr> |
---|
97 | <!-- ★☆★ 上部ナビテーブル ☆★☆ --> |
---|
98 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_TOP]}-->" class="ui-sortable"> |
---|
99 | <!--{assign var="firstflg" value=false}--> |
---|
100 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
101 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_TOP]}--> |
---|
102 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
103 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
104 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
105 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
106 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
107 | <!--{$item.name}--> |
---|
108 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
109 | </div> |
---|
110 | <!--{assign var="firstflg" value=true}--> |
---|
111 | <!--{/if}--> |
---|
112 | <!--{/foreach}--> |
---|
113 | </td> |
---|
114 | <!-- ★☆★ 上部ナビテーブル ☆★☆ --> |
---|
115 | </tr> |
---|
116 | |
---|
117 | <!--{if $device_type_id == $smarty.const.DEVICE_TYPE_MOBILE || $device_type_id == $smarty.const.DEVICE_TYPE_SMARTPHONE}--> |
---|
118 | <!--{* メイン上部テーブルここから *}--> |
---|
119 | <tr> |
---|
120 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> |
---|
121 | <!--{assign var="firstflg" value=false}--> |
---|
122 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
123 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> |
---|
124 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
125 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
126 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
127 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
128 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
129 | <!--{$item.name}--> |
---|
130 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
131 | </div> |
---|
132 | <!--{assign var="firstflg" value=true}--> |
---|
133 | <!--{/if}--> |
---|
134 | <!--{/foreach}--> |
---|
135 | </td> |
---|
136 | </tr> |
---|
137 | <!--{* メイン上部テーブルここまで *}--> |
---|
138 | <!--{* メインここから *}--> |
---|
139 | <tr> |
---|
140 | <th colspan="3" id="layout-main">メイン</td> |
---|
141 | </tr> |
---|
142 | <!--{* メインここまで *}--> |
---|
143 | <!--{* メイン下部ここから *}--> |
---|
144 | <tr> |
---|
145 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> |
---|
146 | <!--{assign var="firstflg" value=false}--> |
---|
147 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
148 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> |
---|
149 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
150 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
151 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
152 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
153 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
154 | <!--{$item.name}--> |
---|
155 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
156 | </div> |
---|
157 | <!--{assign var="firstflg" value=true}--> |
---|
158 | <!--{/if}--> |
---|
159 | <!--{/foreach}--> |
---|
160 | </td> |
---|
161 | </tr> |
---|
162 | <!--{else}--> |
---|
163 | <tr> |
---|
164 | <!--{* 左ナビテーブルここから *}--> |
---|
165 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_LEFT]}-->" class="ui-sortable"> |
---|
166 | <!--{assign var="firstflg" value=false}--> |
---|
167 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
168 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_LEFT]}--> |
---|
169 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
170 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
171 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
172 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
173 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
174 | <!--{$item.name}--> |
---|
175 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
176 | </div> |
---|
177 | <!--{assign var="firstflg" value=true}--> |
---|
178 | <!--{/if}--> |
---|
179 | <!--{/foreach}--> |
---|
180 | </td> |
---|
181 | <!--{* 左ナビテーブルここまで *}--> |
---|
182 | <!--{* メイン上部テーブルここから *}--> |
---|
183 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> |
---|
184 | <!--{assign var="firstflg" value=false}--> |
---|
185 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
186 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> |
---|
187 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
188 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
189 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
190 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
191 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
192 | <!--{$item.name}--> |
---|
193 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
194 | </div> |
---|
195 | <!--{assign var="firstflg" value=true}--> |
---|
196 | <!--{/if}--> |
---|
197 | <!--{/foreach}--> |
---|
198 | </td> |
---|
199 | <!--{* メイン上部テーブルここまで *}--> |
---|
200 | <!--{* 右ナビここから *}--> |
---|
201 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_RIGHT]}-->" class="ui-sortable"> |
---|
202 | <!--{assign var="firstflg" value=false}--> |
---|
203 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
204 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_RIGHT]}--> |
---|
205 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
206 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
207 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
208 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
209 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
210 | <!--{$item.name}--> |
---|
211 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
212 | </div> |
---|
213 | <!--{assign var="firstflg" value=true}--> |
---|
214 | <!--{/if}--> |
---|
215 | <!--{/foreach}--> |
---|
216 | </td> |
---|
217 | <!--{* 右ナビここまで *}--> |
---|
218 | </tr> |
---|
219 | <!--{* メインここから *}--> |
---|
220 | <tr> |
---|
221 | <th id="layout-main">メイン</td> |
---|
222 | </tr> |
---|
223 | <!--{* メインここまで *}--> |
---|
224 | <!--{* メイン下部ここから *}--> |
---|
225 | <tr> |
---|
226 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> |
---|
227 | <!--{assign var="firstflg" value=false}--> |
---|
228 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
229 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> |
---|
230 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
231 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
232 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
233 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
234 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
235 | <!--{$item.name}--> |
---|
236 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
237 | </div> |
---|
238 | <!--{assign var="firstflg" value=true}--> |
---|
239 | <!--{/if}--> |
---|
240 | <!--{/foreach}--> |
---|
241 | </td> |
---|
242 | </tr> |
---|
243 | <!--{/if}--> |
---|
244 | <tr> |
---|
245 | <!--{* メイン下部ここまで *}--> |
---|
246 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
247 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_BOTTOM]}-->" class="ui-sortable"> |
---|
248 | <!--{assign var="firstflg" value=false}--> |
---|
249 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
250 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_BOTTOM]}--> |
---|
251 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
252 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
253 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
254 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
255 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
256 | <!--{$item.name}--> |
---|
257 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
258 | </div> |
---|
259 | <!--{assign var="firstflg" value=true}--> |
---|
260 | <!--{/if}--> |
---|
261 | <!--{/foreach}--> |
---|
262 | </td> |
---|
263 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
264 | </tr> |
---|
265 | <tr> |
---|
266 | <th colspan="3" id="layout-footer">フッター部</td> |
---|
267 | </tr> |
---|
268 | <tr> |
---|
269 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
270 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}-->" class="ui-sortable"> |
---|
271 | <!--{assign var="firstflg" value=false}--> |
---|
272 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
273 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}--> |
---|
274 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
275 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
276 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
277 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
278 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
279 | <!--{$item.name}--> |
---|
280 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
281 | </div> |
---|
282 | <!--{assign var="firstflg" value=true}--> |
---|
283 | <!--{/if}--> |
---|
284 | <!--{/foreach}--> |
---|
285 | </td> |
---|
286 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
287 | </tr> |
---|
288 | </table> |
---|
289 | <div class="btn"> |
---|
290 | <a class='button' href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','confirm','','');"><span>登録する</span></a> |
---|
291 | <a class='button' href="javascript:;" name='preview' onclick="doPreview();"<!--{if $page_id == "0" or $exists_page == "0" }--> DISABLED<!--{/if}-->><span>プレビュー</span></a> |
---|
292 | </div> |
---|
293 | </div> |
---|
294 | <!--{* ▲レイアウトここまで *}--> |
---|
295 | |
---|
296 | <!--{* ▼未使用ブロックここから *}--> |
---|
297 | <div style="float: left; width: 25%;" align="center"> |
---|
298 | <table id="design-layout-unused" class="design-layout"> |
---|
299 | <tr> |
---|
300 | <th>未使用ブロック</th> |
---|
301 | </tr> |
---|
302 | <tr> |
---|
303 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_UNUSED]}-->" class="ui-sortable" style="width: 145px;"> |
---|
304 | <!--{assign var="firstflg" value=false}--> |
---|
305 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
306 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_UNUSED]}--> |
---|
307 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
308 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
309 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
310 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
311 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
312 | <!--{$item.name}--> |
---|
313 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
314 | </div> |
---|
315 | <!--{assign var="firstflg" value=true}--> |
---|
316 | <!--{/if}--> |
---|
317 | <!--{/foreach}--> |
---|
318 | </td> |
---|
319 | </tr> |
---|
320 | </table> |
---|
321 | <div class="btn"><a class='button' href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_bloc','','');"><span>ブロックを新規入力</span></a></div> |
---|
322 | </div> |
---|
323 | <!--{* ▲未使用ブロックここまで *}--> |
---|
324 | <!--▲レイアウト編集 ここまで--> |
---|
325 | |
---|
326 | <!--▼ページ一覧 ここから--> |
---|
327 | <h2 style="clear: both;">編集可能ページ一覧</h2> |
---|
328 | <div class="btn addnew"> |
---|
329 | <a class='button' href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','','');"><span>ページを新規入力</span></a> |
---|
330 | </div> |
---|
331 | <table class="list center"> |
---|
332 | <tr> |
---|
333 | <th>名称</th> |
---|
334 | <th><strong>レイアウト</strong></th> |
---|
335 | <th>ページ詳細</th> |
---|
336 | <th>削除</th> |
---|
337 | </tr> |
---|
338 | <!--{foreach key=key item=item from=$arrEditPage}--> |
---|
339 | <tr style="background-color:<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"> |
---|
340 | <td> |
---|
341 | <!--{$item.page_name}--> |
---|
342 | </td> |
---|
343 | <td> |
---|
344 | <a href="?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->" >編集</a> |
---|
345 | </td> |
---|
346 | <td> |
---|
347 | <!--{if $item.filename|strlen >= 1}--> |
---|
348 | <a href="main_edit.php?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->">編集</a> |
---|
349 | <!--{/if}--> |
---|
350 | </td> |
---|
351 | <td> |
---|
352 | <!--{if $item.edit_flg == 1}--> |
---|
353 | <a href="?" onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','','');">削除</a> |
---|
354 | <!--{/if}--> |
---|
355 | </td> |
---|
356 | </tr> |
---|
357 | <!--{/foreach}--> |
---|
358 | </table> |
---|
359 | <!--▲ページ一覧 ここまで--> |
---|
360 | </div> |
---|
361 | </form> |
---|