Changeset 8776 for extensions/rv_gmaps/trunk/main.inc.php
- Timestamp:
- Jan 19, 2011, 10:53:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/main.inc.php
r8304 r8776 40 40 } 41 41 42 define('RVM_ACTION_MODEL', '<a href="%s" title="%s" rel="nofollow" class="pwg-state-default pwg-button" %s> 43 <span class="pwg-icon pwg-icon-%s"> </span><span class="pwg-button-text">%s</span> 44 </a>'); 42 define('RVM_ACTION_MODEL', '<a href="%s" title="%s" rel="nofollow" class="pwg-state-default pwg-button"%s><span class="pwg-icon pwg-icon-%s"> </span><span class="pwg-button-text">%s</span></a>'); 45 43 46 44 function rvm_end_index() … … 80 78 { 81 79 $link_title = sprintf( l10n('displays %s on a map'), strip_tags($page['title']) ); 82 $template->concat( 'PLUGIN_INDEX_ACTIONS' , '<li>'.sprintf(RVM_ACTION_MODEL,80 $template->concat( 'PLUGIN_INDEX_ACTIONS' , "\n<li>".sprintf(RVM_ACTION_MODEL, 83 81 $map_url, $link_title, '', 'map', 'map' 84 82 ).'</li>'); 85 83 } 86 84 87 85 { 88 86 $kml_url = rvm_duplicate_kml_index_url( array(), array('start') ); 89 87 $link_title = sprintf( l10n('opens %s in Google Earth'), strip_tags($page['title']) ); 90 $template->concat( 'PLUGIN_INDEX_ACTIONS' , '<li>'.sprintf(RVM_ACTION_MODEL,91 $kml_url, $link_title, ' type="application/vnd.google-earth.kml+xml"', 'globe', 'earth'88 $template->concat( 'PLUGIN_INDEX_ACTIONS' , "\n<li>".sprintf(RVM_ACTION_MODEL, 89 $kml_url, $link_title, ' type="application/vnd.google-earth.kml+xml"', 'globe', 'earth' 92 90 ).'</li>'); 93 91 } … … 112 110 $link_title = sprintf( l10n('displays %s on a map'), strip_tags($pictures['current']['name']) ); 113 111 $template->concat( 'PLUGIN_PICTURE_ACTIONS' , sprintf(RVM_ACTION_MODEL, 114 $map_url, $link_title, ' target="_top"', 'map', 'map'112 $map_url, $link_title, ' target="_top"', 'map', 'map' 115 113 )); 116 114 }
Note: See TracChangeset
for help on using the changeset viewer.