Changeset 7702 for trunk/src/inc
- Timestamp:
- Apr 8, 2010, 12:18:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/inc/KMLFile.class.php
r7700 r7702 5 5 * Purpose: Creating of editing KML files 6 6 */ 7 8 define('PLACEMARK_GREEN', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/green-dot.png');9 define('PLACEMARK_ORANGE', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/orange-dot.png');10 define('PLACEMARK_RED', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png');11 7 12 8 class KMLFile { … … 82 78 } 83 79 84 $toString = str_replace('%PLACEMARK_GREEN%', PLACEMARK_GREEN, $toString);85 $toString = str_replace('%PLACEMARK_ORANGE%', PLACEMARK_ORANGE, $toString);86 $toString = str_replace('%PLACEMARK_RED%', PLACEMARK_RED, $toString);80 $toString = str_replace('%PLACEMARK_GREEN%', $config['placemark_green'], $toString); 81 $toString = str_replace('%PLACEMARK_ORANGE%', $config['placemark_orange'], $toString); 82 $toString = str_replace('%PLACEMARK_RED%', $config['placemark_red'], $toString); 87 83 $toString = str_replace('%CONTENT%', $placemarkString, $toString); 88 84
Note:
See TracChangeset
for help on using the changeset viewer.