From aa392272bd9955714208c0679fee69c507fc6b2d Mon Sep 17 00:00:00 2001 From: kc9uhi Date: Tue, 20 Jan 2026 04:20:38 -0700 Subject: [PATCH] clean up and standardize format of station location create/edit --- application/views/station_profile/create.php | 637 +++++++++++-------- application/views/station_profile/edit.php | 190 +++--- 2 files changed, 469 insertions(+), 358 deletions(-) diff --git a/application/views/station_profile/create.php b/application/views/station_profile/create.php index 593dd3505..4c7fc7e16 100644 --- a/application/views/station_profile/create.php +++ b/application/views/station_profile/create.php @@ -20,17 +20,17 @@ if ($dxcc_list->result() > 0) {
-
+
session->flashdata('message')) { ?>
-

session->flashdata('message'); ?>

+

session->flashdata('message'); ?>

session->flashdata('notice')) { ?>
- session->flashdata('notice'); ?> + session->flashdata('notice'); ?>
@@ -42,278 +42,393 @@ if ($dxcc_list->result() > 0) {
-
-
- -
-
-
-

+
- -
- - " value="" required> - -
- -
- - - -
- -
- - - -
-
- - num_rows() > 0) { ?> - - - - -
- -
- - - -
- - -
- - - -
- - -
- - - -
- -
-
- - - ".__("click here")." "); ?> -
- -
- - - ".__("click here")." "); ?> -
-
- -
- - -
- -
- -
-
- - ".__("click here").""); ?>
- -
- -
- - - - ".__("IOTA World website").""); ?> -
- -
- - - ".__("SOTA Maps website").""); ?> -
- -
- - - ".__("GMA Map website").""); ?> -
- -
- - - ".__("POTA Map website").""); ?> -
- -
- - - -
- -
- - - -
- -
- - - -
- -
- - - - -
-
- - - -
-
- - -
- -
-
- - - -
-
- - - ".__("HRDLog.net Userprofile page").""); ?> -
-
- - -
-
- - - -
-
- -
- - +
+ +
+
+
+
+
+ + " value="" required> + +
+
+ + + +
+
+ + +
- - ".__("the QRZ.com Logbook settings page").""); ?> -
-
- - -
-
- -
-
- - - ".__("QO-100 Dx Club's profile page").""); ?> -
-
- -
+
+
+ +
+ +
+
+
+
+ +
+ + num_rows() > 0) { ?> + + + + +
+ + +
+ + + +
+ + +
+ + + +
+ + +
+ + + +
+
+
+
+ + +
+
+
+
+ +
+ + + ".__("click here")." "); ?> +
+ + +
+ + + ".__("click here")." "); ?> +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+ +
+
+ ".__("click here").""); ?>
+ +
+
+
+
+ + +
+
+
+
+
+ + + + ".__("IOTA World website").""); ?> +
+
+
+
+
+ +
+ +
+
+
+
+
+ + + ".__("SOTA Maps website").""); ?> +
+
+
+
+ + +
+
+
+
+
+ + + ".__("GMA Map website").""); ?> +
+
+
+
+ + +
+
+
+
+
+ + + ".__("POTA Map website").""); ?> +
+
+
+
+
+ +
+ +
+
+
+
+
+ + + +
+
+ + + +
+
+
+
+
+ +
+ +
+
+
', ''); ?>
+
+
+ + + +
+
+ + + + +
+
+
+
+ + +
+
+
QRZ.com
+
+
+ +
+ + +
+ + ".__("the QRZ.com Logbook settings page").""); ?> +
+
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ + + +
+
+ + +
+
+
+
+
+ +
+ +
+
+
HRDLog.net
+
+
+ + + +
+
+ + + ".__("HRDLog.net Userprofile page").""); ?> +
+
+ + +
+
+
+
+
+ +
+ +
+
+
QO-100 Dx Club
+
+
+ + + ".__("QO-100 Dx Club's profile page").""); ?> +
+
+ + +
+
+
+
+
config->item('disable_oqrs') ?? false)) { ?> -
- - -
-
+
+ +
+
+
OQRS
+
+
+ + +
+
-
- - - +
+ + + +
+
+
+
- + - -
-
- -
+
diff --git a/application/views/station_profile/edit.php b/application/views/station_profile/edit.php index b6659bef3..727edf32f 100644 --- a/application/views/station_profile/edit.php +++ b/application/views/station_profile/edit.php @@ -27,11 +27,11 @@ if ($dxcc_list->result() > 0) {
-
+
session->flashdata('message')) { ?>
-

session->flashdata('message'); ?>

+

session->flashdata('message'); ?>

@@ -43,11 +43,11 @@ if ($dxcc_list->result() > 0) { load->helper('form'); ?> - -
- -
- + +
+ +
+ station_id != NULL) { $form_action = __("Update"); @@ -62,23 +62,21 @@ if ($dxcc_list->result() > 0) {
+
-
station_callsign; ?>)
+
station_callsign; ?>)
-
station_profile_name; } ?>" required>
-
station_callsign; } ?>" required>
-
station_power; } ?>"> @@ -90,27 +88,26 @@ if ($dxcc_list->result() > 0) {
- +
-
+
- - num_rows() > 0) { ?> - + + result() as $dxcc) { ?> + end !== NULL; ?> + + @@ -121,8 +118,8 @@ if ($dxcc_list->result() > 0) {
station_city; } ?>"> - -
+ +