Ignore:
Timestamp:
2010/09/22 13:23:00 (14 years ago)
Author:
eccuore
Message:

#792(ダウンロード販売機能) 入金日追加、規格対応(規格構成変更と並行で作業中なので、作業途中の部分有)

File:
1 edited

Legend:

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

    r18815 r18819  
    2323*}--> 
    2424<h2>商品規格登録</h2> 
    25 <form name="form1" id="form1" method="post" action=""> 
     25<form name="form1" id="form1" method="post" action="" enctype="multipart/form-data"> 
    2626<!--{foreach key=key item=item from=$arrSearchHidden}--> 
    2727<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
     
    3030<input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
    3131<input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
     32<input type="hidden" name="down_key" value=""> 
     33<!--{foreach key=key item=item from=$arrHidden}--> 
     34<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
     35<!--{/foreach}--> 
    3236<div id="products" class="contents-main"> 
    3337 
     
    7175 
    7276  <!--{if count($arrClassCat) > 0}--> 
    73              
     77 
    7478  <!--{foreach item=item name=i from=$arrClassCat}--> 
    7579    <!--{if $smarty.foreach.i.first}--> 
    76       <!--{assign var=cnt value=$smarty.foreach.i.total}-->   
     80      <!--{assign var=cnt value=$smarty.foreach.i.total}--> 
    7781    <!--{/if}--> 
    7882  <!--{/foreach}--> 
    79              
     83 
    8084  <div class="btn"> 
    8185    <button type="button" onclick="fnAllCheck(); return false;"><span>全選択</span></button> 
     
    97101      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th> 
    98102      <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)<span class="attention">*</span></th> 
     103      <th>実商品・ダウンロード<span class="attention"> *</span></th> 
     104      <th>ダウンロードファイル名<BR><span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></th> 
     105      <th>ダウンロード商品用ファイルアップロード<BR>登録可能拡張子:<!--{$smarty.const.DOWNLOAD_EXTENSION}--> (パラメータ DOWNLOAD_EXTENSION)</th> 
    99106    </tr> 
    100107    <!--{section name=cnt loop=$arrClassCat}--> 
     
    131138      <!--{assign var=key value="price02:`$smarty.section.cnt.iteration`"}--> 
    132139      <td align="center"><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" <!--{if $arrErr[$key] != ""}--><!--{sfSetErrorStyle}--><!--{/if}-->></td> 
     140      <td> 
     141        <!--{assign var=key value="down:`$smarty.section.cnt.iteration`"}--> 
     142        <input type="radio" name="<!--{$key}-->" value="1" <!--{if $arrForm[$key] == "1"}-->checked<!--{/if}-->/>実商品  
     143        <input type="radio" name="<!--{$key}-->" value="2" <!--{if $arrForm[$key] == "2"}-->checked<!--{/if}--> />ダウンロード 
     144      </td> 
     145      <td> 
     146        <!--{assign var=key value="down_filename:`$smarty.section.cnt.iteration`"}--> 
     147        <span class="attention"><!--{$arrErr[$key]}--></span> 
     148        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr[$key] != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /> 
     149      </td> 
     150      <!--{assign var=key value="down_realfilename:`$smarty.section.cnt.iteration`"}--> 
     151      <td> 
     152        <span class="attention"><!--{$arrErr[$key]}--></span> 
     153          <!--{if $arrForm[$key] != ""}--> 
     154            <!--{$arrForm[$key]|escape}--><input type="hidden" name="<!--{$key}-->" value="<!--{$arrForm[$key]|escape}-->"> 
     155            <a href="" onclick="fnModeSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br> 
     156          <!--{/if}--> 
     157          <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 
     158          <input type="button" name="btn" onclick="fnModeSubmit('upload_down', 'down_key', '<!--{$key}-->')" value="アップロード"> 
     159      </td> 
    133160    </tr> 
    134161    <!--{/section}--> 
     
    136163 
    137164  <div class="btn"><button type="submit"><span>確認ページへ</span></button></div> 
    138    
     165 
    139166  <!--{/if}--> 
    140    
     167 
    141168</div> 
    142169</form> 
Note: See TracChangeset for help on using the changeset viewer.