Changeset 8466 for extensions/edit_gmaps/admin/admin_edit.php
- Timestamp:
- Jan 4, 2011, 2:24:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/admin/admin_edit.php
r8456 r8466 229 229 $lat=$location[1]; 230 230 $lon=$location[0]; 231 $adresse ="Europe"; 232 if (date_default_timezone_get()) { 233 $adresse = date_default_timezone_get() ; 234 } 235 231 236 232 237 $template->assign( array('lat' => $lat , … … 235 240 array('LAT' => $lat, 236 241 'LON' => $lon, 242 'ADRESSE' => $adresse, 237 243 ) 238 244 ); … … 240 246 241 247 foreach ($collection as $id_0) { 248 $adresse ="Europe/Paris"; 249 if (date_default_timezone_get()) { 250 $adresse ="'" . date_default_timezone_get() ."'" ; 251 } 252 253 242 254 foreach ($images as $image) { 243 255 … … 251 263 array('LAT' => $lat, 252 264 'LON' => $lon, 265 'ADRESSE' => $adresse, 253 266 ) 254 267 );
Note: See TracChangeset
for help on using the changeset viewer.