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

Revision 22222, 12.5 KB checked in by m_uehara, 9 years ago (diff)

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

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>Name&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="Last name" />&nbsp;&nbsp;
33    <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" class="boxHarf text data-role-none" placeholder="Name" />
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>Postal code&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=key4 value="`$prefix`addr01"}-->
52    <!--{assign var=key5 value="`$prefix`addr02"}-->
53
54    <!--{*
55    <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
56        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
57    <!--{/if}-->
58    *}-->
59    <!--{if $arrErr[$key1]}-->
60        <div class="attention"><!--{$arrErr[$key1]}--></div>
61    <!--{/if}-->
62
63    <!--{* <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">Postal code search</span></a></p> *}-->
64    <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">Postal code search</span></a></p>
65
66    <!--{* <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip">Automatic address input from postal code</a> *}-->
67</dd>
68
69<dt>Address&nbsp;<span class="attention">*</span></dt>
70<dd>
71    <!--{if $arrErr[$key4] || $arrErr[$key5]}-->
72        <div class="attention"><!--{$arrErr[$key4]}--><!--{$arrErr[$key5]}--></div>
73    <!--{/if}-->
74
75    <input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4]|h}-->" class="boxLong text top data-role-none" placeholder="Municipality name" />
76    <input type="text" name="<!--{$key5}-->" value="<!--{$arrForm[$key5]|h}-->" class="boxLong text data-role-none" placeholder="House number/building name" />
77</dd>
78
79<dt>Telephone number&nbsp;<span class="attention">*</span></dt>
80<dd>
81    <!--{assign var=key1 value="`$prefix`tel01"}-->
82    <!--{assign var=key2 value="`$prefix`tel02"}-->
83    <!--{assign var=key3 value="`$prefix`tel03"}-->
84    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
85        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
86    <!--{/if}-->
87    <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" />
88</dd>
89
90<dt>FAX</dt>
91<dd>
92    <!--{assign var=key1 value="`$prefix`fax01"}-->
93    <!--{assign var=key2 value="`$prefix`fax02"}-->
94    <!--{assign var=key3 value="`$prefix`fax03"}-->
95    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
96        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
97    <!--{/if}-->
98    <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" />
99</dd>
100
101<!--{if $flgFields > 1}-->
102
103    <dt>E-mail address&nbsp;<span class="attention">*</span></dt>
104    <dd>
105        <!--{assign var=key1 value="`$prefix`email"}-->
106        <!--{assign var=key2 value="`$prefix`email02"}-->
107        <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
108            <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
109        <!--{/if}-->
110        <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" class="boxLong text top data-role-none" />
111        <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" class="boxLong text data-role-none" placeholder="Input twice for confirmation" />
112    </dd>
113
114    <!--{if $emailMobile}-->
115        <dt>Mobile e-mail address&nbsp;<span class="attention">*</span></dt>
116        <dd>
117            <!--{assign var=key1 value="`$prefix`email_mobile"}-->
118            <!--{assign var=key2 value="`$prefix`email_mobile02"}-->
119            <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
120                <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
121            <!--{/if}-->
122            <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1]|h}-->" class="boxLong text top data-role-none" />
123            <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2]|h}-->" class="boxLong text data-role-none" placeholder="Input twice for confirmation" />
124        </dd>
125    <!--{/if}-->
126
127    <dt>Gender&nbsp;<span class="attention">*</span></dt>
128    <dd>
129        <!--{assign var=key1 value="`$prefix`sex"}-->
130        <!--{if $arrErr[$key1]}-->
131            <div class="attention"><!--{$arrErr[$key1]}--></div>
132        <!--{/if}-->
133        <span style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
134            <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">Male</label>&nbsp;&nbsp;
135            <input type="radio" id="woman" name="<!--{$key1}-->" value="2" <!--{if $arrForm[$key1] eq 2}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="woman">Female</label></p>
136        </span>
137    </dd>
138
139    <dt>Occupation</dt>
140    <dd>
141        <!--{assign var=key1 value="`$prefix`job"}-->
142        <!--{if $arrErr[$key1]}-->
143            <div class="attention"><!--{$arrErr[$key1]}--></div>
144        <!--{/if}-->
145        <select name="<!--{$key1}-->" class="boxLong data-role-none">
146            <option value="" selected="selected">Please make a selection</option>
147            <!--{html_options options=$arrJob selected=$arrForm[$key1]}-->
148        </select>
149    </dd>
150
151    <dt>Date of birth</dt>
152    <dd>
153        <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}-->
154        <!--{if $errBirth}-->
155            <div class="attention"><!--{$errBirth}--></div>
156        <!--{/if}-->
157        <select name="year" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
158            <!--{html_options options=$arrYear selected=$arrForm.year|default:''}-->
159        </select><span class="selectdate">年</span>
160        <select name="month" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
161            <!--{html_options options=$arrMonth selected=$arrForm.month|default:''}-->
162        </select><span class="selectdate">月</span>
163        <select name="day" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
164            <!--{html_options options=$arrDay selected=$arrForm.day|default:''}-->
165        </select><span class="selectdate">日</span>
166    </dd>
167
168    <!--{if $flgFields > 2}-->
169        <dt>Desired password&nbsp;<span class="attention">*</span></dt>
170        <dd>
171            <!--{if $arrErr.password || $arrErr.password02}-->
172                <div class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></div>
173            <!--{/if}-->
174            <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" />
175            <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="Input twice for confirmation" />
176            <p class="attention mini">Half-width alphanumeric characters <!--{$smarty.const.PASSWORD_MIN_LEN}--> to <!--{$smarty.const.PASSWORD_MAX_LEN}--> characters</p>
177        </dd>
178
179        <dt>Hint for when you have forgotten your password&nbsp;<span class="attention">*</span></dt>
180        <dd>
181            <!--{if $arrErr.reminder || $arrErr.reminder_answer}-->
182                <div class="attention"><!--{$arrErr.reminder}--><!--{$arrErr.reminder_answer}--></div>
183            <!--{/if}-->
184            <select name="reminder" style="<!--{$arrErr.reminder|sfGetErrorColor}-->" class="boxLong top data-role-none">
185                <option value="" selected="selected">Select a question</option>
186                <!--{html_options options=$arrReminder selected=$arrForm.reminder}-->
187            </select>
188
189            <input type="text" name="reminder_answer" value="<!--{$arrForm.reminder_answer|h}-->" class="boxLong text data-role-none" placeholder="Enter the answer to the question" />
190        </dd>
191
192        <dt>Mail magazine&nbsp;<span class="attention">*</span></dt>
193        <dd>
194            <!--{if $arrErr.mailmaga_flg}-->
195                <div class="attention"><!--{$arrErr.mailmaga_flg}--></div>
196            <!--{/if}-->
197            <ul style="<!--{$arrErr.mailmaga_flg|sfGetErrorColor}-->">
198                <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">Receive HTML mail + text mail</label></li>
199                <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">Receive a text mail</label></li>
200                <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">Not accepted</label></li>
201            </ul>
202        </dd>
203    <!--{/if}-->
204<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.