Changeset 20653


Ignore:
Timestamp:
2011/03/15 19:36:40 (10 years ago)
Author:
t_yuo
Message:

#1137 (スマートフォンで「TOPページへ」ボタンが表示されない)
修正しました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl

    r20540 r20653  
    151151 
    152152</body> 
    153  
    154 <!--{if "/\/index.tpl$/"|preg_match:$tpl_mainpage}--> 
    155 <!--{else}--> 
    156 <script type="text/javascript" language="JavaScript"> 
    157 //<![CDATA[ 
    158 setTopButton("<!--{$smarty.const.HTTPS_URL}-->"); 
    159 //]]> 
     153<!--{assign var=index value="`$smarty.const.ROOT_URLPATH``$smarty.const.DIR_INDEX_FILE`"}--> 
     154<!--{if $index != $smarty.server.PHP_SELF}--> 
     155    <script type="text/javascript" language="JavaScript"> 
     156    //<![CDATA[ 
     157    setTopButton("<!--{$smarty.const.HTTPS_URL}-->"); 
     158    //]]> 
     159    </script> 
    160160<!--{/if}--> 
    161 </script> 
Note: See TracChangeset for help on using the changeset viewer.