source: branches/version-2_12-multilang/data/Smarty/templates/admin/design/css.tpl @ 22424

Revision 22424, 4.9 KB checked in by adachi, 8 years ago (diff)

#2060 メッセージIDの振り直し:tpl_251 - tpl304

  • 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-2012 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><!--{t string="tpl_CSS file name_01"}--></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"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$arrForm[$key].length}--></span>
47                <!--{if $arrErr[$key] != ""}--> <div class="attention"><!--{$arrErr[$key]}--></div> <!--{/if}-->
48            </td>
49        </tr>
50        <tr>
51            <th><!--{t string="tpl_CSS contents_01"}--></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;"><!--{t string="tpl_Enlarge the image_01"}--></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"><!--{t string="tpl_Save and continue_01"}--></span></a></li>
65        </ul>
66    </div>
67    <!--▲CSS設定 ここまで-->
68
69    <!--▼CSSファイル一覧 ここから-->
70    <h2><!--{t string="tpl_CSS file that can be edited_01"}--></h2>
71    <div class="btn addnew">
72        <a class="btn-normal" href="?device_type_id=<!--{$device_type_id|h}-->"><span><!--{t string="tpl_New CSS_01"}--></span></a>
73    </div>
74    <table class="list" id="design-css-list">
75        <tr>
76            <th class="name"><!--{t string="tpl_File name_01"}--></th>
77            <th class="menu edit"><!--{t string="tpl_Edit_01"}--></th>
78            <th class="action delete"><!--{t string="tpl_Remove_01"}--></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}-->"><!--{t string="tpl_Edit_01"}--></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;"><!--{t string="tpl_Remove_01"}--></a>
89            </td>
90        </tr>
91        <!--{/foreach}-->
92        <!--{else}-->
93        <tr>
94            <td colspan="3"><!--{t string="tpl_The CSS file does not exist._01"}--></td>
95        </tr>
96        <!--{/if}-->
97    </table>
98    <!--▲CSSファイル一覧 ここまで-->
99
100</div>
101</form>
Note: See TracBrowser for help on using the repository browser.