From 01a5009b3c5ec3e0be24cc849d963974af77601b Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 24 Oct 2023 17:44:07 +0200 Subject: [PATCH] Multilanguage Support --- application/views/awards/cq/index.php | 61 ++++++++++++++------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/application/views/awards/cq/index.php b/application/views/awards/cq/index.php index ee4a6ccb..e273b923 100644 --- a/application/views/awards/cq/index.php +++ b/application/views/awards/cq/index.php @@ -2,6 +2,7 @@ #cqmap { height: calc(100vh - 430px) !important; max-height: 900px !important; + margin-bottom: 30px !important; } /*Legend specific*/ .legend { @@ -43,7 +44,7 @@ var lang_award_info_ln3 = ""; var lang_award_info_ln4 = ""; -

+

@@ -52,46 +53,46 @@
-
Worked / Confirmed
+
input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > - +
input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > - +
input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > - +
-
QSL Type
+
input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > - +
input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> > - +
input->post('eqsl')) echo ' checked="checked"'; ?> > - +
- +
- + result() as $mode){ if ($mode->submode == null) { @@ -126,10 +127,10 @@
- - + + + ?>
@@ -138,10 +139,10 @@
@@ -154,17 +155,17 @@
-
+
+ echo " + - '; + "; foreach($bands as $band) { echo ''; } @@ -180,28 +181,28 @@ } echo ''; } - echo '
#CQ Zone" . lang('gen_hamradio_cq_zone') . "' . $band . '
-

Summary

+ echo " +

" . lang('awards_summary') . "

- +
- '; + "; foreach($bands as $band) { echo ''; } - echo ' + echo " - '; + "; foreach ($cq_summary['worked'] as $dxcc) { // Fills the table with the data echo ''; } - echo ' - '; + echo " + "; foreach ($cq_summary['confirmed'] as $dxcc) { // Fills the table with the data echo ''; }
' . $band . 'Total
" . lang('awards_total') . "
Total worked
" . lang('awards_total_worked') . "' . $dxcc . '
Total confirmed
" . lang('awards_total_confirmed') . "' . $dxcc . '