source: branches/version-2_12-multilang/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl @ 22205

Revision 22205, 13.0 KB checked in by m_uehara, 8 years ago (diff)

#2004 郵便番号を2カラムから1カラムに変更しました。

  • 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-2012 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<dt>お名前&nbsp;<span class="attention">※</span></dt>
26<dd>
27    <!--{assign var=key1 value="`$prefix`name01"}-->
28    <!--{assign var=key2 value="`$prefix`name02"}-->
29    <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
30        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
31    <!--{/if}-->
32    <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="姓" />&nbsp;&nbsp;
33    <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="名" />
34</dd>
35
36<dt>お名前(フリガナ)&nbsp;<span class="attention">※</span></dt>
37<dd>
38    <!--{assign var=key1 value="`$prefix`kana01"}-->
39    <!--{assign var=key2 value="`$prefix`kana02"}-->
40    <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
41        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
42    <!--{/if}-->
43    <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="セイ"/>&nbsp;&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="メイ"/>
44</dd>
45
46<dt>郵便番号&nbsp;<span class="attention">※</span></dt>
47<dd>
48    <!--{* <!--{assign var=key1 value="`$prefix`zip01"}--> *}-->
49    <!--{* <!--{assign var=key2 value="`$prefix`zip02"}--> *}-->
50    <!--{assign var=key1 value="`$prefix`zipcode"}-->
51    <!--{assign var=key3 value="`$prefix`pref"}-->
52    <!--{assign var=key4 value="`$prefix`addr01"}-->
53    <!--{assign var=key5 value="`$prefix`addr02"}-->
54
55    <!--{*
56    <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
57        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
58    <!--{/if}-->
59    *}-->
60    <!--{if $arrErr[$key1]}-->
61        <div class="attention"><!--{$arrErr[$key1]}--></div>
62    <!--{/if}-->
63
64    <!--{* <p><input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" max="<!--{$smarty.const.ZIP01_LEN}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.ZIP02_LEN}-->" class="boxShort text data-role-none" />&nbsp;&nbsp;<a href="http://search.post.japanpost.jp/zipcode/" target="_blank" rel="external"><span class="fn">郵便番号検索</span></a></p> *}-->
65    <p><input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" max="<!--{$smarty.const.ZIPCODE_LEN}-->" class="boxShort text data-role-none" />&nbsp;&nbsp;<a href="http://search.post.japanpost.jp/zipcode/" target="_blank" rel="external"><span class="fn">郵便番号検索</span></a></p>
66
67    <!--{* <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a> *}-->
68</dd>
69
70<dt>住所&nbsp;<span class="attention">※</span></dt>
71<dd>
72    <!--{if $arrErr[$key3] || $arrErr[$key4] || $arrErr[$key5]}-->
73        <div class="attention"><!--{$arrErr[$key3]}--><!--{$arrErr[$key4]}--><!--{$arrErr[$key5]}--></div>
74    <!--{/if}-->
75    <select name="<!--{$key3}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" class="boxHarf top data-role-none">
76        <option value="" selected="selected">都道府県</option>
77        <!--{html_options options=$arrPref selected=$arrForm[$key3]}-->
78    </select>
79
80    <input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4]|h}-->" class="boxLong text top data-role-none" placeholder="市区町村名" />
81    <input type="text" name="<!--{$key5}-->" value="<!--{$arrForm[$key5]|h}-->" class="boxLong text data-role-none" placeholder="番地・ビル名" />
82</dd>
83
84<dt>電話番号&nbsp;<span class="attention">※</span></dt>
85<dd>
86    <!--{assign var=key1 value="`$prefix`tel01"}-->
87    <!--{assign var=key2 value="`$prefix`tel02"}-->
88    <!--{assign var=key3 value="`$prefix`tel03"}-->
89    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
90        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
91    <!--{/if}-->
92    <input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key3}-->" value="<!--{$arrForm[$key3]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />
93</dd>
94
95<dt>FAX</dt>
96<dd>
97    <!--{assign var=key1 value="`$prefix`fax01"}-->
98    <!--{assign var=key2 value="`$prefix`fax02"}-->
99    <!--{assign var=key3 value="`$prefix`fax03"}-->
100    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
101        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
102    <!--{/if}-->
103    <input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key3}-->" value="<!--{$arrForm[$key3]|h}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" class="boxShort text data-role-none" />
104</dd>
105
106<!--{if $flgFields > 1}-->
107
108    <dt>メールアドレス&nbsp;<span class="attention">※</span></dt>
109    <dd>
110        <!--{assign var=key1 value="`$prefix`email"}-->
111        <!--{assign var=key2 value="`$prefix`email02"}-->
112        <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
113            <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
114        <!--{/if}-->
115        <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" class="boxLong text top data-role-none" />
116        <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
117    </dd>
118
119    <!--{if $emailMobile}-->
120        <dt>携帯メールアドレス&nbsp;<span class="attention">※</span></dt>
121        <dd>
122            <!--{assign var=key1 value="`$prefix`email_mobile"}-->
123            <!--{assign var=key2 value="`$prefix`email_mobile02"}-->
124            <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
125                <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
126            <!--{/if}-->
127            <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" class="boxLong text top data-role-none" />
128            <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
129        </dd>
130    <!--{/if}-->
131
132    <dt>性別&nbsp;<span class="attention">※</span></dt>
133    <dd>
134        <!--{assign var=key1 value="`$prefix`sex"}-->
135        <!--{if $arrErr[$key1]}-->
136            <div class="attention"><!--{$arrErr[$key1]}--></div>
137        <!--{/if}-->
138        <span style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
139            <p><input type="radio" id="man" name="<!--{$key1}-->" value="1" <!--{if $arrForm[$key1] eq 1}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="man">男性</label>&nbsp;&nbsp;
140            <input type="radio" id="woman" name="<!--{$key1}-->" value="2" <!--{if $arrForm[$key1] eq 2}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="woman">女性</label></p>
141        </span>
142    </dd>
143
144    <dt>職業</dt>
145    <dd>
146        <!--{assign var=key1 value="`$prefix`job"}-->
147        <!--{if $arrErr[$key1]}-->
148            <div class="attention"><!--{$arrErr[$key1]}--></div>
149        <!--{/if}-->
150        <select name="<!--{$key1}-->" class="boxLong data-role-none">
151            <option value="" selected="selected">選択してください</option>
152            <!--{html_options options=$arrJob selected=$arrForm[$key1]}-->
153        </select>
154    </dd>
155
156    <dt>生年月日</dt>
157    <dd>
158        <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}-->
159        <!--{if $errBirth}-->
160            <div class="attention"><!--{$errBirth}--></div>
161        <!--{/if}-->
162        <select name="year" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
163            <!--{html_options options=$arrYear selected=$arrForm.year|default:''}-->
164        </select><span class="selectdate">年</span>
165        <select name="month" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
166            <!--{html_options options=$arrMonth selected=$arrForm.month|default:''}-->
167        </select><span class="selectdate">月</span>
168        <select name="day" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
169            <!--{html_options options=$arrDay selected=$arrForm.day|default:''}-->
170        </select><span class="selectdate">日</span>
171    </dd>
172
173    <!--{if $flgFields > 2}-->
174        <dt>希望するパスワード&nbsp;<span class="attention">※</span></dt>
175        <dd>
176            <!--{if $arrErr.password || $arrErr.password02}-->
177                <div class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></div>
178            <!--{/if}-->
179            <input type="password" name="password" value="<!--{$arrForm.password|h}-->" maxlength="<!--{$smarty.const.PASSWORD_MAX_LEN}-->" style="<!--{$arrErr.password|sfGetErrorColor}-->" class="boxLong text top data-role-none" />
180            <input type="password" name="password02" value="<!--{$arrForm.password02|h}-->" maxlength="<!--{$smarty.const.PASSWORD_MAX_LEN}-->" style="<!--{$arrErr.password|cat:$arrErr.password02|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
181            <p class="attention mini">半角英数字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字</p>
182        </dd>
183
184        <dt>パスワードを忘れた時のヒント&nbsp;<span class="attention">※</span></dt>
185        <dd>
186            <!--{if $arrErr.reminder || $arrErr.reminder_answer}-->
187                <div class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></div>
188            <!--{/if}-->
189            <select name="reminder" style="<!--{$arrErr.reminder|sfGetErrorColor}-->" class="boxLong top data-role-none">
190                <option value="" selected="selected">質問を選択してください</option>
191                <!--{html_options options=$arrReminder selected=$arrForm.reminder}-->
192            </select>
193
194            <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" class="boxLong text data-role-none" placeholder="質問の答えを入力してください" />
195        </dd>
196
197        <dt>メールマガジン&nbsp;<span class="attention">※</span></dt>
198        <dd>
199            <!--{if $arrErr.mailmaga_flg}-->
200                <div class="attention"><!--{$arrErr.mailmaga_flg}--></div>
201            <!--{/if}-->
202            <ul style="<!--{$arrErr.mailmaga_flg|sfGetErrorColor}-->">
203                <li><input type="radio" name="mailmaga_flg" value="1" id="html" <!--{if $arrForm.mailmaga_flg eq 1}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="html">HTMLメール+テキストメールを受け取る</label></li>
204                <li><input type="radio" name="mailmaga_flg" value="2" id="text" <!--{if $arrForm.mailmaga_flg eq 2}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="text">テキストメールを受け取る</label></li>
205                <li><input type="radio" name="mailmaga_flg" value="3" id="no" <!--{if $arrForm.mailmaga_flg eq 3}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="no">受け取らない</label></li>
206            </ul>
207        </dd>
208    <!--{/if}-->
209<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.