source: branches/comu-ver2/data/Smarty/templates/default/bloc/login.tpl @ 17612

Revision 17612, 3.5 KB checked in by Seasoft, 16 years ago (diff)

r17605 の変更漏れ対応。
・<a>要素の置換漏れ対応。(本来は <input> や <button> に変更した方が良さそうな箇所もあるが、簡易的に置換した。)
・未対応のロジックを含む SC_Utils::sfReload() の呼び出しを LC_Page::reload() に代替。(モバイルは除く。) なお、LC_Page_Cart::process()には「FIXME reload() を使った方が良いが無限ループしてしまう...」とコメントがあったが、再現しなかった。環境依存(CGI?)が懸念される。( http://q.hatena.ne.jp/1107746608)
・LC_Page:reload() での Net_URL クラス生成のパラメータとして $_SERVERREQUEST_URI? を与える。これにより、index.php にリダイレクトされるのを防ぐ。

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 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<h2>
24  <img src="<!--{$TPL_DIR}-->img/side/title_login.jpg" width="166" height="35" alt="ログイン" />
25</h2>
26  <div id="loginarea">
27    <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.SSL_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form')">
28      <input type="hidden" name="mode" value="login" />
29      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
30      <input type="hidden" name="url" value="<!--{$smarty.server.PHP_SELF|escape}-->" />
31      <div id="login">
32        <!--{if $tpl_login}-->
33        <p>ようこそ<br />
34          <!--{$tpl_name1|escape}--> <!--{$tpl_name2|escape}--> 様
35          <!--{if $smarty.const.USE_POINT !== false}-->
36            <br />所持ポイント:<span class="price"> <!--{$tpl_user_point|number_format|default:0}--> pt</span>
37          <!--{/if}-->
38        </p>
39          <!--{if !$tpl_disable_logout}-->
40        <p class="btn">
41          <a href="?" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;">
42            <img src="<!--{$TPL_DIR}-->img/header/logout.gif" width="44" height="21" alt="ログアウト" />
43          </a>
44        </p>
45       </div>
46          <!--{/if}-->
47        <!--{else}-->
48        <p><img src="<!--{$TPL_DIR}-->img/side/icon_mail.gif" width="40" height="21" alt="メールアドレス" /><input type="text" name="login_email" class="box96" value="<!--{$tpl_login_email|escape}-->" /></p>
49        <p><img src="<!--{$TPL_DIR}-->img/side/icon_pw.gif" width="40" height="22" alt="パスワード" /><input type="password" name="login_pass" class="box96" /></p>
50      </div>
51        <p class="mini">
52          <a href="<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->" onclick="win01('<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a>
53        </p>
54        <p>
55          <input type="checkbox" name="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}--> />
56          <img src="<!--{$TPL_DIR}-->img/header/memory.gif" width="18" height="9" alt="記憶" />
57        </p>
58        <p class="btn">
59          <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/side/button_login_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/side/button_login.gif',this)" src="<!--{$TPL_DIR}-->img/side/button_login.gif" class="box51" alt="ログイン" name="subm" />
60        </p>
61        <!--{/if}-->
62        <!--ログインフォーム-->
63    </form>
64  </div>
65<!--▲ログインここまで-->
Note: See TracBrowser for help on using the repository browser.