source: branches/feature-module-update/data/Smarty/templates/default/admin/design/css.tpl @ 16582

Revision 16582, 5.6 KB checked in by nanasess, 16 years ago (diff)

ライセンス表記変更

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 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<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26<form name="form_css" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" >
27<input type="hidden" name="mode" value="">
28<input type="hidden" name="area_row" value=<!--{$area_row}-->>
29    <tr valign="top">
30        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
31            <!--▼SUB NAVI-->
32            <!--{include file=$tpl_subnavi}-->
33            <!--▲SUB NAVI-->
34        </td>
35        <td class="mainbg">
36            <!--▼登録テーブルここから-->
37            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
38                <!--メインエリア-->
39                <tr>
40                    <td align="center">
41                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
42                            <tr><td height="14"></td></tr>
43                            <tr>
44                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
45                            </tr>
46                            <tr>
47                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
48                                <td bgcolor="#cccccc">
49                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
50                                    <tr>
51                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
52                                    </tr>
53                                    <tr>
54                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
55                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->CSS編集</span></td>
56                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
57                                    </tr>
58                                    <tr>
59                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
60                                    </tr>
61                                    <tr>
62                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
63                                    </tr>
64                                </table>
65                               
66                                <!--▼注意書き ここから-->
67                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
68                                    <tr class="fs12n">
69                                        <td bgcolor="#ffffff" align="left">
70                                            下のテキストエリアに独自のCSSを定義することができます。<br/>
71                                            ここで定義したものは全ページに反映されます。
72                                        </td>
73                                    </tr>
74                                </table>
75                                <!--▲注意書き ここまで-->
76
77                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
78                                    <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
79                                </table>
80
81                                <!--▼CSS編集 ここから-->
82                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
83                                    <tr class="fs12n">
84                                        <td bgcolor="#f2f1ec" align="center">
85                                            <textarea name="css" cols=90 rows=<!--{$area_row}--> align="left" wrap=off style="width: 650px;"><!--{$css_data}--></textarea>
86                                            <div align="right">
87                                            <input type="button" value="大きくする" onClick="ChangeSize(this, css, 50, 30, area_row)">
88                                            </div>
89                                        </td>
90                                    </tr>
91                                    <tr class="fs12n">
92                                        <td bgcolor="#f2f1ec" align="center">
93                                            <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" onclick="fnFormModeSubmit('form_css','confirm','','');" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" >
94                                        </td>
95                                    </tr>
96                                </table>
97                                <!--▲CSS編集 ここまで-->
98                                </td>
99                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
100                            </tr>
101                            <tr>
102                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
103                            </tr>
104                            <tr><td height="30"></td></tr>
105                        </table>
106                    </td>
107                </tr>
108                <!--メインエリア-->
109            </table>
110            <!--▲登録テーブルここまで-->
111        </td>
112    </tr>
113</form>
114</table>
115<!--★★メインコンテンツ★★-->
116
117<script type="text/javascript">
118    function ChangeSize(button, TextArea, Max, Min, row_tmp){
119        if(TextArea.rows <= Min){
120            TextArea.rows=Max; button.value="小さくする"; row_tmp.value=Max;
121        }else{
122            TextArea.rows =Min; button.value="大きくする"; row_tmp.value=Min;
123        }
124    }
125</script>
Note: See TracBrowser for help on using the repository browser.