From cf6144bd5a88803596905c77ddabffcd754531b1 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 29 Aug 2020 12:51:53 +0200 Subject: [PATCH 1/2] Added dropdown for CQ and ITU zone when creating and editing station profile. --- application/views/station_profile/create.php | 36 +++++++++++++----- application/views/station_profile/edit.php | 40 +++++++++++++++----- 2 files changed, 56 insertions(+), 20 deletions(-) diff --git a/application/views/station_profile/create.php b/application/views/station_profile/create.php index e7d77451..9a558a65 100644 --- a/application/views/station_profile/create.php +++ b/application/views/station_profile/create.php @@ -123,17 +123,33 @@ Station Cnty #get def from ADIF Spec# -
- - - If you do not know your CQ Zone click Here to find it! -
+
+ + - If you do not know your ITU Zone click Here to find it! -
+ echo '>'. $i .''; + } + ?> + + If you do not know your CQ Zone click Here to find it! + + +
+ + + If you do not know your ITU Zone click Here to find it! +
diff --git a/application/views/station_profile/edit.php b/application/views/station_profile/edit.php index f6417181..1eb76c98 100644 --- a/application/views/station_profile/edit.php +++ b/application/views/station_profile/edit.php @@ -137,17 +137,37 @@ Station Cnty #get def from ADIF Spec#
-
- - station_cq; } ?>" required> - If you do not know your CQ Zone click Here to find it! -
+
+ + + If you do not know your CQ Zone click Here to find it! +
-
- - station_itu; } ?>" required> - If you do not know your ITU Zone click Here to find it! -
+
+ + + If you do not know your ITU Zone click Here to find it! +
From d2a977e30134129c6bd7cb3f0556adcc733171ee Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 29 Aug 2020 12:57:14 +0200 Subject: [PATCH 2/2] Placed CQ and ITU side by side in edit and create station profile. --- application/views/station_profile/create.php | 48 +++++++++-------- application/views/station_profile/edit.php | 56 ++++++++++---------- 2 files changed, 54 insertions(+), 50 deletions(-) diff --git a/application/views/station_profile/create.php b/application/views/station_profile/create.php index 9a558a65..e1116501 100644 --- a/application/views/station_profile/create.php +++ b/application/views/station_profile/create.php @@ -123,32 +123,34 @@ Station Cnty #get def from ADIF Spec#
-
- - + '. $i .''; - } - ?> - - If you do not know your CQ Zone click Here to find it! -
+ echo '>'. $i .''; + } + ?> + + If you do not know your CQ Zone click Here to find it! + -
- - + '. $i .''; - } - ?> - - If you do not know your ITU Zone click Here to find it! + echo '>'. $i .''; + } + ?> + + If you do not know your ITU Zone click Here to find it! +
diff --git a/application/views/station_profile/edit.php b/application/views/station_profile/edit.php index 1eb76c98..fec8a0ca 100644 --- a/application/views/station_profile/edit.php +++ b/application/views/station_profile/edit.php @@ -137,36 +137,38 @@ Station Cnty #get def from ADIF Spec#
-
- - + station_cq == $i) { + echo " selected=\"selected\""; + } + echo '>'. $i .''; } - echo '>'. $i .''; - } - ?> - - If you do not know your CQ Zone click Here to find it! -
+ ?> + + If you do not know your CQ Zone click Here to find it! + -
- - + station_itu == $i) { + echo " selected=\"selected\""; + } + echo '>'. $i .''; } - echo '>'. $i .''; - } - ?> - - If you do not know your ITU Zone click Here to find it! + ?> + + If you do not know your ITU Zone click Here to find it! +