Changeset 17364


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

XHTML管理画面の不具合修正

Location:
branches/comu-ver2/data
Files:
6 edited

Legend:

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

    r17351 r17364  
    323323      <input type="hidden" name="classcategory_id2[<!--{$key}-->]" value="<!--{$arrForm.classcategory_id2.value[$key]}-->" id="classcategory_id2_<!--{$key}-->" /> 
    324324      </td> 
    325       <td> 円</td> 
    326       <td></td> 
     325      <td align="center"><input type="text" name="price[<!--{$key}-->]" value="<!--{$arrForm.price.value[$key]|escape}-->" size="6" class="box6" maxlength="<!--{$arrForm.price.length}-->" id="price_<!--{$key}-->"/> 円</td> 
     326      <td align="center"><input type="text" name="quantity[<!--{$key}-->]" value="<!--{$arrForm.quantity.value[$key]|escape}-->" size="3" class="box3" maxlength="<!--{$arrForm.quantity.length}-->"/></td> 
    327327      <!--{assign var=price value=`$arrForm.price.value[$key]`}--> 
    328328      <!--{assign var=quantity value=`$arrForm.quantity.value[$key]`}--> 
  • branches/comu-ver2/data/Smarty/templates/default/admin/order/index.tpl

    r17361 r17364  
    286286      <td class="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td> 
    287287      <td class="center"><!--{$arrORDERSTATUS[$status]}--></td> 
    288       <td class="center"><a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">帳票</span></a></td> 
     288      <td class="center"> 
     289        <input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="pdf_order_id_<!--{$arrResults[cnt].order_id}-->">一括出力</label>&nbsp; 
     290        <a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">個別出力</span></a> 
     291      </td> 
    289292      <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_EDIT}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td> 
    290293      <td class="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_MAIL}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">通知</span></a></td> 
  • branches/comu-ver2/data/Smarty/templates/default/admin/order/pdf_input.tpl

    r17351 r17364  
    3939<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF}-->"> 
    4040<input type="hidden" name="mode" value="confirm" /> 
    41 <input type="hidden" name="order_id" value="<!--{$arrForm.order_id}-->" /> 
     41<!--{foreach from=$arrForm.order_id item=order_id}--> 
     42<input type="hidden" name="order_id[]" value="<!--{$order_id}-->"> 
     43<!--{/foreach}--> 
    4244<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
    4345 
     
    4749    <tr> 
    4850      <th>受注番号</th> 
    49       <td><!--{$arrForm.order_id}--></td> 
     51      <td> 
     52        <!--{foreach from=$arrForm.order_id item=order_id}--> 
     53        <!--{$order_id}-->, 
     54        <!--{/foreach}--> 
     55      </td> 
    5056    </tr> 
    5157    <tr> 
  • 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}-->--> 
  • branches/comu-ver2/data/Smarty/templates/default/admin/products/product_class.tpl

    r17351 r17364  
    2222 */ 
    2323*}--> 
    24 ?<form name="form1" id="form1" method="post" action=""> 
     24<h2>商品規格登録</h2> 
     25<form name="form1" id="form1" method="post" action=""> 
    2526<!--{foreach key=key item=item from=$arrSearchHidden}--> 
    2627<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php

    r16741 r17364  
    2626 
    2727/** 
    28  * 商品登録(規格)のページクラス. 
     28 * 商品登録(商品規格)のページクラス. 
    2929 * 
    3030 * @package Page 
Note: See TracChangeset for help on using the changeset viewer.