source: branches/version-2_13-dev/data/Smarty/templates/admin/design/css.tpl @ 22572

Revision 22572, 4.6 KB checked in by Qwert, 8 years ago (diff)

#2153 (各種テンプレート修正)

管理画面のデザイン管理・システム設定・オーナーズストアの直せそうな範囲を修正。管理画面のonClickをonclickに修正。

  • 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-2013 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_css" 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="area_row" value="<!--{$area_row|h}-->" />
29<input type="hidden" name="old_css_name" value="<!--{$old_css_name|h}-->" />
30<input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
31<div id="design" class="contents-main">
32
33    <!--{if $arrErr.err != ""}-->
34        <div class="message">
35            <span class="attention"><!--{$arrErr.err}--></span>
36        </div>
37    <!--{/if}-->
38
39    <!--▼CSS設定ここから-->
40    <table class="form">
41        <tr>
42            <th>CSSファイル名</th>
43            <td>
44                <!--{assign var=key value="css_name"}-->
45                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" />.css
46                <span class="attention"> (上限<!--{$arrForm[$key].length}-->文字)</span>
47                <!--{if $arrErr[$key] != ""}--> <div class="attention"><!--{$arrErr[$key]}--></div> <!--{/if}-->
48            </td>
49        </tr>
50        <tr>
51            <th>CSS内容</th>
52            <td>
53                <!--{assign var=key value="css_data"}-->
54                <textarea id="css" class="top" name="<!--{$key}-->" cols="90" rows="<!--{$area_row}-->" align="left" style="width: 650px;"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea>
55                <input type="hidden" name="area_row" value="<!--{$area_row}-->" />
56                <div class="btn">
57                    <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#css', 50, 30); return false;">拡大</a>
58                </div>
59            </td>
60        </tr>
61    </table>
62    <div class="btn-area">
63        <ul>
64            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form_css','confirm','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
65        </ul>
66    </div>
67    <!--▲CSS設定 ここまで-->
68
69    <!--▼CSSファイル一覧 ここから-->
70    <h2>編集可能CSSファイル</h2>
71    <div class="btn addnew">
72        <a class="btn-normal" href="?device_type_id=<!--{$device_type_id|h}-->"><span>CSSを新規入力</span></a>
73    </div>
74    <table class="list" id="design-css-list">
75        <tr>
76            <th class="name">ファイル名</th>
77            <th class="menu edit">編集</th>
78            <th class="action delete">削除</th>
79        </tr>
80        <!--{if count($arrCSSList) > 0}-->
81        <!--{foreach key=key item=item from=$arrCSSList}-->
82        <tr>
83            <td style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"><!--{$item.file_name|h}--></td>
84            <td class="center" style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
85                <a href="?css_name=<!--{$item.css_name|h}-->&amp;device_type_id=<!--{$device_type_id|h}-->">編集</a>
86            </td>
87            <td class="center" style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
88                <a href="javascript:;" onclick="fnFormModeSubmit('form_css','delete','css_name','<!--{$item.css_name|h}-->'); return false;">削除</a>
89            </td>
90        </tr>
91        <!--{/foreach}-->
92        <!--{else}-->
93        <tr>
94            <td colspan="3">CSSファイルが存在しません。</td>
95        </tr>
96        <!--{/if}-->
97    </table>
98    <!--▲CSSファイル一覧 ここまで-->
99
100</div>
101</form>
Note: See TracBrowser for help on using the repository browser.