Ignore:
Timestamp:
2011/03/05 15:55:59 (13 years ago)
Author:
Seasoft
Message:

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

File:
1 edited

Legend:

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

    r20522 r20525  
    5151                <!--★画像★--> 
    5252                <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    53                    <a 
    54                     href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" 
    55                     class="expansion" 
    56                     target="_blank" 
     53                    <a 
     54                        href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" 
     55                        class="expansion" 
     56                        target="_blank" 
    5757                    > 
    58                <!--{/if}--> 
    59                   <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /> 
    60                <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    61                    </a> 
    62                <!--{/if}--> 
     58                <!--{/if}--> 
     59                    <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /> 
     60                <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
     61                    </a> 
     62                <!--{/if}--> 
    6363            </div> 
    6464            <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
     
    7070                            target="_blank" 
    7171                        > 
    72                           画像を拡大する 
    73                         </a> 
     72                            画像を拡大する</a> 
    7473                </span> 
    7574            <!--{/if}--> 
     
    191190                            <li><!--{$tpl_class_name1|h}-->:</li> 
    192191                            <li> 
    193                               <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> 
    194                               <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
    195                               </select> 
    196                               <!--{if $arrErr.classcategory_id1 != ""}--> 
    197                               <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> 
    198                               <!--{/if}--> 
     192                                <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> 
     193                                <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
     194                                </select> 
     195                                <!--{if $arrErr.classcategory_id1 != ""}--> 
     196                                <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> 
     197                                <!--{/if}--> 
    199198                            </li> 
    200199                        </ul> 
     
    203202                        <!--▼規格2--> 
    204203                        <ul class="clearfix"> 
    205                               <li><!--{$tpl_class_name2|h}-->:</li> 
    206                               <li> 
     204                            <li><!--{$tpl_class_name2|h}-->:</li> 
     205                            <li> 
    207206                                <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
    208207                                </select> 
     
    210209                                <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> 
    211210                                <!--{/if}--> 
    212                               </li> 
     211                            </li> 
    213212                        </ul> 
    214213                        <!--▲規格2--> 
     
    285284                            <span class="mini"> 
    286285                                <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" class="expansion" target="_blank"> 
    287                                   画像を拡大する 
    288                                 </a> 
     286                                    画像を拡大する</a> 
    289287                            </span> 
    290288                        <!--{/if}--> 
     
    309307                    <!--★新規コメントを書き込む★--> 
    310308                    <a href="./review.php" 
    311                          onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;" 
    312                          onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment_on.jpg','review');" 
    313                          onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg','review');" target="_blank"> 
     309                        onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;" 
     310                        onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment_on.jpg','review');" 
     311                        onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg','review');" target="_blank"> 
    314312                        <img src="<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg" alt="新規コメントを書き込む" name="review" id="review" /></a> 
    315313                <!--{/if}--> 
Note: See TracChangeset for help on using the changeset viewer.