source: branches/version-2_12-dev/data/Smarty/templates/admin/design/bloc.tpl @ 21866

Revision 21866, 5.1 KB checked in by h_yoshimoto, 12 years ago (diff)

#1831 Copyrightを更新を誤っているので戻します

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2011 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<form name="form_bloc" id="form_bloc" method="post" action="?" >
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27<input type="hidden" name="mode" value="" />
28<input type="hidden" name="bloc_id" value="<!--{$bloc_id|h}-->" />
29<input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
30
31    <div id="design" class="contents-main">
32        <!--{if $arrErr.err != ""}-->
33            <div class="message">
34                <span class="attention"><!--{$arrErr.err}--></span>
35            </div>
36        <!--{/if}-->
37
38        <!--{* ▼ブロック設定 *}-->
39        <table>
40            <tr>
41                <th>ブロック名</th>
42                <td>
43                    <!--{assign var=key value="bloc_name"}-->
44                    <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" />
45                    <span class="attention"> (上限<!--{$arrForm[$key].length}-->文字)</span>
46                    <!--{if $arrErr[$key] != ""}--> <div class="attention"><!--{$arrErr[$key]}--></div> <!--{/if}-->
47                </td>
48            </tr>
49            <tr>
50                <th>ファイル名</th>
51                <td>
52                    <!--{assign var=key value="filename"}-->
53                    <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" />.tpl
54                    <span class="attention"> (上限<!--{$arrForm[$key].length}-->文字)</span>
55                    <!--{if $arrErr[$key] != ""}--> <div class="attention"><!--{$arrErr[$key]}--></div> <!--{/if}-->
56                </td>
57            </tr>
58            <tr>
59                <td colspan="2">
60                    <!--{assign var=key value="bloc_html"}-->
61                    <textarea class="top" id="<!--{$key}-->" name="<!--{$key}-->" rows="<!--{$text_row}-->" style="width: 99%;"><!--{$arrForm[$key].value|smarty:nodefaults|h}--></textarea>
62                    <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" />
63                    <div>
64                        <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#bloc_html', 50, 13); return false;">拡大</a>
65                    </div>
66                </td>
67            </tr>
68        </table>
69        <div class="btn-area">
70            <ul>
71                <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnFormModeSubmit('form_bloc','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
72            </ul>
73        </div>
74        <!--{* ▲ブロック設定 *}-->
75
76        <!--{* ▼ブロック一覧 *}-->
77        <h2>編集可能ブロック</h2>
78        <div class="btn addnew">
79            <a class="btn-normal" href="?device_type_id=<!--{$device_type_id|h}-->"><span>ブロックを新規入力</span></a>
80        </div>
81        <table class="list">
82            <tr>
83                <th>名称</th>
84                <th class="edit">編集</th>
85                <th class="delete">削除</th>
86            </tr>
87            <!--{foreach key=key item=item from=$arrBlocList}-->
88                <tr style="background-color:<!--{if $item.bloc_id == $bloc_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
89                    <td><!--{$item.bloc_name}--></td>
90                    <td class="center">
91                        <a href="?bloc_id=<!--{$item.bloc_id|h}-->&amp;device_type_id=<!--{$device_type_id|h}-->" >編集</a>
92                    </td>
93                    <td class="center">
94                        <!--{if $item.deletable_flg == 1}-->
95                            <a href="javascript:;" onclick="fnFormModeSubmit('form_bloc','delete','bloc_id',<!--{$item.bloc_id|h}-->);">削除</a>
96                            <input type="hidden" value="<!--{$item.bloc_id|h}-->" name="del_id<!--{$item.bloc_id|h}-->" />
97                        <!--{/if}-->
98                    </td>
99                </tr>
100            <!--{/foreach}-->
101        </table>
102        <!--{* ▲ブロック一覧 *}-->
103    </div>
104</form>
Note: See TracBrowser for help on using the repository browser.