Ignore:
Timestamp:
Dec 6, 2010, 9:54:09 PM (14 years ago)
Author:
rvelices
Message:

rv_gmaps - small internal changes

Location:
extensions/rv_gmaps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/include/picture_map.inc.php

    r6639 r8013  
    33
    44$template->concat('PLUGIN_PICTURE_ACTIONS', '
    5   <a href="'.duplicate_picture_url().'" title="'.l10n('return to normal view mode').'"><img src="'.get_root_url().'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a>
     5  <a href="'.duplicate_picture_url().'" title="'.l10n('return to normal view mode').'"><img src="'.get_absolute_root_url(false).'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a>
    66  ');
    77
  • extensions/rv_gmaps/trunk/main.inc.php

    r7033 r8013  
    7777                $link_title = sprintf( l10n('displays %s on a map'), strip_tags($page['title']) );
    7878                $template->concat( 'PLUGIN_INDEX_ACTIONS' ,'
    79 <li><a href="'.$map_url.'" title="'.$link_title.'" rel="nofollow"><img src="'.get_root_url().'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a></li>
     79<li><a href="'.$map_url.'" title="'.$link_title.'" rel="nofollow"><img src="'.get_absolute_root_url(false).'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a></li>
    8080');
    8181        }
     
    8686                $link_title = sprintf( l10n('opens %s in Google Earth'), strip_tags($page['title']) );
    8787                $template->concat( 'PLUGIN_INDEX_ACTIONS' ,'
    88 <li><a href="'.$kml_url.'" title="'.$link_title.'" rel="nofollow" type="application/vnd.google-earth.kml+xml"><img src="'.get_root_url().'plugins/'.$rvm_dir.'/icons/earth_m.png" class="button" alt="earth"></a></li>
     88<li><a href="'.$kml_url.'" title="'.$link_title.'" rel="nofollow" type="application/vnd.google-earth.kml+xml"><img src="'.get_absolute_root_url(false).'plugins/'.$rvm_dir.'/icons/earth_m.png" class="button" alt="earth"></a></li>
    8989');
    9090        }
     
    109109                                $link_title = sprintf( l10n('displays %s on a map'), strip_tags($pictures['current']['name']) );
    110110                                $template->concat('PLUGIN_PICTURE_ACTIONS', '
    111 <a href="'.$map_url.'" title="'.$link_title.'" rel="nofollow" target="_top"><img src="'.get_root_url().'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a>
     111<a href="'.$map_url.'" title="'.$link_title.'" rel="nofollow" target="_top"><img src="'.get_absolute_root_url(false).'plugins/'.$rvm_dir.'/icons/map_m.png" class="button" alt="map"></a>
    112112');
    113113                        }
Note: See TracChangeset for help on using the changeset viewer.