Skip to content

Commit 0b6ebd9

Browse files
committed
minor fix (layout) in formNODE.pl
1 parent d34c4ac commit 0b6ebd9

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CODE/cgi-bin/formNODE.pl

+5-4
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ =head1 Query string parameters
676676
/**
677677
* Read .zip shpfiles and calculate the bounding box coordinates of the spatial coverage of the shapefile
678678
*/
679-
var fichierSelectionne = document.getElementById('input').files[0];
679+
var fichierSelectionne = document.getElementById('shpfile').files[0];
680680
form.filename.value = fichierSelectionne.name;
681681
682682
var fr = new FileReader();
@@ -1159,7 +1159,8 @@ =head1 Query string parameters
11591159
print "<INPUT type=\"hidden\" name=\"filename\" value=\"\"\n>";
11601160
print "<INPUT type=\"hidden\" name=\"outWKT\" value=\"\"\n>";
11611161
print "<INPUT type=\"hidden\" name=\"geojson\" value=\"\"\n>";
1162-
print "<strong>$__{'To add a shapefile (.zip only) layer, click here'}: </strong><input type='file' id='input' onchange='handleFiles()' value=\"\"><br>";
1162+
print "<label for=\"shpfile\">$__{'Shapefile'} (.zip): </label> "
1163+
."<INPUT type='file' id='shpfile' onchange='handleFiles()' value=\"\" onMouseOut=\"nd()\" onmouseover=\"overlib('$__{help_creationstation_shapefile}')\"><BR>";
11631164

11641165
print "</TD>";
11651166
print <<FIN;
@@ -1205,7 +1206,7 @@ =head1 Query string parameters
12051206
print "</FIELDSET>\n";
12061207

12071208
# --- GNSS-specific information
1208-
#=pod
1209+
=pod
12091210
my $m3g_url_edit = $WEBOBS{'M3G_URL'}."/".$usrGnss9char;
12101211
print "<FIELDSET><legend>$__{'GNSS-specific information'}</LEGEND>";
12111212
print "<TABLE><TR>";
@@ -1233,7 +1234,7 @@ =head1 Query string parameters
12331234
print "</TD>";
12341235
print "</TR></TABLE>";
12351236
print "</FIELDSET>";
1236-
#=cut
1237+
=cut
12371238
# --- Transmission
12381239
print "<FIELDSET><legend>$__{'Transmission'}</LEGEND>";
12391240
print "<TABLE><TR>";

CODE/i18n/en_US.po

+2
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,6 @@ msgstr "Describes the genealogy of the dataset, e.g., the history of the dataset
285285
msgid "beware_approximate_position"
286286
msgstr "Use the HTML geolocation API to locate the user. Beware : the location could be approximated from several meters to several thousand meters, depending on your location."
287287

288+
msgid "help_creationstation_shapefile"
289+
msgstr "To add a shapefile (.zip only) layer, click here"
288290

CODE/i18n/fr_FR.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -1632,5 +1632,5 @@ msgstr "Géolocalisation"
16321632
msgid "beware_approximate_position"
16331633
msgstr "Utilise l'API de géolocalisation HTML pour localiser l'utilisateur. Attention : la position peut être approximée de quelques mètres à plusieurs milliers de mètres, en fonction de votre localisation."
16341634

1635-
msgid "To add a shapefile (.zip only) layer, click here"
1635+
msgid "help_creationstation_shapefile"
16361636
msgstr "Pour ajouter une couche de fichier de forme (.zip uniquement), cliquez ici"

0 commit comments

Comments
 (0)