[Svn-src-all:1551] [version-2_5-dev 20447] #989(エラー発生時に, テンプレートの取得が正常にできない)

nanasess admin @ mail.ec-cube.net
2011年 2月 28日 (月) 20:00:39 JST


Subversion committed to /home/svn/open 20447
http://svn.ec-cube.net/open_trac/changeset/20447
┌────────────────────────────┐
│更新者 :  nanasess                                     │
│更新日時:  2011-02-28 20:00:39 +0900 (月, 28  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#989(エラー発生時に, テンプレートの取得が正常にできない)
 * スマートフォンは header.tpl が存在しなかったため, Smarty のエラーが表示されていたが, 空の header.tpl を用意しておくことで修正
#624(軽微な表示乱れを修正)
 * 画像切れ, TOP ボタンの表示を修正


Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl
A   branches/version-2_5-dev/data/Smarty/templates/sphone/header.tpl
U   branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl

変更: branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl	2011-02-28 10:56:27 UTC (rev 20446)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl	2011-02-28 11:00:39 UTC (rev 20447)
@@ -21,7 +21,7 @@
  *}-->
 <!--{if count($arrBestProducts) > 0}-->
 <div id="recomendarea" class="bloc_outer">
-    <h2><img src="<!--{$TPL_URLPATH}-->img/bloc/best5/title_icon.gif" width="20" height="20" alt="*" class="title_icon" />
+    <h2><img src="<!--{$TPL_URLPATH}-->img/icon/ico_block_recommend.gif" width="20" height="20" alt="*" class="title_icon" />
         おすすめ商品</h2>
     <!--{section name=cnt loop=$arrBestProducts step=2}-->
     <div class="recomendblock">

追加: branches/version-2_5-dev/data/Smarty/templates/sphone/header.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/header.tpl	                        (rev 0)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/header.tpl	2011-02-28 11:00:39 UTC (rev 20447)
@@ -0,0 +1,21 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *}-->

変更: branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl	2011-02-28 10:56:27 UTC (rev 20446)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl	2011-02-28 11:00:39 UTC (rev 20447)
@@ -151,7 +151,7 @@
 
 </body>
 
-<!--{if "/\/top.tpl$/"|preg_match:$tpl_mainpage}-->
+<!--{if "/\/index.tpl$/"|preg_match:$tpl_mainpage}-->
 <!--{else}-->
 <script type="text/javascript" language="JavaScript">
 //<![CDATA[




Svn-src-all メーリングリストの案内