Changeset 1088 for trunk/wp-includes/template-functions-geo.php
- Timestamp:
- 04/17/2004 03:56:23 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-geo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-geo.php
r801 r1088 49 49 $sites = array( 50 50 array('http://www.acme.com/mapper/?lat='.get_Lat().'&long='.get_Lon().'&scale=11&theme=Image&width=3&height=2&dot=Yes', 51 'Acme Mapper'),51 __('Acme Mapper')), 52 52 array('http://geourl.org/near/?lat='.get_Lat().'&lon='.get_Lon().'&dist=500', 53 'GeoURLs near here'),53 __('GeoURLs near here')), 54 54 array('http://www.geocaching.com/seek/nearest.aspx?origin_lat='.get_Lat().'&origin_long='.get_Lon().'&dist=5', 55 'Geocaches Near Nere'),55 __('Geocaches near here')), 56 56 array('http://www.mapquest.com/maps/map.adp?latlongtype=decimal&latitude='.get_Lat().'&longitude='.get_Lon(), 57 'Mapquest map of this spot'),57 __('Mapquest map of this spot')), 58 58 array('http://www.sidebit.com/ProjectGeoURLMap.php?lat='.get_Lat().'&lon='.get_Lon(), 59 'SideBit URL Map of this spot'),59 __('SideBit URL Map of this spot')), 60 60 array('http://confluence.org/confluence.php?lat='.get_Lat().'&lon='.get_Lon(), 61 'Confluence.org near here'),61 __('Confluence.org near here')), 62 62 array('http://www.topozone.com/map.asp?lat='.get_Lat().'&lon='.get_Lon(), 63 'Topozone near here'),63 __('Topozone near here')), 64 64 array('http://www.findu.com/cgi-bin/near.cgi?lat='.get_Lat().'&lon='.get_Lon(), 65 'FindU near here'),65 __('FindU near here')), 66 66 array('http://mapserver.maptech.com/api/espn/index.cfm?lat='.get_Lat().'&lon='.get_Lon().'&scale=100000&zoom=50&type=1&icon=0&&scriptfile=http://mapserver.maptech.com/api/espn/index.cfm', 67 'Maptech near here')67 __('Maptech near here')) 68 68 ); 69 69 echo '<form action=""><div> 70 70 <select name="site" size="1" onchange="formHandler(this.form);" >'."\n"; 71 echo '<option value="."> Sites referencing '.get_Lat().' x '.get_Lon()."</option>\n";71 echo '<option value=".">' . sprintf(__("Sites referencing %s x %s"), get_Lat(), get_Lon()) . "</option>\n"; 72 72 foreach($sites as $site) { 73 73 echo "\t".'<option value="'.$site[0].'">'.$site[1]."</option>\n";
Note: See TracChangeset
for help on using the changeset viewer.