Skip to content

Commit

Permalink
Add labels for locale dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Jan 3, 2024
1 parent eca3bed commit 115ea50
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion about.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="mainContainer">
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion data.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function payPalOutput($short = true) {
<body>
<div id="mainContainer">
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion donate.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function payPalOutput($buttonId){
<body>
<div id="mainContainer">
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion faq.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<body>
<div id="mainContainer">
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion help/airline.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion help/airport.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion help/csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion help/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
<h1><?php echo _('Context Help: Databases'); ?></h1>
Expand Down
2 changes: 1 addition & 1 deletion help/privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
<h1><?php echo sprintf(_('OpenFlights: %s'), _('Privacy policy')); ?></h1>
Expand Down
2 changes: 1 addition & 1 deletion help/resetpw.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>
<h1><?php _('Reset password'); ?></h1>
Expand Down
2 changes: 1 addition & 1 deletion help/time.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion help/trip.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion html/alsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down
2 changes: 1 addition & 1 deletion html/apsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<body>
<div id="contexthelp">
<span style="float: right"><?php echo _("Language"); ?><br>
<span style="float: right"><label for="locale"><?php echo _("Language"); ?></label><br>
<?php locale_pulldown($dbh, $locale); ?>
</span>

Expand Down

0 comments on commit 115ea50

Please sign in to comment.