source: branches/version-2_12-dev/data/Smarty/templates/default/frontparts/bloc/calendar.tpl @ 21738

Revision 21738, 2.6 KB checked in by habu, 11 years ago (diff)

#1746 カレンダーに本日がいつであるかが、わかるマークの機能を追加して欲しい

  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 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 class="block_outer">
24    <div id="calender_area">
25    <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_calender.gif" alt="カレンダー" /></h2>
26        <div class="block_body">
27            <!--{section name=num loop=$arrCalendar}-->
28                <!--{assign var=arrCal value=`$arrCalendar[num]`}-->
29                <!--{section name=cnt loop=$arrCal}-->
30                    <!--{if $smarty.section.cnt.first}-->
31                        <table>
32                            <caption class="month"><!--{$arrCal[cnt].year}-->年<!--{$arrCal[cnt].month}-->月の定休日</caption>
33                            <thead><tr><th>日</th><th>月</th><th>火</th><th>水</th><th>木</th><th>金</th><th>土</th></tr></thead>
34                    <!--{/if}-->
35                    <!--{if $arrCal[cnt].first}-->
36                        <tr>
37                        <!--{/if}-->
38                        <!--{if !$arrCal[cnt].in_month}-->
39                            <td></td>
40                        <!--{elseif $arrCal[cnt].holiday}-->
41                            <td class="off<!--{if $arrCal[cnt].today}--> today<!--{/if}-->"><!--{$arrCal[cnt].day}--></td>
42                        <!--{else}-->
43                            <td<!--{if $arrCal[cnt].today}--> class="today"<!--{/if}-->><!--{$arrCal[cnt].day}--></td>
44                        <!--{/if}-->
45                        <!--{if $arrCal[cnt].last}-->
46                            </tr>
47                    <!--{/if}-->
48                <!--{/section}-->
49                <!--{if $smarty.section.cnt.last}-->
50                    </table>
51                <!--{/if}-->
52            <!--{/section}-->
53            <p class="information">※赤字は休業日です</p>
54        </div>
55
56    </div>
57</div>
Note: See TracBrowser for help on using the repository browser.