source: branches/version-2/data/Smarty/templates/default/bloc/calendar.tpl @ 17143

Revision 17143, 1.8 KB checked in by adachi, 14 years ago (diff)

calendar bloc by Yammy (merge r17073, r17076, r17087, r17091)

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!--▼カレンダーここから-->
23<div id="block-calendar" class="block-contents">
24<h2><img src="<!--{$TPL_DIR}-->img/top/calendar.jpg" width="400" height="29" alt="カレンダー" /></h2>
25
26
27<!--{section name=num loop=$arrCalendar}-->
28<!--{assign var=arrCal value=`$arrCalendar[num]`}-->
29<!--{section name=cnt loop=$arrCal}-->
30
31<!--{if $smarty.section.cnt.first}-->
32<table>
33<caption><!--{$arrCal[cnt].year}-->年<!--{$arrCal[cnt].month}-->月の定休日</caption>
34<thead><tr><th>日</th><th>月</th><th>火</th><th>水</th><th>木</th><th>金</th><th>土</th></tr></thead>
35<!--{/if}-->
36
37<!--{if $arrCal[cnt].first}-->
38<tr>
39<!--{/if}-->
40
41<!--{if !$arrCal[cnt].in_month}-->
42<td></td>
43<!--{elseif $arrCal[cnt].holiday}-->
44<td class="off"><!--{$arrCal[cnt].day}--></td>
45<!--{else}-->
46<td><!--{$arrCal[cnt].day}--></td>
47<!--{/if}-->
48
49<!--{if $arrCal[cnt].last}-->
50</tr>
51<!--{/if}-->
52
53<!--{/section}-->
54<!--{if $smarty.section.cnt.last}-->
55</table>
56<!--{/if}-->
57<!--{/section}-->
58
59
60</div>
61<!--▲カレンダーここまで-->
Note: See TracBrowser for help on using the repository browser.