source: branches/version-2_12-multilang/data/Smarty/templates/admin/basis/holiday.tpl @ 22163

Revision 22163, 5.2 KB checked in by h_yoshimoto, 11 years ago (diff)

#1890 日付のテキストを切り出し

  • 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="form1" id="form1" method="post" action="?">
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27<input type="hidden" name="mode" value="edit" />
28<input type="hidden" name="holiday_id" value="<!--{$tpl_holiday_id}-->" />
29<div id="basis" class="contents-main">
30
31    <table class="form">
32        <tr>
33            <th><!--{t string="tpl_022"}--></th>
34            <td>
35                <!--{if $arrErr.title}--><span class="attention"><!--{$arrErr.title}--></span><!--{/if}-->
36                <input type="text" name="title" value="<!--{$arrForm.title|h}-->" maxlength="<!--{$smarty.const.SMTEXT_LEN}-->" style="" size="60" class="box60"/>
37                <span class="attention"> <!--{t string="tpl_023" T_FIELD=$smarty.const.SMTEXT_LEN}--></span>
38            </td>
39        </tr>
40        <tr>
41            <th><!--{t string="tpl_024_1"}--></th>
42            <td>
43                <!--{if $arrErr.date || $arrErr.month || $arrErr.day}-->
44                <span class="attention"><!--{$arrErr.date}--></span>
45                <span class="attention"><!--{$arrErr.month}--></span>
46                <span class="attention"><!--{$arrErr.day}--></span>
47                <!--{/if}-->
48                <select name="month" style="<!--{$arrErr.month|sfGetErrorColor}-->">
49                    <option value="">--</option>
50                    <!--{html_options options=$arrMonth selected=$arrForm.month}-->
51                </select>月
52                <select name="day" style="<!--{$arrErr.day|sfGetErrorColor}-->">
53                    <option value="">--</option>
54                    <!--{html_options options=$arrDay selected=$arrForm.day}-->
55                </select>日
56                <br />
57                <span class="attention"><!--{t string="tpl_025"}--></span>
58            </td>
59        </tr>
60    </table>
61
62    <div class="btn-area">
63        <ul>
64            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_021"}--></span></a></li>
65        </ul>
66    </div>
67
68    <table class="list">
69        <col width="50%" />
70        <col width="20%" />
71        <col width="10%" />
72        <col width="10%" />
73        <col width="20%" />
74        <tr>
75            <th><!--{t string="tpl_022"}--></th>
76            <th><!--{t string="tpl_024"}--></th>
77            <th class="edit"><!--{t string="tpl_003"}--></th>
78            <th class="delete"><!--{t string="tpl_004"}--></th>
79            <th><!--{t string="tpl_005"}--></th>
80        </tr>
81        <!--{section name=cnt loop=$arrHoliday}-->
82        <tr style="background:<!--{if $tpl_holiday_id != $arrHoliday[cnt].holiday_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;">
83            <!--{assign var=holiday_id value=$arrHoliday[cnt].holiday_id}-->
84            <td><!--{$arrHoliday[cnt].title|h}--></td>
85            <td><!--{t string="tpl_727" T_FIELD1=$arrHoliday[cnt].month|h T_FIELD2=$arrHoliday[cnt].day|h}--></td>
86            <td class="center">
87                <!--{if $tpl_holiday_id != $arrHoliday[cnt].holiday_id}-->
88                <a href="?" onclick="fnModeSubmit('pre_edit', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;"><!--{t string="tpl_003"}--></a>
89                <!--{else}-->
90                <!--{t string="tpl_026"}-->
91                <!--{/if}-->
92            </td>
93            <td class="center">
94                <!--{if $arrClassCatCount[$class_id] > 0}-->
95                -
96                <!--{else}-->
97                <a href="?" onclick="fnModeSubmit('delete', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;"><!--{t string="tpl_004"}--></a>
98                <!--{/if}-->
99            </td>
100            <td class="center">
101                <!--{if $smarty.section.cnt.iteration != 1}-->
102                <a href="?" onclick="fnModeSubmit('up', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;" /><!--{t string="tpl_077"}--></a>
103                <!--{/if}-->
104                <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
105                <a href="?" onclick="fnModeSubmit('down', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;" /><!--{t string="tpl_078"}--></a>
106                <!--{/if}-->
107            </td>
108        </tr>
109        <!--{/section}-->
110    </table>
111
112</div>
113</form>
Note: See TracBrowser for help on using the repository browser.