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

Revision 22157, 12.4 KB checked in by h_yoshimoto, 10 years ago (diff)

#1992 英文テンプレートを一旦コミット

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