Changeset 19257


Ignore:
Timestamp:
2010/11/07 00:21:45 (13 years ago)
Author:
kajiwara
Message:

操作部分の統一

File:
1 edited

Legend:

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

    r19251 r19257  
    194194      <th>商品名</th> 
    195195      <th rowspan="2">在庫</th> 
    196       <th rowspan="2">種別</th> 
    197       <th rowspan="2">編集</th> 
    198       <th rowspan="2">確認</th> 
     196      <th rowspan="2">公開</th> 
    199197      <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
    200198      <th rowspan="2">規格</th> 
    201199      <!--{/if}--> 
    202       <th rowspan="2">削除</th> 
    203       <th rowspan="2">複製</th> 
     200      <th rowspan="2">操作</th> 
    204201    </tr> 
    205202    <tr> 
     
    240237      <!--{assign var=key value=$arrProducts[cnt].status}--> 
    241238      <td rowspan="2"><!--{$arrDISP[$key]}--></td> 
    242       <td 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> 
    243       <td 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> 
     239      <!--{* 規格 *}--> 
    244240      <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
    245241      <td 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> 
    246242      <!--{/if}--> 
    247       <td 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> 
    248       <td 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> 
     243      <!--{* 操作 *}--> 
     244      <td  rowspan="2" class="center"> 
     245         <a href="<!--{$smarty.const.SITE_URL|sfTrimURL}-->/products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&amp;admin=on" target="_blank" title="編集"> 
     246             <img src="<!--{$TPL_DIR}-->img/contents/icon_edit.jpg" alt="" /> 
     247         </a>&nbsp; 
     248         <a href="<!--{$smarty.const.URL_DIR}-->"  title="削除" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" > 
     249             <img src="<!--{$TPL_DIR}-->img/contents/icon_delete.jpg" alt="" /> 
     250         </a>&nbsp; 
     251         <a href="<!--{$smarty.const.URL_DIR}-->"  title="複製" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" > 
     252             <img src="<!--{$TPL_DIR}-->img/contents/icon_copy.jpg" alt="" /> 
     253         </a> 
     254      </td> 
    249255    </tr> 
    250256    <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> 
Note: See TracChangeset for help on using the changeset viewer.