source: branches/comu-ver2/data/Smarty/templates/default/admin/basis/holiday.tpl @ 17073

Revision 17073, 8.5 KB checked in by Yammy, 16 years ago (diff)

カレンダーブロックを追加(PEAR::Calendarクラス使用仕様)

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="form1" id="form1" method="post" action="./holiday.php">
27<input type="hidden" name="mode" value="edit">
28<input type="hidden" name="holiday_id" value="<!--{$tpl_holiday_id}-->">
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        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
37            <!--メインエリア-->
38            <tr>
39                <td align="center">
40                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
41
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                       
50                        <!--登録テーブルここから-->
51                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
52                            <tr>
53                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
54                            </tr>
55                            <tr>
56                                <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>
57                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->定休日登録</span></td>
58                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
59                            </tr>
60                            <tr>
61                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
62                            </tr>
63                            <tr>
64                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
65                            </tr>
66                        </table>
67
68                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
69                            <tr>
70                                <td bgcolor="#f2f1ec" width="160" class="fs12n">タイトル<span class="red"> *</span></td>
71                                <td bgcolor="#ffffff" width="557" class="fs10n">
72                                <span class="red12"><!--{$arrErr.title}--></span>
73                                <input type="text" name="title" value="<!--{$arrForm.title|escape}-->" maxlength="<!--{$smarty.const.SMTEXT_LEN}-->" style="" size="60" class="box60"/>
74                                <span class="red"> (上限<!--{$smarty.const.SMTEXT_LEN}-->文字)</span>
75                                </td>
76                            </tr>
77                            <tr>
78                                <td bgcolor="#f2f1ec" width="160" class="fs12n">日付<span class="red"> *</span></td>
79                                <td bgcolor="#ffffff" width="557" class="fs10n">
80                                <span class="red12"><!--{$arrErr.date}--></span>
81                                <span class="red12"><!--{$arrErr.month}--></span>
82                                <span class="red12"><!--{$arrErr.day}--></span>
83                                <select name="month" style="<!--{$arrErr.month|sfGetErrorColor}-->">
84                                <option value="">--</option>
85                                <!--{html_options options=$arrMonth selected=$arrForm.month}-->
86                                </select>月
87                                <select name="day" style="<!--{$arrErr.day|sfGetErrorColor}-->">
88                                <option value="">--</option>
89                                <!--{html_options options=$arrDay selected=$arrForm.day}-->
90                                </select>日
91                <br />
92                <span class="red">振替え休日は自動設定されないので、振替え先の日付を設定してください。</span>
93                                </td>
94                            </tr>
95                        </table>
96                       
97                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
98                            <tr>
99                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
100                                <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
101                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
102                            </tr>
103                            <tr>
104                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
105                                <td bgcolor="#e9e7de" align="center">
106                                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
107                                    <tr>
108                                        <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm"></td>
109                                    </tr>
110                                </table>
111                                </td>
112                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
113                            </tr>
114                            <tr>
115                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
116                            </tr>
117                        </table>
118                       
119                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
120                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
121                        </table>
122                                               
123                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
124                            <tr bgcolor="#f2f1ec" align="center" class="fs12n">
125                                <td width="371">タイトル</td>
126                                <td width="100">日付</td>
127                                <td width="50">編集</td>
128                                <td width="50">削除</td>
129                                <td width="70">移動</td>
130                            </tr>
131                            <!--{section name=cnt loop=$arrHoliday}-->
132                            <tr bgcolor="<!--{if $tpl_class_id != $arrHoliday[cnt].holiday_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" class="fs12">
133                                <!--{assign var=holiday_id value=$arrHoliday[cnt].holiday_id}-->
134                                <td><!--{$arrHoliday[cnt].title|escape}--></td>
135                                <td><!--{$arrHoliday[cnt].month|escape}-->月<!--{$arrHoliday[cnt].day|escape}-->日</td>
136                                <td align="center">
137                                <!--{if $tpl_holiday_id != $arrHoliday[cnt].holiday_id}-->
138                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">編集</a>
139                                <!--{else}-->
140                                編集中
141                                <!--{/if}-->
142                                </td>
143                                <td align="center">
144                                <!--{if $arrClassCatCount[$class_id] > 0}-->
145                                -
146                                <!--{else}-->
147                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">削除</a>
148                                <!--{/if}-->
149                                </td>
150                                <td align="center">
151                                <!--{if $smarty.section.cnt.iteration != 1}-->
152                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;" />上へ</a>
153                                <!--{/if}-->
154                                <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
155                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;" />下へ</a>
156                                <!--{/if}-->
157                                </td>
158                            </tr>
159                            <!--{/section}-->
160                        </table>
161                        <!--登録テーブルここまで-->
162                        </td>
163                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
164                    </tr>
165                    <tr>
166                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
167                    </tr>
168                    <tr><td height="30"></td></tr>
169
170                </table>
171                </td>
172            </tr>
173            <!--メインエリア-->
174        </table>
175        </td>
176    </tr>
177</form>
178</table>
179<!--★★メインコンテンツ★★-->     
Note: See TracBrowser for help on using the repository browser.