Ignore:
Timestamp:
2010/12/31 10:46:42 (13 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部改修

File:
1 edited

Legend:

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

    r19785 r19802  
    207207      <td class="id" rowspan="2"><!--{$arrProducts[cnt].product_id}--></td> 
    208208      <td class="thumbnail" rowspan="2"> 
    209       <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65"> 
     209      <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65"> 
    210210      </td> 
    211211      <td rowspan="2"><!--{$arrProducts[cnt].product_code_min|h}--> 
     
    233233      <!--{assign var=key value=$arrProducts[cnt].status}--> 
    234234      <td class="menu" rowspan="2"><!--{$arrDISP[$key]}--></td> 
    235       <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >編集</a></span></td> 
    236       <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.SITE_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&amp;admin=on" target="_blank">確認</a></span></td> 
     235      <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.URL_PATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >編集</a></span></td> 
     236      <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&amp;admin=on" target="_blank">確認</a></span></td> 
    237237      <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
    238       <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >規格</a></span></td> 
     238      <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.URL_PATH}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >規格</a></span></td> 
    239239      <!--{/if}--> 
    240       <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;">削除</a></span></td> 
    241       <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >複製</a></span></td> 
     240      <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.URL_PATH}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;">削除</a></span></td> 
     241      <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.URL_PATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >複製</a></span></td> 
    242242    </tr> 
    243243    <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> 
     
    253253        <!--{* URL *}--> 
    254254        <div id="disp_url<!--{$smarty.section.cnt.iteration}-->" style="display:none"> 
    255         <!--{$smarty.const.SITE_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}--> 
     255        <!--{$smarty.const.HTTP_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}--> 
    256256        </div> 
    257257      </td> 
Note: See TracChangeset for help on using the changeset viewer.