source: branches/version-2_12_6en/data/Smarty/templates/sphone_en-US/frontparts/bloc/login_header.tpl @ 23630

Revision 23630, 1.5 KB checked in by undertree, 10 years ago (diff)

チケット #2272 Points section does not change based on singular/plural amounts.

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2012 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<nav class="header_navi">
24    <!--{if $tpl_login}-->
25        <p class="guest">Welcome, <a href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/mypage/login.php" rel="external"><!--{$tpl_name1|h}--> <!--{$tpl_name2|h}--></a></p>
26        <!--{if $smarty.const.USE_POINT !== false}-->
27            <p>Total points <!--{$tpl_user_point|number_format|default:0}-->  <!--{if $tpl_user_point == 1}-->pt<!--{else}-->pts<!--{/if}--></p>
28        <!--{/if}-->
29    <!--{else}-->
30        <p class="guest">Welcome, Guest</p>
31        <p><a rel="external" href="<!--{$smarty.const.HTTPS_URL|sfTrimURL}-->/entry/kiyaku.php">Member registration</a></p>
32    <!--{/if}-->
33</nav>
Note: See TracBrowser for help on using the repository browser.