|
@@ -22,6 +22,7 @@
|
|
|
|
|
|
Contributor(s):
|
|
|
Mark J Crane <[email protected]>
|
|
|
+ Luis Daniel Lucio Quiroz <[email protected]>
|
|
|
*/
|
|
|
require_once "root.php";
|
|
|
require_once "resources/require.php";
|
|
@@ -395,7 +396,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " ".$text['label-address_latitude']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td class='vtable' align='left'>\n";
|
|
|
- echo " <input class='formfld' type='text' name='address_latitude' maxlength='255' value=\"$address_latitude\">\n";
|
|
|
+ echo " <input class='formfld' type='number' name='address_latitude' maxlength='255' min='-90' max='90' value=\"$address_latitude\">\n";
|
|
|
echo "<br />\n";
|
|
|
echo $text['description-address_latitude']."\n";
|
|
|
echo "</td>\n";
|
|
@@ -406,7 +407,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
echo " ".$text['label-address_longitude']."\n";
|
|
|
echo "</td>\n";
|
|
|
echo "<td class='vtable' align='left'>\n";
|
|
|
- echo " <input class='formfld' type='text' name='address_longitude' maxlength='255' value=\"$address_longitude\">\n";
|
|
|
+ echo " <input class='formfld' type='number' name='address_longitude' maxlength='255' min='-180' max='180' value=\"$address_longitude\">\n";
|
|
|
echo "<br />\n";
|
|
|
echo $text['description-address_longitude']."\n";
|
|
|
echo "</td>\n";
|
|
@@ -452,4 +453,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|
|
|
|
|
//include the footer
|
|
|
require_once "resources/footer.php";
|
|
|
-?>
|
|
|
+?>
|