source: branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/news.tpl @ 20656

Revision 20656, 2.0 KB checked in by nanasess, 13 years ago (diff)

#1128 (スマートフォンで、新着情報にリンクがある場合リンクが押せない)

  • jQuery を使用するよう修正
  • 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-2010 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<!--{assign var=mypage value="`$smarty.const.ROOT_URLPATH`mypage/index.php"}-->
23<!--{if $smarty.server.PHP_SELF != $mypage}-->
24
25<!--{if $arrNews}-->
26<div id="block-news" class="block-center">
27<div class="create-box">
28
29<!--{section name=data loop=$arrNews max=3}-->
30    <div class="anews">
31        <span><!--{$arrNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
32        <!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|h}-->"><!--{/if}--><!--{$arrNews[data].news_title|h}--><!--{if $arrNews[data].news_url}--></a><!--{/if}-->
33    </div>
34<!--{/section}-->
35
36</div>
37</div>
38
39<!--{/if}-->
40
41
42<!--{elseif $smarty.server.PHP_SELF == $mypage}-->
43
44<!--{if $arrMemberNews}-->
45<h3>お知らせ</h3>
46<div id="block-news-mypage">
47
48<!--{section name=data loop=$arrMemberNews max=3}-->
49<div class=" ">
50<span><!--{$arrMemberNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
51<!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|h}-->"><!--{/if}-->
52<!--{$arrMemberNews[data].news_title|h}-->
53<!--{if $arrMemberNews[data].news_url}--></a><!--{/if}-->
54</div>
55<!--{/section}-->
56
57</div>
58<!--{/if}-->
59
60<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.