Ignore:
Timestamp:
2011/02/12 14:44:10 (15 years ago)
Author:
kimoto
Message:

リファクタリング
*SC_PageNaviの改善 eregの除去 携帯/PC両方で使えるようにパラメーターの追加 htmlspecialcharsを内部でやるように追記 all_rowを返せるように追記

Location:
branches/version-2_5-dev/data/Smarty/templates
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/mypage/index.tpl

    r20116 r20155  
    3333    <form name="form1" method="post" action="?"> 
    3434    <input type="hidden" name="order_id" value="" /> 
    35     <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
     35    <input type="hidden" name="pageno" value="<!--{$objNavi->nowpage}-->" /> 
    3636    <h3><!--{$tpl_subtitle|h}--></h3> 
    3737 
    38 <!--{if $tpl_linemax > 0}--> 
     38<!--{if $objNavi->all_row > 0}--> 
    3939 
    40     <p><!--{$tpl_linemax}-->件の購入履歴があります。</p> 
     40    <p><!--{$objNavi->all_row}-->件の購入履歴があります。</p> 
    4141    <div> 
    4242      <!--▼ページナビ--> 
    43       <!--{$tpl_strnavi}--> 
     43      <!--{$objNavi->strnavi}--> 
    4444      <!--▲ページナビ--> 
    4545    </div> 
  • branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/index.tpl

    r20116 r20155  
    3535<hr> 
    3636■購入履歴一覧<br> 
    37 <!--{if $tpl_linemax > 0}--> 
    38     <!--{$tpl_linemax}-->件の購入履歴があります。<br> 
     37<!--{if $objNavi->all_row > 0}--> 
     38    <!--{$objNavi->all_row}-->件の購入履歴があります。<br> 
    3939    <!--{section name=cnt loop=$arrOrder}--> 
    4040    <hr> 
     
    5555<!--{/if}--> 
    5656 
    57 <!--{if $tpl_strnavi != ""}--> 
    58 <!--{$tpl_strnavi}--> 
     57<!--{if $objNavi->strnavi != ""}--> 
     58<!--{$objNavi->strnavi}--> 
    5959<br> 
    6060<!--{/if}--> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/index.tpl

    r20116 r20155  
    3333    <form name="form1" method="post" action="?"> 
    3434    <input type="hidden" name="order_id" value="" /> 
    35     <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
     35    <input type="hidden" name="pageno" value="<!--{$objNavi->nowpage}-->" /> 
    3636    <h3><!--{$tpl_subtitle|h}--></h3> 
    3737 
    38 <!--{if $tpl_linemax > 0}--> 
     38<!--{if $objNavi->all_row > 0}--> 
    3939 
    40     <p><!--{$tpl_linemax}-->件の購入履歴があります。</p> 
     40    <p><!--{$objNavi->all_row}-->件の購入履歴があります。</p> 
    4141    <div> 
    4242      <!--▼ページナビ--> 
    43       <!--{$tpl_strnavi}--> 
     43      <!--{$objNavi->all_row}--> 
    4444      <!--▲ページナビ--> 
    4545    </div> 
Note: See TracChangeset for help on using the changeset viewer.