source: branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl @ 23230

Revision 23230, 15.0 KB checked in by m_uehara, 7 years ago (diff)

#2363 r23177, r23181 - r23186, r23188 - r23191, r23194, r23197, r23199 - r23218, r23220, r23223 - r23225 をマージ

  • 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<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].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="姓" />&nbsp;&nbsp;
33    <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="名" />
34</dd>
35
36<dt>お名前(フリガナ)<!--{if !$smarty.const.FORM_COUNTRY_ENABLE}-->&nbsp;<span class="attention">※</span><!--{/if}--></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].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="セイ"/>&nbsp;&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxHarf text data-role-none" placeholder="メイ"/>
44</dd>
45
46<dt>会社名</dt>
47<dd>
48    <!--{assign var=key1 value="`$prefix`company_name"}-->
49    <!--{if $arrErr[$key1]}-->
50        <div class="attention"><!--{$arrErr[$key1]}--></div>
51    <!--{/if}-->
52    <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxLong text data-role-none" />
53</dd>
54
55<!--{if $smarty.const.FORM_COUNTRY_ENABLE}-->
56<dt>国&nbsp;<span class="attention">※</span></dt>
57<dd>
58    <!--{assign var=key1 value="`$prefix`country_id"}-->
59    <!--{if $arrErr[$key1]}-->
60        <div class="attention"><!--{$arrErr[$key1]}--></div>
61    <!--{/if}-->
62    <select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
63        <option value="" selected="selected">国を選択</option>
64        <!--{html_options options=$arrCountry selected=$arrForm[$key1].value|h|default:$smarty.const.DEFAULT_COUNTRY_ID}-->
65    </select>
66</dd>
67
68<dt>ZIP CODE</dt>
69<dd>
70    <!--{assign var=key1 value="`$prefix`zipcode"}-->
71    <!--{if $arrErr[$key1]}-->
72        <div class="attention"><!--{$arrErr[$key1]}--></div>
73    <!--{/if}-->
74    <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" class="boxLong text data-role-none" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->; ime-mode: disabled;" />
75</dd>
76
77<!--{else}-->
78<!--{assign var=key1 value="`$prefix`country_id"}-->
79<input type="hidden" name="<!--{$key1}-->" value="<!--{$smarty.const.DEFAULT_COUNTRY_ID}-->" />
80<!--{/if}-->
81
82<dt>郵便番号<!--{if !$smarty.const.FORM_COUNTRY_ENABLE}-->&nbsp;<span class="attention">※</span><!--{/if}--></dt>
83<dd>
84    <!--{assign var=key1 value="`$prefix`zip01"}-->
85    <!--{assign var=key2 value="`$prefix`zip02"}-->
86    <!--{assign var=key3 value="`$prefix`pref"}-->
87    <!--{assign var=key4 value="`$prefix`addr01"}-->
88    <!--{assign var=key5 value="`$prefix`addr02"}-->
89    <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
90        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
91    <!--{/if}-->
92    <p><input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" 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>
93
94    <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
95</dd>
96
97<dt>住所&nbsp;<span class="attention">※</span></dt>
98<dd>
99    <!--{if $arrErr[$key3] || $arrErr[$key4] || $arrErr[$key5]}-->
100        <div class="attention"><!--{$arrErr[$key3]}--><!--{$arrErr[$key4]}--><!--{$arrErr[$key5]}--></div>
101    <!--{/if}-->
102    <select name="<!--{$key3}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" class="boxHarf top data-role-none">
103        <option value="">都道府県</option>
104        <!--{html_options options=$arrPref selected=$arrForm[$key3].value}-->
105    </select>
106
107    <input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4].value|h}-->" style="<!--{$arrErr[$key4]|sfGetErrorColor}-->" class="boxLong text top data-role-none" placeholder="市区町村名" />
108    <input type="text" name="<!--{$key5}-->" value="<!--{$arrForm[$key5].value|h}-->" style="<!--{$arrErr[$key5]|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="番地・ビル名" />
109</dd>
110
111<dt>電話番号&nbsp;<span class="attention">※</span></dt>
112<dd>
113    <!--{assign var=key1 value="`$prefix`tel01"}-->
114    <!--{assign var=key2 value="`$prefix`tel02"}-->
115    <!--{assign var=key3 value="`$prefix`tel03"}-->
116    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
117        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
118    <!--{/if}-->
119    <input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key3}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" class="boxShort text data-role-none" />
120</dd>
121
122<dt>FAX</dt>
123<dd>
124    <!--{assign var=key1 value="`$prefix`fax01"}-->
125    <!--{assign var=key2 value="`$prefix`fax02"}-->
126    <!--{assign var=key3 value="`$prefix`fax03"}-->
127    <!--{if $arrErr[$key1] || $arrErr[$key2] || $arrErr[$key3]}-->
128        <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--><!--{$arrErr[$key3]}--></div>
129    <!--{/if}-->
130    <input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxShort text data-role-none" />&nbsp;-&nbsp;<input type="tel" name="<!--{$key3}-->" value="<!--{$arrForm[$key3].value|h}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" class="boxShort text data-role-none" />
131</dd>
132
133<!--{if $flgFields > 1}-->
134
135    <dt>メールアドレス&nbsp;<span class="attention">※</span></dt>
136    <dd>
137        <!--{assign var=key1 value="`$prefix`email"}-->
138        <!--{assign var=key2 value="`$prefix`email02"}-->
139        <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
140            <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
141        <!--{/if}-->
142        <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxLong text top data-role-none" />
143        <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
144    </dd>
145
146    <!--{if $emailMobile}-->
147        <dt>携帯メールアドレス</dt>
148        <dd>
149            <!--{assign var=key1 value="`$prefix`email_mobile"}-->
150            <!--{assign var=key2 value="`$prefix`email_mobile02"}-->
151            <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
152                <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
153            <!--{/if}-->
154            <input type="email" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxLong text top data-role-none" />
155            <input type="email" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
156        </dd>
157    <!--{/if}-->
158
159    <dt>性別&nbsp;<span class="attention">※</span></dt>
160    <dd>
161        <!--{assign var=key1 value="`$prefix`sex"}-->
162        <!--{if $arrErr[$key1]}-->
163            <div class="attention"><!--{$arrErr[$key1]}--></div>
164        <!--{/if}-->
165        <p style="<!--{$arrErr[$key1]|sfGetErrorColor}-->">
166            <!--{html_radios name=$key1 options=$arrSex selected=$arrForm[$key1].value separator='&nbsp;&nbsp;'}-->
167        </p>
168    </dd>
169
170    <dt>職業</dt>
171    <dd>
172        <!--{assign var=key1 value="`$prefix`job"}-->
173        <!--{if $arrErr[$key1]}-->
174            <div class="attention"><!--{$arrErr[$key1]}--></div>
175        <!--{/if}-->
176        <select name="<!--{$key1}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxLong data-role-none">
177            <option value="">選択してください</option>
178            <!--{html_options options=$arrJob selected=$arrForm[$key1].value}-->
179        </select>
180    </dd>
181
182    <dt>生年月日</dt>
183    <dd>
184        <!--{assign var=key1 value="`$prefix`year"}-->
185        <!--{assign var=key2 value="`$prefix`month"}-->
186        <!--{assign var=key3 value="`$prefix`day"}-->
187        <!--{assign var=errBirth value="`$arrErr.$key1``$arrErr.$key2``$arrErr.$key3`"}-->
188        <!--{if $errBirth}-->
189        <div class="attention"><!--{$errBirth}--></div>
190        <!--{/if}-->
191        <select name="<!--{$key1}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
192            <!--{html_options options=$arrYear selected=$arrForm[$key1].value|default:''}-->
193        </select><span class="selectdate">年</span>
194        <select name="<!--{$key2}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
195            <!--{html_options options=$arrMonth selected=$arrForm[$key2].value|default:''}-->
196        </select><span class="selectdate">月</span>
197        <select name="<!--{$key3}-->" style="<!--{$errBirth|sfGetErrorColor}-->" class="boxShort data-role-none">
198            <!--{html_options options=$arrDay selected=$arrForm[$key3].value|default:''}-->
199        </select><span class="selectdate">日</span>
200    </dd>
201
202    <!--{if $flgFields > 2}-->
203        <dt>希望するパスワード&nbsp;<span class="attention">※</span></dt>
204        <dd>
205            <!--{assign var=key1 value="`$prefix`password"}-->
206            <!--{assign var=key2 value="`$prefix`password02"}-->
207            <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
208            <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
209            <!--{/if}-->
210            <input type="password" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" class="boxLong text top data-role-none" />
211            <input type="password" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key1]|cat:$arrErr[$key2]|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="確認のため2回入力してください" />
212            <p class="attention mini">半角英数字<!--{$smarty.const.PASSWORD_MIN_LEN}-->~<!--{$smarty.const.PASSWORD_MAX_LEN}-->文字</p>
213        </dd>
214
215        <dt>パスワードを忘れた時のヒント&nbsp;<span class="attention">※</span></dt>
216        <dd>
217            <!--{assign var=key1 value="`$prefix`reminder"}-->
218            <!--{assign var=key2 value="`$prefix`reminder_answer"}-->
219            <!--{if $arrErr[$key1] || $arrErr[$key2]}-->
220            <div class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></div>
221            <!--{/if}-->
222            <select name="<!--{$key1}-->" style="<!--{$arrErr.reminder|sfGetErrorColor}-->" class="boxLong top data-role-none">
223                <option value="">質問を選択してください</option>
224                <!--{html_options options=$arrReminder selected=$arrForm[$key1].value}-->
225            </select>
226
227            <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" class="boxLong text data-role-none" placeholder="質問の答えを入力してください" />
228        </dd>
229
230        <dt>メールマガジン&nbsp;<span class="attention">※</span></dt>
231        <dd>
232            <!--{assign var=key1 value="`$prefix`mailmaga_flg"}-->
233            <!--{if $arrErr[$key1]}-->
234                <div class="attention"><!--{$arrErr[$key1]}--></div>
235            <!--{/if}-->
236            <ul style="<!--{$arrErr.mailmaga_flg|sfGetErrorColor}-->">
237                <!--{foreach from=$arrMAILMAGATYPE name=cnt item=type key=key}-->
238                <li><input type="radio" name="<!--{$key1}-->" value="<!--{$key}-->" id="<!--{$key1}--><!--{$key}-->" <!--{if $arrForm[$key1].value == $key}--> checked="checked" <!--{/if}--> class="data-role-none" /><label for="<!--{$key1}--><!--{$key}-->"><!--{$type}--></label></li>
239                <!--{/foreach}-->
240            </ul>
241        </dd>
242    <!--{/if}-->
243<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.