Ignore:
Timestamp:
2008/06/20 23:56:08 (16 years ago)
Author:
Seasoft
Message:

XHTML管理画面の不具合修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/products/index.tpl

    r17351 r17364  
    2727  inner_id = 'switch'; 
    2828 
    29   cnt = form1.item_cnt.value; 
     29  cnt = document.form1.item_cnt.value; 
    3030   
    3131  if($('#disp_url1').css("display") == 'none'){ 
     
    188188  <table class="list" id="products-search-result"> 
    189189    <tr> 
    190       <th>商品ID</th> 
    191       <th>商品画像</th> 
    192       <th>商品コード</th> 
    193       <th>価格(円)</th> 
     190      <th rowspan="2">商品ID</th> 
     191      <th rowspan="2">商品画像</th> 
     192      <th rowspan="2">商品コード</th> 
     193      <th rowspan="2">価格(円)</th> 
    194194      <th>商品名</th> 
    195       <th>カテゴリ <a href="#" onClick="lfnDispChange();"> >> URL表示</a></th> 
    196       <th>在庫</th> 
    197       <th>種別</th> 
    198       <th>編集</th> 
    199       <th>確認</th> 
     195      <th rowspan="2">在庫</th> 
     196      <th rowspan="2">種別</th> 
     197      <th rowspan="2">編集</th> 
     198      <th rowspan="2">確認</th> 
    200199      <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
    201       <th>規格</th> 
     200      <th rowspan="2">規格</th> 
    202201      <!--{/if}--> 
    203       <th>削除</th> 
    204       <th>複製</th> 
     202      <th rowspan="2">削除</th> 
     203      <th rowspan="2">複製</th> 
     204    </tr> 
     205    <tr> 
     206      <th><a href="#" onClick="lfnDispChange(); return false;">カテゴリ ⇔ URL</a></th> 
    205207    </tr> 
    206208 
     
    209211    <!--{assign var=status value="`$arrProducts[cnt].status`"}--> 
    210212    <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> 
    211       <td><!--{$arrProducts[cnt].product_id}--></td> 
    212       <td> 
    213       <!--{if $arrProducts[cnt].main_list_image != ""}--> 
    214         <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}--> 
    215       <!--{else}--> 
    216         <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    217       <!--{/if}--> 
     213      <td rowspan="2"><!--{$arrProducts[cnt].product_id}--></td> 
     214      <td rowspan="2"> 
     215        <!--{if $arrProducts[cnt].main_list_image != ""}--> 
     216          <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}--> 
     217        <!--{else}--> 
     218          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     219        <!--{/if}--> 
    218220      <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65"> 
    219221      </td> 
    220       <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> 
    221       <td class="right"> 
     222      <td rowspan="2"><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> 
     223      <td rowspan="2" class="right"> 
    222224        <!--{* 価格 *}--> 
    223225        <!--{if $arrProducts[cnt].price02 != ""}--> 
     
    228230      </td> 
    229231      <td><!--{$arrProducts[cnt].name|escape}--></td> 
     232      <td rowspan="2"> 
     233        <!--{* 在庫 *}--> 
     234        <!--{if $arrProducts[cnt].stock_unlimited == '1'}--> 
     235        無制限 
     236        <!--{else}--> 
     237        <!--{$arrProducts[cnt].stock|escape|default:"-"}--> 
     238        <!--{/if}--> 
     239      </td> 
     240      <!--{* 表示 *}--> 
     241      <!--{assign var=key value=$arrProducts[cnt].status}--> 
     242      <td rowspan="2"><!--{$arrDISP[$key]}--></td> 
     243      <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> 
     244      <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> 
     245      <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
     246      <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> 
     247      <!--{/if}--> 
     248      <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> 
     249      <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> 
     250    </tr> 
     251    <tr> 
    230252      <td> 
    231253        <!--{* カテゴリ名 *}--> 
     
    242264        </div> 
    243265      </td> 
    244       <td> 
    245         <!--{* 在庫 *}--> 
    246         <!--{if $arrProducts[cnt].stock_unlimited == '1'}--> 
    247         無制限 
    248         <!--{else}--> 
    249         <!--{$arrProducts[cnt].stock|escape|default:"-"}--> 
    250         <!--{/if}--> 
    251       </td> 
    252       <!--{* 表示 *}--> 
    253       <!--{assign var=key value=$arrProducts[cnt].status}--> 
    254       <td><!--{$arrDISP[$key]}--></td> 
    255       <td><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> 
    256       <td><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> 
    257       <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}--> 
    258       <td><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> 
    259       <!--{/if}--> 
    260       <td><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> 
    261       <td><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> 
    262266    </tr> 
    263267    <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> 
Note: See TracChangeset for help on using the changeset viewer.