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/products/product_rank.tpl

    r17605 r17612  
    3232  <!--{* ▼画面左 *}--> 
    3333  <div id="products-rank-left"> 
    34     <a href="<!--{$smarty.server.PHP_SELF|escape}-->">▼ホーム</a><br /> 
     34    <a href="?">▼ホーム</a><br /> 
    3535    <!--{section name=cnt loop=$arrTree}--> 
    3636      <!--{assign var=level value="`$arrTree[cnt].level`}--> 
     
    4747      <!--{* カテゴリ名表示 *}--> 
    4848      <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}--> 
    49       <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false"> 
     49      <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false"> 
    5050      <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}--> 
    5151        <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif"> 
     
    114114          <!--{* 移動 *}--> 
    115115          <!--{if !(count($arrProductsList) == 1 && $rank == 1)}--> 
    116           <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br /> 
     116          <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="?" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br /> 
    117117          <!--{/if}--> 
    118118          <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1) }--> 
    119           <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a> 
     119          <a href="?" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a> 
    120120          <!--{/if}--> 
    121121          <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax) }--> 
    122           <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a> 
     122          <a href="?" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a> 
    123123          <!--{/if}--> 
    124124          </td> 
Note: See TracChangeset for help on using the changeset viewer.