Ignore:
Timestamp:
2012/02/18 23:28:42 (12 years ago)
Author:
Seasoft
Message:

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

  • 主にテンプレートのスペース関連
Location:
branches/version-2_12-dev/data/Smarty/templates/mobile/products
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/mobile/products/detail.tpl

    r20976 r21535  
    3434<!--{if $subImageFlag == true}--> 
    3535<br>画像 
    36   <!--{if ($smarty.get.image == "" || $smarty.get.image == "main_image")}--> 
     36    <!--{if ($smarty.get.image == "" || $smarty.get.image == "main_image")}--> 
    3737[1] 
    38   <!--{else}--> 
     38    <!--{else}--> 
    3939[<a href="?product_id=<!--{$smarty.get.product_id}-->&amp;image=main_image">1</a>] 
    40   <!--{/if}--> 
    41    
    42   <!--{assign var=num value="2"}--> 
    43   <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 
    44   <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 
    45   <!--{if $arrFile[$key].filepath != ""}--> 
     40    <!--{/if}--> 
     41 
     42    <!--{assign var=num value="2"}--> 
     43    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 
     44    <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 
     45    <!--{if $arrFile[$key].filepath != ""}--> 
    4646    <!--{if $key == $smarty.get.image}--> 
    4747[<!--{$num}-->] 
     
    5050    <!--{/if}--> 
    5151    <!--{assign var=num value="`$num+1`"}--> 
    52   <!--{/if}--> 
    53   <!--{/section}--> 
     52    <!--{/if}--> 
     53    <!--{/section}--> 
    5454<br> 
    5555<!--{/if}--> 
     
    125125<form name="form1" method="post" action="?"> 
    126126    <input type="hidden" name="mode" value="select"> 
    127   <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     127    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    128128 
    129129    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->"> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/products/select_find1.tpl

    r20941 r21535  
    2929<!--{/if}--> 
    3030<form method="post" action="?"> 
    31   <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     31    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3232    <select name="classcategory_id1"> 
    3333        <option value="">選択してください</option> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/products/select_find2.tpl

    r20941 r21535  
    2929<!--{/if}--> 
    3030<form method="post" action="?"> 
    31   <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     31    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3232    <select name="classcategory_id2"> 
    3333        <option value="">選択してください</option> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/products/select_item.tpl

    r21288 r21535  
    2929<!--{/if}--> 
    3030<form method="post" action="?"> 
    31   <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     31    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3232    <input type="text" name="quantity" size="3" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength=<!--{$smarty.const.INT_LEN}--> istyle="4"><br> 
    3333    <input type="hidden" name="mode" value="cart"> 
Note: See TracChangeset for help on using the changeset viewer.