diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-07-16 00:41:18 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2011-07-16 00:41:18 +0400 |
commit | 83d8d3a8ed3043f52b1f1ef42af33fccfead1e87 (patch) | |
tree | a9cf4d340da92013a788a642601da04ce64429d8 /gis_data_editor.php | |
parent | b2d703dbea2077c9ff48686ee230d7a7ff224318 (diff) |
Handle adding linestrings and inner rings. Better comments
Diffstat (limited to 'gis_data_editor.php')
-rw-r--r-- | gis_data_editor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gis_data_editor.php b/gis_data_editor.php index 3aadc58bea..59f9f1bfad 100644 --- a/gis_data_editor.php +++ b/gis_data_editor.php @@ -212,7 +212,7 @@ if(isset($_REQUEST['get_gis_editor']) && $_REQUEST['get_gis_editor'] == true) { ?> <input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][<?php echo($i); ?>][add_point]" class="add point" value="<?php echo __("Add a point"); ?>"> <?php } $caption = ($type == 'MULTILINESTRING') ? __('Add a linestring') : __('Add an inner ring'); -?> <br/><input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][add_line]" class="add" value="<?php echo($caption); ?>"> +?> <br/><input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][add_line]" class="add line" value="<?php echo($caption); ?>"> <?php } elseif ($type == 'MULTIPOLYGON') { $no_of_polygons = isset($gis_data[$a][$type]['no_of_polygons']) ? $gis_data[$a][$type]['no_of_polygons'] : 1; |