Ignore:
Timestamp:
2009/02/04 13:29:30 (15 years ago)
Author:
Seasoft
Message:

別のお届け先登録に関わる不具合を修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/mypage/delivery.tpl

    r17605 r17758  
    2222 */ 
    2323*}--> 
    24 <script type="text/javascript">//<![CDATA[ 
    25  
    26 function fnCheckAfterOpenWin(){ 
    27     if (<!--{$tpl_linemax}--> >= <!--{$smarty.const.DELIV_ADDR_MAX}-->){ 
    28         alert('最大登録数を超えています'); 
    29         return false; 
    30     }else{ 
    31         win02('./delivery_addr.php','new_deiv','600','640'); 
    32     } 
    33 } 
    34 //]]> 
    35 </script> 
    36  
    3724<!--▼CONTENTS--> 
    3825<div id="mypagecolumn"> 
    39   <h2 class="title"><!--{$tpl_title|escape}--></h2> 
     26    <h2 class="title"><!--{$tpl_title|escape}--></h2> 
    4027<!--{include file=$tpl_navi}--> 
    41   <div id="mycontentsarea"> 
    42     <h3><!--{$tpl_subtitle|escape}--></h3> 
    43     <p>登録住所以外へのご住所へ送付される場合等にご利用いただくことができます。<br /> 
    44      ※最大<!--{$smarty.const.DELIV_ADDR_MAX}-->件まで登録できます。</p> 
     28    <div id="mycontentsarea"> 
     29        <h3><!--{$tpl_subtitle|escape}--></h3> 
     30        <p>登録住所以外へのご住所へ送付される場合等にご利用いただくことができます。</p> 
     31        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|escape}-->件まで登録できます。</p> 
    4532 
    46     <p class="addbtn"> 
    47     <!--{if $tpl_linemax < 20}--> 
    48       <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/newadress_on.gif','newadress');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/newadress.gif','newadress');" target="_blank"><img src="<!--{$TPL_DIR}-->img/common/newadress.gif" width="160" height="22" alt="新しいお届け先を追加" border="0" name="newadress" /></a> 
    49     <!--{/if}--> 
    50     </p> 
     33        <!--{if $tpl_linemax < $smarty.const.DELIV_ADDR_MAX}--> 
     34            <p class="addbtn"> 
     35                <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/newadress_on.gif','newadress');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/newadress.gif','newadress');" target="_blank"><img src="<!--{$TPL_DIR}-->img/common/newadress.gif" width="160" height="22" alt="新しいお届け先を追加" border="0" name="newadress" /></a> 
     36            </p> 
     37        <!--{/if}--> 
    5138 
    52     <!--{if $tpl_linemax > 0}--> 
    53     <form name="form1" method="post" action="?" > 
    54       <input type="hidden" name="mode" value="" /> 
    55       <input type="hidden" name="other_deliv_id" value="" /> 
    56       <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
     39        <!--{if $tpl_linemax > 0}--> 
     40        <form name="form1" method="post" action="?" > 
     41            <input type="hidden" name="mode" value="" /> 
     42            <input type="hidden" name="other_deliv_id" value="" /> 
     43            <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
    5744 
    58       <table summary="お届け先"> 
    59         <tr> 
    60           <th colspan="5">▼お届け先</th> 
    61         </tr> 
    62        <!--{section name=cnt loop=$arrOtherDeliv}--> 
    63        <!--{assign var=OtherPref value="`$arrOtherDeliv[cnt].pref`"}--> 
    64         <tr> 
    65           <td class="centertd"><!--{$smarty.section.cnt.iteration}--></td> 
    66           <td><label for="add<!--{$smarty.section.cnt.iteration}-->">お届け先住所</label></td> 
    67           <td> 
    68             〒<!--{$arrOtherDeliv[cnt].zip01}-->-<!--{$arrOtherDeliv[cnt].zip02}--><br /> 
    69             <!--{$arrPref[$OtherPref]|escape}--><!--{$arrOtherDeliv[cnt].addr01|escape}--><!--{$arrOtherDeliv[cnt].addr02|escape}--><br /> 
    70         <!--{$arrOtherDeliv[cnt].name01|escape}-->&nbsp;<!--{$arrOtherDeliv[cnt].name02|escape}--> 
    71           </td> 
    72           <td class="centertd"> 
    73             <a href="./delivery_addr.php" onclick="win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a> 
    74           </td> 
    75           <td class="centertd"> 
    76             <a href="<!--{$smarty.server.PHP_SELF}-->" onclick="fnModeSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a> 
    77           </td> 
    78         </tr> 
    79         <!--{/section}--> 
    80       </table> 
    81     </form> 
    82     <!--{else}--> 
    83     <p class="delivempty"><strong>新しいお届け先はありません。</strong></p> 
    84     <!--{/if}--> 
    85   </div> 
     45            <table summary="お届け先"> 
     46                <tr> 
     47                    <th colspan="5">▼お届け先</th> 
     48                </tr> 
     49                <!--{section name=cnt loop=$arrOtherDeliv}--> 
     50                    <!--{assign var=OtherPref value="`$arrOtherDeliv[cnt].pref`"}--> 
     51                    <tr> 
     52                        <td class="centertd"><!--{$smarty.section.cnt.iteration}--></td> 
     53                        <td><label for="add<!--{$smarty.section.cnt.iteration}-->">お届け先住所</label></td> 
     54                        <td> 
     55                            〒<!--{$arrOtherDeliv[cnt].zip01}-->-<!--{$arrOtherDeliv[cnt].zip02}--><br /> 
     56                            <!--{$arrPref[$OtherPref]|escape}--><!--{$arrOtherDeliv[cnt].addr01|escape}--><!--{$arrOtherDeliv[cnt].addr02|escape}--><br /> 
     57                            <!--{$arrOtherDeliv[cnt].name01|escape}-->&nbsp;<!--{$arrOtherDeliv[cnt].name02|escape}--> 
     58                        </td> 
     59                        <td class="centertd"> 
     60                            <a href="./delivery_addr.php" onclick="win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a> 
     61                        </td> 
     62                        <td class="centertd"> 
     63                            <a href="<!--{$smarty.server.PHP_SELF}-->" onclick="fnModeSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a> 
     64                        </td> 
     65                    </tr> 
     66                <!--{/section}--> 
     67            </table> 
     68        </form> 
     69        <!--{else}--> 
     70        <p class="delivempty"><strong>新しいお届け先はありません。</strong></p> 
     71        <!--{/if}--> 
     72    </div> 
    8673</div> 
    8774<!--▲CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.