| 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 | <tr> |
---|
| 117 | <!--{* 左ナビテーブルここから *}--> |
---|
| 118 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_LEFT]}-->" class="ui-sortable"> |
---|
| 119 | <!--{assign var="firstflg" value=false}--> |
---|
| 120 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 121 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_LEFT]}--> |
---|
| 122 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 123 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 124 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 125 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 126 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 127 | <!--{$item.name}--> |
---|
| 128 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 129 | </div> |
---|
| 130 | <!--{assign var="firstflg" value=true}--> |
---|
| 131 | <!--{/if}--> |
---|
| 132 | <!--{/foreach}--> |
---|
| 133 | </td> |
---|
| 134 | <!--{* 左ナビテーブルここまで *}--> |
---|
| 135 | <!--{* メイン上部テーブルここから *}--> |
---|
| 136 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> |
---|
| 137 | <!--{assign var="firstflg" value=false}--> |
---|
| 138 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 139 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> |
---|
| 140 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 141 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 142 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 143 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 144 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 145 | <!--{$item.name}--> |
---|
| 146 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 147 | </div> |
---|
| 148 | <!--{assign var="firstflg" value=true}--> |
---|
| 149 | <!--{/if}--> |
---|
| 150 | <!--{/foreach}--> |
---|
| 151 | </td> |
---|
| 152 | <!--{* メイン上部テーブルここまで *}--> |
---|
| 153 | <!--{* 右ナビここから *}--> |
---|
| 154 | <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_RIGHT]}-->" class="ui-sortable"> |
---|
| 155 | <!--{assign var="firstflg" value=false}--> |
---|
| 156 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 157 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_RIGHT]}--> |
---|
| 158 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 159 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 160 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 161 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 162 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 163 | <!--{$item.name}--> |
---|
| 164 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 165 | </div> |
---|
| 166 | <!--{assign var="firstflg" value=true}--> |
---|
| 167 | <!--{/if}--> |
---|
| 168 | <!--{/foreach}--> |
---|
| 169 | </td> |
---|
| 170 | <!--{* 右ナビここまで *}--> |
---|
| 171 | </tr> |
---|
| 172 | <!--{* メインここから *}--> |
---|
| 173 | <tr> |
---|
| 174 | <th id="layout-main">メイン</td> |
---|
| 175 | </tr> |
---|
| 176 | <!--{* メインここまで *}--> |
---|
| 177 | <!--{* メイン下部ここから *}--> |
---|
| 178 | <tr> |
---|
| 179 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> |
---|
| 180 | <!--{assign var="firstflg" value=false}--> |
---|
| 181 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 182 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> |
---|
| 183 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 184 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 185 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 186 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 187 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 188 | <!--{$item.name}--> |
---|
| 189 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 190 | </div> |
---|
| 191 | <!--{assign var="firstflg" value=true}--> |
---|
| 192 | <!--{/if}--> |
---|
| 193 | <!--{/foreach}--> |
---|
| 194 | </td> |
---|
| 195 | </tr> |
---|
| 196 | <tr> |
---|
| 197 | <!--{* メイン下部ここまで *}--> |
---|
| 198 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
| 199 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_BOTTOM]}-->" class="ui-sortable"> |
---|
| 200 | <!--{assign var="firstflg" value=false}--> |
---|
| 201 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 202 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_BOTTOM]}--> |
---|
| 203 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 204 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 205 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 206 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 207 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 208 | <!--{$item.name}--> |
---|
| 209 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 210 | </div> |
---|
| 211 | <!--{assign var="firstflg" value=true}--> |
---|
| 212 | <!--{/if}--> |
---|
| 213 | <!--{/foreach}--> |
---|
| 214 | </td> |
---|
| 215 | <!-- ★☆★ 下部ナビテーブル ☆★☆ --> |
---|
| 216 | </tr> |
---|
| 217 | <tr> |
---|
| 218 | <th colspan="3" id="layout-footer">フッター部</td> |
---|
| 219 | </tr> |
---|
| 220 | <tr> |
---|
| 221 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
| 222 | <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}-->" class="ui-sortable"> |
---|
| 223 | <!--{assign var="firstflg" value=false}--> |
---|
| 224 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 225 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}--> |
---|
| 226 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 227 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 228 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 229 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 230 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 231 | <!--{$item.name}--> |
---|
| 232 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 233 | </div> |
---|
| 234 | <!--{assign var="firstflg" value=true}--> |
---|
| 235 | <!--{/if}--> |
---|
| 236 | <!--{/foreach}--> |
---|
| 237 | </td> |
---|
| 238 | <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ --> |
---|
| 239 | </tr> |
---|
| 240 | </table> |
---|
| 241 | <div class="btn"> |
---|
| 242 | <a class='button' href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','confirm','','');"><span>登録する</span></a> |
---|
| 243 | <a class='button' href="javascript:;" name='preview' onclick="doPreview();"<!--{if $page_id == "0" or $exists_page == "0" }--> DISABLED<!--{/if}-->><span>プレビュー</span></a> |
---|
| 244 | </div> |
---|
| 245 | </div> |
---|
| 246 | <!--{* ▲レイアウトここまで *}--> |
---|
| 247 | |
---|
| 248 | <!--{* ▼未使用ブロックここから *}--> |
---|
| 249 | <div style="float: left; width: 25%;" align="center"> |
---|
| 250 | <table id="design-layout-unused" class="design-layout"> |
---|
| 251 | <tr> |
---|
| 252 | <th>未使用ブロック</th> |
---|
| 253 | </tr> |
---|
| 254 | <tr> |
---|
| 255 | <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_UNUSED]}-->" class="ui-sortable" style="width: 145px;"> |
---|
| 256 | <!--{assign var="firstflg" value=false}--> |
---|
| 257 | <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> |
---|
| 258 | <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_UNUSED]}--> |
---|
| 259 | <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> |
---|
| 260 | <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> |
---|
| 261 | <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> |
---|
| 262 | <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> |
---|
| 263 | <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> |
---|
| 264 | <!--{$item.name}--> |
---|
| 265 | <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label> |
---|
| 266 | </div> |
---|
| 267 | <!--{assign var="firstflg" value=true}--> |
---|
| 268 | <!--{/if}--> |
---|
| 269 | <!--{/foreach}--> |
---|
| 270 | </td> |
---|
| 271 | </tr> |
---|
| 272 | </table> |
---|
| 273 | <div class="btn"><a class='button' href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_bloc','','');"><span>ブロックを新規入力</span></a></div> |
---|
| 274 | </div> |
---|
| 275 | <!--{* ▲未使用ブロックここまで *}--> |
---|
| 276 | <!--▲レイアウト編集 ここまで--> |
---|
| 277 | |
---|
| 278 | <!--▼ページ一覧 ここから--> |
---|
| 279 | <h2 style="clear: both;">編集可能ページ一覧</h2> |
---|
| 280 | <div class="btn addnew"> |
---|
| 281 | <a class='button' href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','','');"><span>ページを新規入力</span></a> |
---|
| 282 | </div> |
---|
| 283 | <table class="list center"> |
---|
| 284 | <tr> |
---|
| 285 | <th>名称</th> |
---|
| 286 | <th><strong>レイアウト</strong></th> |
---|
| 287 | <th>ページ詳細</th> |
---|
| 288 | <th>削除</th> |
---|
| 289 | </tr> |
---|
| 290 | <!--{foreach key=key item=item from=$arrEditPage}--> |
---|
| 291 | <tr style="background-color:<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"> |
---|
| 292 | <td> |
---|
| 293 | <!--{$item.page_name}--> |
---|
| 294 | </td> |
---|
| 295 | <td> |
---|
| 296 | <a href="?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->" >編集</a> |
---|
| 297 | </td> |
---|
| 298 | <td> |
---|
| 299 | <!--{if $item.filename|strlen >= 1}--> |
---|
| 300 | <a href="main_edit.php?page_id=<!--{$item.page_id}-->&device_type_id=<!--{$item.device_type_id}-->">編集</a> |
---|
| 301 | <!--{/if}--> |
---|
| 302 | </td> |
---|
| 303 | <td> |
---|
| 304 | <!--{if $item.edit_flg == 1}--> |
---|
| 305 | <a href="?" onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','','');">削除</a> |
---|
| 306 | <!--{/if}--> |
---|
| 307 | </td> |
---|
| 308 | </tr> |
---|
| 309 | <!--{/foreach}--> |
---|
| 310 | </table> |
---|
| 311 | <!--▲ページ一覧 ここまで--> |
---|
| 312 | </div> |
---|
| 313 | </form> |
---|