Changeset 19761 for branches/version-2_5-dev/data
- Timestamp:
- 2010/12/25 16:40:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/admin/design/bloc.tpl
r19737 r19761 27 27 <input type="hidden" name="device_type_id" value="<!--{$device_type_id|escape}-->" /> 28 28 29 <!--{* ▼ブロック設定ここから*}-->29 <!--{* ▼ブロック設定 *}--> 30 30 31 <!--{if $arrBlocData.tpl_path != '' and $preview == on}-->32 <h3>プレビュー:</h3>33 <div id="design-bloc-preview">34 <!--{include file=$arrBlocData.tpl_path}-->35 </div>36 <!--{/if}-->31 <!--{if $arrBlocData.tpl_path != '' and $preview == on}--> 32 <h3>プレビュー:</h3> 33 <div id="design-bloc-preview"> 34 <!--{include file=$arrBlocData.tpl_path}--> 35 </div> 36 <!--{/if}--> 37 37 38 <table>39 <tr>40 <th>ブロック名</th>41 <td>42 <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="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>43 <!--{ if $arrErr.bloc_name != "" }--> <div align="center"> <span class="attention"><!--{$arrErr.bloc_name}--></span></div> <!--{/if}-->44 </td>45 </tr>46 <tr>47 <th>ファイル名</th>48 <td><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="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>49 <!--{ if $arrErr.filename != "" }--> <div align="center"> <span class="attention"><!--{$arrErr.filename}--></span></div> <!--{/if}-->50 </td>51 </tr>52 <tr>53 <td colspan="2">54 <textarea name="bloc_html" rows="<!--{$text_row}-->" style="width: 100%;"><!--{$arrBlocData.tpl_data|smarty:nodefaults}--></textarea>55 <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" />56 <div>57 <button type="button" onClick="ChangeSize(this, bloc_html, 50, 13, html_area_row)">拡大</button>58 </div>59 </td>60 </tr>38 <table> 39 <tr> 40 <th>ブロック名</th> 41 <td> 42 <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="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> 43 <!--{ if $arrErr.bloc_name != "" }--> <div align="center"> <span class="attention"><!--{$arrErr.bloc_name}--></span></div> <!--{/if}--> 44 </td> 45 </tr> 46 <tr> 47 <th>ファイル名</th> 48 <td><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="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> 49 <!--{ if $arrErr.filename != "" }--> <div align="center"> <span class="attention"><!--{$arrErr.filename}--></span></div> <!--{/if}--> 50 </td> 51 </tr> 52 <tr> 53 <td colspan="2"> 54 <textarea name="bloc_html" rows="<!--{$text_row}-->" style="width: 100%;"><!--{$arrBlocData.tpl_data|smarty:nodefaults}--></textarea> 55 <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" /> 56 <div> 57 <button type="button" onClick="ChangeSize(this, bloc_html, 50, 13, html_area_row)">拡大</button> 58 </div> 59 </td> 60 </tr> 61 61 </table> 62 <div class="btn">63 <button type='button' name='subm' onclick="fnFormModeSubmit('form_bloc','confirm','','');"><span>登録する</span></button>64 <button type='button' name='preview' onclick="fnFormModeSubmit('form_bloc','preview','','');"><span>プレビュー</span></button>65 </div>66 <!--{* ▲ブロック設定ここまで*}-->62 <div class="btn"> 63 <button type='button' name='subm' onclick="fnFormModeSubmit('form_bloc','confirm','','');"><span>登録する</span></button> 64 <button type='button' name='preview' onclick="fnFormModeSubmit('form_bloc','preview','','');"><span>プレビュー</span></button> 65 </div> 66 <!--{* ▲ブロック設定 *}--> 67 67 68 <!--{* ▼ブロック一覧ここから*}-->69 <h2>編集可能ブロック</h2>70 <div class="btn addnew">71 <button type='button' name='subm' onclick="location.href='http://<!--{$smarty.server.HTTP_HOST}--><!--{$smarty.server.PHP_SELF|escape}-->'"><span>ブロックを新規入力</span></button>72 </div>73 <table class="list center">74 <tr>75 <th>名称</th><th>編集</th><th>削除</th>76 </tr>77 <!--{foreach key=key item=item from=$arrBlocList}-->78 <tr style="background-color:<!--{if $item.bloc_id == $bloc_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">79 <td><!--{$item.bloc_name}--></td>80 <td>81 <a href="<!--{$smarty.server.PHP_SELF|escape}-->?bloc_id=<!--{$item.bloc_id}-->&device_type_id=<!--{$device_type_id}-->" >編集</a>82 </td>83 <td>84 <!--{if $item.del_flg == 0}-->85 <a href="javascript:;" onclick="fnFormModeSubmit('form_bloc','delete','bloc_id',this.name.substr(3));">削除</a>86 <input type="hidden" value="<!--{$item.bloc_id}-->" name="del_id<!--{$item.bloc_id}-->" />87 <!--{/if}-->88 </td>89 </tr>90 <!--{/foreach}-->91 </table>92 <!--{* ▲ブロック一覧ここまで*}-->68 <!--{* ▼ブロック一覧 *}--> 69 <h2>編集可能ブロック</h2> 70 <div class="btn addnew"> 71 <button type='button' name='subm' onclick="location.href='http://<!--{$smarty.server.HTTP_HOST}--><!--{$smarty.server.PHP_SELF|escape}-->'"><span>ブロックを新規入力</span></button> 72 </div> 73 <table class="list center"> 74 <tr> 75 <th>名称</th><th>編集</th><th>削除</th> 76 </tr> 77 <!--{foreach key=key item=item from=$arrBlocList}--> 78 <tr style="background-color:<!--{if $item.bloc_id == $bloc_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"> 79 <td><!--{$item.bloc_name}--></td> 80 <td> 81 <a href="<!--{$smarty.server.PHP_SELF|escape}-->?bloc_id=<!--{$item.bloc_id}-->&device_type_id=<!--{$device_type_id}-->" >編集</a> 82 </td> 83 <td> 84 <!--{if $item.deletable_flg == 1}--> 85 <a href="javascript:;" onclick="fnFormModeSubmit('form_bloc','delete','bloc_id',this.name.substr(3));">削除</a> 86 <input type="hidden" value="<!--{$item.bloc_id}-->" name="del_id<!--{$item.bloc_id}-->" /> 87 <!--{/if}--> 88 </td> 89 </tr> 90 <!--{/foreach}--> 91 </table> 92 <!--{* ▲ブロック一覧 *}--> 93 93 94 </form> 94 </form>
Note: See TracChangeset
for help on using the changeset viewer.
