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

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