source: branches/version-2_13-dev/data/Smarty/templates/default/mypage/delivery.tpl @ 22782

Revision 22782, 4.2 KB checked in by pineray, 11 years ago (diff)

#2218 お届け先最大登録数の比較演算子を元に戻し、スクリプト側のカウント部分を変更

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24
25<div id="mypagecolumn">
26    <h2 class="title"><!--{$tpl_title|h}--></h2>
27    <!--{include file=$tpl_navi}-->
28    <div id="mycontents_area">
29        <h3><!--{$tpl_subtitle|h}--></h3>
30        <p class="inforamtion">登録住所以外への住所へ送付される場合等にご利用いただくことができます。<br />
31        ※最大<span class="attention"><!--{$smarty.const.DELIV_ADDR_MAX|h}-->件</span>まで登録できます。</p>
32
33        <!--{if $tpl_linemax < $smarty.const.DELIV_ADDR_MAX}-->
34            <!--{* 退会時非表示 *}-->
35            <!--{if $tpl_login}-->
36                <p class="add_address">
37                    <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','newadress');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','newadress');" target="_blank"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加" border="0" name="newadress" /></a>
38                </p>
39            <!--{/if}-->
40        <!--{/if}-->
41
42        <!--{if $tpl_linemax > 0}-->
43        <form name="form1" method="post" action="?" >
44            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
45            <input type="hidden" name="mode" value="" />
46            <input type="hidden" name="other_deliv_id" value="" />
47            <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" />
48
49            <table summary="お届け先">
50            <col width="5%" />
51            <col width="25%" />
52            <col width="50%" />
53            <col width="10%" />
54            <col width="10%" />
55                <tr>
56                    <th colspan="5">お届け先</th>
57                </tr>
58                <!--{section name=cnt loop=$arrOtherDeliv}-->
59                    <!--{assign var=OtherPref value="`$arrOtherDeliv[cnt].pref`"}-->
60                    <tr>
61                        <td class="alignC"><!--{$smarty.section.cnt.iteration}--></td>
62                        <td><label for="add<!--{$smarty.section.cnt.iteration}-->">お届け先住所</label></td>
63                        <td>
64                            〒<!--{$arrOtherDeliv[cnt].zip01}-->-<!--{$arrOtherDeliv[cnt].zip02}--><br />
65                            <!--{$arrPref[$OtherPref]|h}--><!--{$arrOtherDeliv[cnt].addr01|h}--><!--{$arrOtherDeliv[cnt].addr02|h}--><br />
66                            <!--{$arrOtherDeliv[cnt].name01|h}-->&nbsp;<!--{$arrOtherDeliv[cnt].name02|h}-->
67                        </td>
68                        <td class="alignC">
69                            <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>
70                        </td>
71                        <td class="alignC">
72                            <a href="#" onclick="fnModeSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a>
73                        </td>
74                    </tr>
75                <!--{/section}-->
76            </table>
77        </form>
78        <!--{else}-->
79        <p class="delivempty"><strong>新しいお届け先はありません。</strong></p>
80        <!--{/if}-->
81    </div>
82</div>
Note: See TracBrowser for help on using the repository browser.