source: branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl @ 23066

Revision 23066, 2.1 KB checked in by pineray, 8 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

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<section class="footer_status_area">
24    <!--{if $tpl_login}-->
25        <form name="login_form_footer" id="login_form_footer" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('login_form_footer')">
26            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27            <input type="hidden" name="mode" value="logout" />
28            <input type="hidden" name="url" value="<!--{$smarty.server.SCRIPT_NAME|h}-->" />
29        </form>
30        <p>ようこそ <a rel="external" href="<!--{$smarty.const.HTTPS_URL}-->mypage/login.php" data-transition="slideup"><!--{$tpl_name1|h}--> <!--{$tpl_name2|h}-->さん</a></p>
31        <!--{if $smarty.const.USE_POINT !== false}-->
32            <p>所持ポイント<!--{$tpl_user_point|number_format|default:0}-->pt</p>
33        <!--{/if}-->
34        <p><a rel="external" href="javascript:void(document.login_form_footer.submit())" class="btn_btm">ログアウト</a></p>
35    <!--{else}-->
36        <p>ようこそ ゲストさん</p>
37        <p><a rel="external" href="<!--{$smarty.const.HTTPS_URL}-->entry/kiyaku.php" class="btn_btm">新規会員登録</a></p>
38    <!--{/if}-->
39</section>
Note: See TracBrowser for help on using the repository browser.