Changeset 5237 for extensions/AMetaData/amd_root.class.inc.php
- Timestamp:
- Mar 21, 2010, 11:58:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_root.class.inc.php
r5226 r5237 398 398 return(implode($separator, $tmp)); 399 399 } 400 elseif(preg_match('/\d{1,3}°\s\d{1,2}\'\s(\d{1,2}\.{0,1}\d{0,2}){0,1}.,\s(north|south|east|west)$/i', $value)) 401 { 402 /* \d{1,3}°\s\d{1,2}\'\s(\d{1,2}\.{0,1}\d{0,2}){0,1}. 403 * 404 * keys 'coord' and 'card' are present 405 * 406 * assume this is a GPS coordinate 407 */ 408 return(preg_replace( 409 Array('/, north$/i', '/, south$/i', '/, east$/i', '/, west$/i'), 410 Array(" ".L10n::get("North"), " ".L10n::get("South"), " ".L10n::get("East"), " ".L10n::get("West")), 411 $value) 412 ); 413 } 400 414 else 401 415 {
Note: See TracChangeset
for help on using the changeset viewer.