Skip to content

Commit

Permalink
minor fix (layout) in formNODE.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
beaudu committed Dec 14, 2023
1 parent d34c4ac commit 0b6ebd9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 5 additions & 4 deletions CODE/cgi-bin/formNODE.pl
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ =head1 Query string parameters
/**
* Read .zip shpfiles and calculate the bounding box coordinates of the spatial coverage of the shapefile
*/
var fichierSelectionne = document.getElementById('input').files[0];
var fichierSelectionne = document.getElementById('shpfile').files[0];
form.filename.value = fichierSelectionne.name;
var fr = new FileReader();
Expand Down Expand Up @@ -1159,7 +1159,8 @@ =head1 Query string parameters
print "<INPUT type=\"hidden\" name=\"filename\" value=\"\"\n>";
print "<INPUT type=\"hidden\" name=\"outWKT\" value=\"\"\n>";
print "<INPUT type=\"hidden\" name=\"geojson\" value=\"\"\n>";
print "<strong>$__{'To add a shapefile (.zip only) layer, click here'}: </strong><input type='file' id='input' onchange='handleFiles()' value=\"\"><br>";
print "<label for=\"shpfile\">$__{'Shapefile'} (.zip): </label> "
."<INPUT type='file' id='shpfile' onchange='handleFiles()' value=\"\" onMouseOut=\"nd()\" onmouseover=\"overlib('$__{help_creationstation_shapefile}')\"><BR>";

print "</TD>";
print <<FIN;
Expand Down Expand Up @@ -1205,7 +1206,7 @@ =head1 Query string parameters
print "</FIELDSET>\n";

# --- GNSS-specific information
#=pod
=pod
my $m3g_url_edit = $WEBOBS{'M3G_URL'}."/".$usrGnss9char;
print "<FIELDSET><legend>$__{'GNSS-specific information'}</LEGEND>";
print "<TABLE><TR>";
Expand Down Expand Up @@ -1233,7 +1234,7 @@ =head1 Query string parameters
print "</TD>";
print "</TR></TABLE>";
print "</FIELDSET>";
#=cut
=cut
# --- Transmission
print "<FIELDSET><legend>$__{'Transmission'}</LEGEND>";
print "<TABLE><TR>";
Expand Down
2 changes: 2 additions & 0 deletions CODE/i18n/en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,6 @@ msgstr "Describes the genealogy of the dataset, e.g., the history of the dataset
msgid "beware_approximate_position"
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."

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

2 changes: 1 addition & 1 deletion CODE/i18n/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -1632,5 +1632,5 @@ msgstr "Géolocalisation"
msgid "beware_approximate_position"
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."

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

0 comments on commit 0b6ebd9

Please sign in to comment.