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

Revision 21294, 12.1 KB checked in by shutta, 9 years ago (diff)

refs #1513
スマートフォンの郵便番号入力部分のinput typeの指定をnumberからtelに変更。

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