webempoweredchurch / wec_map

Mapping extension for TYPO3 that connects to geocoding databases and Google Maps API.
http://webempoweredchurch.org
6 stars 3 forks source link

Wrong label in tx_wecmap_backend::drawGeocodeStatus() #22

Closed JanBartels closed 12 years ago

JanBartels commented 12 years ago

The label for the longitude is wrong. See below.

function tx_wecmap_backend::drawGeocodeStatus($street, $city, $state, $zip, $country) {
 ...
/* Grab the lat and long that were posted */
$newlat = t3lib_div::_GP('lat');
$newlong = t3lib_div::_GP('long');
...
$form = '<label for="lat">'.$LANG->getLL('latitude').'</label> <input name="lat" value="'.$latlong['lat'].'" />
 <label for="***tx_wecmap[long]***">'.$LANG->getLL('longitude').'</label> <input name="long" value="'.$latlong['long'].'" />
 <input type="hidden" name="original_lat" value="'.$latlong['lat'].'" />
 <input type="hidden" name="original_long" value="'.$latlong['long'].'" />';

return '<p>'.$status.'</p><p>'.$form.'</p>';
}
JanBartels commented 12 years ago

duplicate