Ignore:
Timestamp:
2008/09/15 20:17:40 (16 years ago)
Author:
Seasoft
Message:

r17605 の変更漏れ対応。
・<a>要素の置換漏れ対応。(本来は <input> や <button> に変更した方が良さそうな箇所もあるが、簡易的に置換した。)
・未対応のロジックを含む SC_Utils::sfReload() の呼び出しを LC_Page::reload() に代替。(モバイルは除く。) なお、LC_Page_Cart::process()には「FIXME reload() を使った方が良いが無限ループしてしまう...」とコメントがあったが、再現しなかった。環境依存(CGI?)が懸念される。( http://q.hatena.ne.jp/1107746608)
・LC_Page:reload() での Net_URL クラス生成のパラメータとして $_SERVERREQUEST_URI? を与える。これにより、index.php にリダイレクトされるのを防ぐ。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/total/subtitle.tpl

    r17351 r17612  
    2727  <span class="over">日別</span>&nbsp; 
    2828  <!--{else}--> 
    29   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'day');">日別</a>&nbsp; 
     29  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'day');">日別</a>&nbsp; 
    3030  <!--{/if}--> 
    3131  <!--{if $smarty.post.type == 'month'}--> 
    3232  <span class="over">月別</span>&nbsp; 
    3333  <!--{else}--> 
    34   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'month');">月別</a>&nbsp; 
     34  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'month');">月別</a>&nbsp; 
    3535  <!--{/if}--> 
    3636  <!--{if $smarty.post.type == 'year'}--> 
    3737  <span class="over">年別</span>&nbsp; 
    3838  <!--{else}--> 
    39   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'year');">年別</a>&nbsp; 
     39  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'year');">年別</a>&nbsp; 
    4040  <!--{/if}--> 
    4141  <!--{if $smarty.post.type == 'wday'}--> 
    4242  <span class="over">曜日別</span>&nbsp; 
    4343  <!--{else}--> 
    44   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp; 
     44  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp; 
    4545  <!--{/if}--> 
    4646  <!--{if $smarty.post.type == 'hour'}--> 
    4747  <span class="over">時間別</span>&nbsp; 
    4848  <!--{else}--> 
    49   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'hour');">時間別</a>&nbsp; 
     49  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'hour');">時間別</a>&nbsp; 
    5050  <!--{/if}--> 
    5151  ) 
     
    5757  <span class="over">全体</span>&nbsp; 
    5858  <!--{else}--> 
    59   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     59  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    6060  <!--{/if}--> 
    6161  <!--{if $smarty.post.type == 'member'}--> 
    6262  <span class="over">会員</span>&nbsp; 
    6363  <!--{else}--> 
    64   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     64  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    6565  <!--{/if}--> 
    6666  <!--{if $smarty.post.type == 'nonmember'}--> 
    6767  <span class="over">非会員</span>&nbsp; 
    6868  <!--{else}--> 
    69   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     69  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    7070  <!--{/if}--> 
    7171  ) 
     
    7777  <span class="over">全体</span>&nbsp; 
    7878  <!--{else}--> 
    79   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     79  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    8080  <!--{/if}--> 
    8181  <!--{if $smarty.post.type == 'member'}--> 
    8282  <span class="over">会員</span>&nbsp; 
    8383  <!--{else}--> 
    84   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     84  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    8585  <!--{/if}--> 
    8686  <!--{if $smarty.post.type == 'nonmember'}--> 
    8787  <span class="over">非会員</span>&nbsp; 
    8888  <!--{else}--> 
    89   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     89  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    9090  <!--{/if}--> 
    9191  ) 
     
    100100  <span class="over">全体</span>&nbsp; 
    101101  <!--{else}--> 
    102   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
     102  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp; 
    103103  <!--{/if}--> 
    104104  <!--{if $smarty.post.type == 'member'}--> 
    105105  <span class="over">会員</span>&nbsp; 
    106106  <!--{else}--> 
    107   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
     107  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp; 
    108108  <!--{/if}--> 
    109109  <!--{if $smarty.post.type == 'nonmember'}--> 
    110110  <span class="over">非会員</span>&nbsp; 
    111111  <!--{else}--> 
    112   <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
     112  <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp; 
    113113  <!--{/if}--> 
    114114  )*}--> 
Note: See TracChangeset for help on using the changeset viewer.