Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2011-07-15 22:59:00 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-07-15 22:59:00 +0400
commitb2d703dbea2077c9ff48686ee230d7a7ff224318 (patch)
tree4ee1778ce96402aa3abadea6cb9a24edd9d9b346 /gis_data_editor.php
parent166b571964d6c3513359512b8eef83584f2f9ddf (diff)
Add points with JavaScript
Diffstat (limited to 'gis_data_editor.php')
-rw-r--r--gis_data_editor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/gis_data_editor.php b/gis_data_editor.php
index e86abb735e..3aadc58bea 100644
--- a/gis_data_editor.php
+++ b/gis_data_editor.php
@@ -165,7 +165,7 @@ if(isset($_REQUEST['get_gis_editor']) && $_REQUEST['get_gis_editor'] == true) {
<?php
}
?>
- <input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][add_point]" class="add" value="<?php echo __("Add a point"); ?>">
+ <input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][add_point]" class="add point" value="<?php echo __("Add a point"); ?>">
<?php
} elseif ($type == 'MULTILINESTRING' || $type == 'POLYGON') {
@@ -209,7 +209,7 @@ if(isset($_REQUEST['get_gis_editor']) && $_REQUEST['get_gis_editor'] == true) {
<label for="y"><?php echo __("Y"); ?></label>
<input type="text" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][<?php echo($i); ?>][<?php echo($j); ?>][y]" value="<?php echo(isset($gis_data[$a][$type][$i][$j]['x']) ? htmlspecialchars($gis_data[$a][$type][$i][$j]['y']) : ''); ?>" />
<?php }
-?> <input type="submit" name="gis_data[<?php echo($a); ?>][<?php echo($type); ?>][<?php echo($i); ?>][add_point]" class="add" value="<?php echo __("Add a point"); ?>">
+?> <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); ?>">
@@ -259,7 +259,7 @@ if(isset($_REQUEST['get_gis_editor']) && $_REQUEST['get_gis_editor'] == true) {
<label for="y"><?php echo __("Y"); ?></label>
<input type="text" name="<?php echo("gis_data[" . $a . "][" . $type . "][" . $k . "][" . $i . "][" . $j . "][y]"); ?>" value="<?php echo(isset($gis_data[$a][$type][$k][$i][$j]['y']) ? htmlspecialchars($gis_data[$a][$type][$k][$i][$j]['y']) : ''); ?>" />
<?php }
-?> <input type="submit" name="<?php echo("gis_data[" . $a . "][" . $type . "][" . $k . "][" . $i . "][add_point]"); ?>" class="add" value="<?php echo __("Add a point"); ?>">
+?> <input type="submit" name="<?php echo("gis_data[" . $a . "][" . $type . "][" . $k . "][" . $i . "][add_point]"); ?>" class="add point" value="<?php echo __("Add a point"); ?>">
<?php }
?> <br/><input type="submit" name="<?php echo("gis_data[" . $a . "][" . $type . "][" . $k . "][add_line]"); ?>" class= "add" value="<?php echo __('Add an inner ring') ?>">
<?php }