Changeset 18181


Ignore:
Timestamp:
2009/07/09 23:17:12 (15 years ago)
Author:
miningbrownie
Message:

products/list.phpで表示件数を変えるコンボボックスを表示。mtb_product_list_maxをそのまま利用しています。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/list.tpl

    r17967 r18181  
    8686                    <strong>新着順</strong> 
    8787                <!--{/if}--> 
     88                  表示件数 
     89                    <select name="disp_number" onchange="javascript:fnModeSubmit('','disp_number',this.value);"> 
     90                <!--{foreach from=$arrPRODUCTLISTMAX item="dispnum" key="num"}--> 
     91                    <!--{if $num == $disp_number}--> 
     92                    <option value="<!--{$num}-->" selected="selected" ><!--{$dispnum}--></option> 
     93                    <!--{else}--> 
     94                    <option value="<!--{$num}-->" ><!--{$dispnum}--></option> 
     95                    <!--{/if}--> 
     96                <!--{/foreach}--> 
     97                    </select> 
    8898                </li> 
    8999            </ul> 
     100             
    90101        <!--{else}--> 
    91102            <!--{include file="frontparts/search_zero.tpl"}--> 
     
    218229                        <strong>新着順</strong> 
    219230                    <!--{/if}--> 
     231                                      表示件数 
     232                    <select name="disp_number" onchange="javascript:fnModeSubmit('','disp_number',this.value);"> 
     233                <!--{foreach from=$arrPRODUCTLISTMAX item="dispnum" key="num"}--> 
     234                    <!--{if $num == $disp_number}--> 
     235                    <option value="<!--{$num}-->" selected="selected" ><!--{$dispnum}--></option> 
     236                    <!--{else}--> 
     237                    <option value="<!--{$num}-->" ><!--{$dispnum}--></option> 
     238                    <!--{/if}--> 
     239                <!--{/foreach}--> 
     240                    </select> 
    220241                </li> 
    221242            </ul> 
Note: See TracChangeset for help on using the changeset viewer.