Changeset 20558


Ignore:
Timestamp:
2011/03/09 05:08:06 (10 years ago)
Author:
tao
Message:

refs #1113 #1114 google map APIをv3に変更。スクリプトのロードもaboutsページのみに変更

File:
1 edited

Legend:

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

    r20518 r20558  
    2828<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/import.css" type="text/css" media="all" /> 
    2929<link rel="alternate" type="application/rss+xml" title="RSS" href="<!--{$smarty.const.HTTP_URL}-->rss/<!--{$smarty.const.DIR_INDEX_PATH}-->" /> 
    30 <script type="text/javascript" src="http://www.google.com/jsapi?key=xxx"></script> 
     30<!--{if $tpl_page_category == "abouts"}--> 
     31<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> 
    3132<script type="text/javascript">//<![CDATA[ 
    32     google.load("maps", "3", {other_params:'sensor=false'}); 
     33    var map = new google.maps.Map(document.getElementById("maps"), {"zoom":"3"}); 
    3334//]]> 
    3435</script> 
     36<!--{/if}--> 
    3537<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/css.js"></script> 
    3638<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/navi.js"></script> 
Note: See TracChangeset for help on using the changeset viewer.