Ignore:
Timestamp:
2011/03/05 12:56:14 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/total/subtitle.tpl

    r20116 r20515  
    2323*}--> 
    2424<!--{if $arrForm.page.value == "term" || $arrForm.page.value == ""}--> 
    25   <strong>期間別集計</strong>&nbsp;( 
    26   <!--{if $smarty.post.type == 'day' || $smarty.post.type == ''}--> 
    27   <span class="over">日別</span>&nbsp; 
    28   <!--{else}--> 
    29   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'day');">日別</a>&nbsp; 
    30   <!--{/if}--> 
    31   <!--{if $smarty.post.type == 'month'}--> 
    32   <span class="over">月別</span>&nbsp; 
    33   <!--{else}--> 
    34   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'month');">月別</a>&nbsp; 
    35   <!--{/if}--> 
    36   <!--{if $smarty.post.type == 'year'}--> 
    37   <span class="over">年別</span>&nbsp; 
    38   <!--{else}--> 
    39   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'year');">年別</a>&nbsp; 
    40   <!--{/if}--> 
    41   <!--{if $smarty.post.type == 'wday'}--> 
    42   <span class="over">曜日別</span>&nbsp; 
    43   <!--{else}--> 
    44   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp; 
    45   <!--{/if}--> 
    46   <!--{if $smarty.post.type == 'hour'}--> 
    47   <span class="over">時間別</span>&nbsp; 
    48   <!--{else}--> 
    49   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'hour');">時間別</a>&nbsp; 
    50   <!--{/if}--> 
    51    
     25    <strong>期間別集計</strong>&nbsp;( 
     26    <!--{if $smarty.post.type == 'day' || $smarty.post.type == ''}--> 
     27        <span class="over">日別</span>&nbsp; 
     28    <!--{else}--> 
     29        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'day');">日別</a>&nbsp; 
     30    <!--{/if}--> 
     31    <!--{if $smarty.post.type == 'month'}--> 
     32        <span class="over">月別</span>&nbsp; 
     33    <!--{else}--> 
     34        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'month');">月別</a>&nbsp; 
     35    <!--{/if}--> 
     36    <!--{if $smarty.post.type == 'year'}--> 
     37        <span class="over">年別</span>&nbsp; 
     38    <!--{else}--> 
     39        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'year');">年別</a>&nbsp; 
     40    <!--{/if}--> 
     41    <!--{if $smarty.post.type == 'wday'}--> 
     42        <span class="over">曜日別</span>&nbsp; 
     43    <!--{else}--> 
     44        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp; 
     45    <!--{/if}--> 
     46    <!--{if $smarty.post.type == 'hour'}--> 
     47        <span class="over">時間別</span>&nbsp; 
     48    <!--{else}--> 
     49        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'hour');">時間別</a>&nbsp; 
     50    <!--{/if}--> 
     51     
    5252<!--{/if}--> 
    5353 
    5454<!--{if $arrForm.page.value == "products"}--> 
    55   <strong>商品別集計</strong>&nbsp;( 
    56   <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
    57   <span class="over">全体</span>&nbsp; 
    58   <!--{else}--> 
    59   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    60   <!--{/if}--> 
    61   <!--{if $smarty.post.type == 'member'}--> 
    62   <span class="over">会員</span>&nbsp; 
    63   <!--{else}--> 
    64   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    65   <!--{/if}--> 
    66   <!--{if $smarty.post.type == 'nonmember'}--> 
    67   <span class="over">非会員</span>&nbsp; 
    68   <!--{else}--> 
    69   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    70   <!--{/if}--> 
    71    
     55    <strong>商品別集計</strong>&nbsp;( 
     56    <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
     57        <span class="over">全体</span>&nbsp; 
     58    <!--{else}--> 
     59        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     60    <!--{/if}--> 
     61    <!--{if $smarty.post.type == 'member'}--> 
     62        <span class="over">会員</span>&nbsp; 
     63    <!--{else}--> 
     64        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     65    <!--{/if}--> 
     66    <!--{if $smarty.post.type == 'nonmember'}--> 
     67        <span class="over">非会員</span>&nbsp; 
     68    <!--{else}--> 
     69        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     70    <!--{/if}--> 
     71     
    7272<!--{/if}--> 
    7373 
    7474<!--{if $arrForm.page.value == "age"}--> 
    75   <strong>年代別集計</strong>&nbsp;( 
    76   <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
    77   <span class="over">全体</span>&nbsp; 
    78   <!--{else}--> 
    79   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    80   <!--{/if}--> 
    81   <!--{if $smarty.post.type == 'member'}--> 
    82   <span class="over">会員</span>&nbsp; 
    83   <!--{else}--> 
    84   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    85   <!--{/if}--> 
    86   <!--{if $smarty.post.type == 'nonmember'}--> 
    87   <span class="over">非会員</span>&nbsp; 
    88   <!--{else}--> 
    89   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    90   <!--{/if}--> 
    91    
     75    <strong>年代別集計</strong>&nbsp;( 
     76    <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
     77        <span class="over">全体</span>&nbsp; 
     78    <!--{else}--> 
     79        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     80    <!--{/if}--> 
     81    <!--{if $smarty.post.type == 'member'}--> 
     82        <span class="over">会員</span>&nbsp; 
     83    <!--{else}--> 
     84        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     85    <!--{/if}--> 
     86    <!--{if $smarty.post.type == 'nonmember'}--> 
     87        <span class="over">非会員</span>&nbsp; 
     88    <!--{else}--> 
     89        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     90    <!--{/if}--> 
     91     
    9292<!--{/if}--> 
    9393 
    9494<!--{if $arrForm.page.value == "job"}--> 
    95   <strong>職業別集計</strong>&nbsp;( 
    96   <span class="over">全体</span> 
    97    
    98   <!--{*( 
    99   <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
    100   <span class="over">全体</span>&nbsp; 
    101   <!--{else}--> 
    102   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    103   <!--{/if}--> 
    104   <!--{if $smarty.post.type == 'member'}--> 
    105   <span class="over">会員</span>&nbsp; 
    106   <!--{else}--> 
    107   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    108   <!--{/if}--> 
    109   <!--{if $smarty.post.type == 'nonmember'}--> 
    110   <span class="over">非会員</span>&nbsp; 
    111   <!--{else}--> 
    112   <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    113   <!--{/if}--> 
    114   )*}--> 
     95    <strong>職業別集計</strong>&nbsp;( 
     96    <span class="over">全体</span> 
     97     
     98    <!--{*( 
     99    <!--{if $smarty.post.type == 'all' || $smarty.post.type == ''}--> 
     100        <span class="over">全体</span>&nbsp; 
     101    <!--{else}--> 
     102        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     103    <!--{/if}--> 
     104    <!--{if $smarty.post.type == 'member'}--> 
     105        <span class="over">会員</span>&nbsp; 
     106    <!--{else}--> 
     107        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     108    <!--{/if}--> 
     109    <!--{if $smarty.post.type == 'nonmember'}--> 
     110        <span class="over">非会員</span>&nbsp; 
     111    <!--{else}--> 
     112        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     113    <!--{/if}--> 
     114    )*}--> 
    115115<!--{/if}--> 
    116116 
    117117<!--{if $arrForm.page.value == "member"}--> 
    118   <strong>会員別集計</strong> 
     118    <strong>会員別集計</strong> 
    119119<!--{/if}--> 
Note: See TracChangeset for help on using the changeset viewer.