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

Revision 22959, 2.7 KB checked in by Seasoft, 11 years ago (diff)

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • ソースコードのインデントを適切にする
  • 出力 HTML の冗長なインデントを減らす (strip)
  • 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-2013 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<!--{strip}-->
24    <div class="block_outer">
25        <div id="calender_area">
26        <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_calender.gif" alt="カレンダー" /></h2>
27            <div class="block_body">
28                <!--{section name=num loop=$arrCalendar}-->
29                    <!--{assign var=arrCal value=`$arrCalendar[num]`}-->
30                    <!--{section name=cnt loop=$arrCal}-->
31                        <!--{if $smarty.section.cnt.first}-->
32                            <table>
33                                <caption class="month"><!--{$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                        <!--{if $arrCal[cnt].first}-->
37                            <tr>
38                            <!--{/if}-->
39                            <!--{if !$arrCal[cnt].in_month}-->
40                                <td></td>
41                            <!--{elseif $arrCal[cnt].holiday}-->
42                                <td class="off<!--{if $arrCal[cnt].today}--> today<!--{/if}-->"><!--{$arrCal[cnt].day}--></td>
43                            <!--{else}-->
44                                <td<!--{if $arrCal[cnt].today}--> class="today"<!--{/if}-->><!--{$arrCal[cnt].day}--></td>
45                            <!--{/if}-->
46                            <!--{if $arrCal[cnt].last}-->
47                                </tr>
48                        <!--{/if}-->
49                    <!--{/section}-->
50                    <!--{if $smarty.section.cnt.last}-->
51                        </table>
52                    <!--{/if}-->
53                <!--{/section}-->
54                <p class="information">※赤字は休業日です</p>
55            </div>
56
57        </div>
58    </div>
59<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.