source: branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl @ 22788

Revision 22788, 4.1 KB checked in by Seasoft, 8 years ago (diff)

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)
#2044 (無駄な処理を改善する for 2.12.4)

  • 現状の定数値では sfTrimURL は不要
  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22
23<div class="block_outer">
24    <div id="login_area">
25        <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_login.gif" alt="ログイン" /></h2>
26        <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form')">
27            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
28            <input type="hidden" name="mode" value="login" />
29            <input type="hidden" name="url" value="<!--{$smarty.server.REQUEST_URI|h}-->" />
30            <div class="block_body">
31                <!--{if $tpl_login}-->
32                    <p>ようこそ<br />
33                        <span class="user_name"><!--{$tpl_name1|h}--> <!--{$tpl_name2|h}--> 様</span><br />
34                        <!--{if $smarty.const.USE_POINT !== false}-->
35                            所持ポイント:<span class="point"> <!--{$tpl_user_point|number_format|default:0}--> pt</span>
36                        <!--{/if}-->
37                    </p>
38                    <!--{if !$tpl_disable_logout}-->
39                        <p class="btn">
40                            <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;" alt="ログアウト" />
41                        </p>
42                    <!--{/if}-->
43                <!--{else}-->
44                    <dl class="formlist">
45                        <dt>メールアドレス</dt>
46                        <dd>
47                            <input type="text" name="login_email" class="box140" value="<!--{$tpl_login_email|h}-->" style="ime-mode: disabled;" />
48                        </dd>
49                        <dd class="mini">
50                            <input type="checkbox" name="login_memory" id="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}--> />
51                            <label for="login_memory"><span>コンピューターに記憶する</span></label>
52                        </dd>
53                    </dl>
54                    <dl class="formlist">
55                        <dt class="password">パスワード</dt>
56                        <dd><input type="password" name="login_pass" class="box140" /></dd>
57                        <dd class="mini">
58                        <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a>
59                        </dd>
60                    </dl>
61                    <p class="btn">
62                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg" alt="ログイン" />
63                    </p>
64                <!--{/if}-->
65            </div>
66        </form>
67    </div>
68</div>
Note: See TracBrowser for help on using the repository browser.