2019-01-09 15:18:46 +00:00
< div class = " container " >
2025-01-02 10:22:23 +01:00
< br >
2020-09-15 17:04:38 +01:00
< h3 >
2024-03-06 20:32:03 +01:00
< ? php if ( isset ( $user_add )) {
2025-01-02 10:22:23 +01:00
if ( $clubstation ) {
echo __ ( " Create Clubstation Account " );
} else {
echo __ ( " Create User Account " );
}
2023-12-17 19:16:23 +01:00
} else {
2024-06-06 15:41:03 +02:00
echo __ ( " Edit Account " ) . " <small class= \" text-muted \" > " . $user_name . " </small> " ;
2024-03-06 20:32:03 +01:00
}
2023-12-17 19:16:23 +01:00
?>
2024-03-06 20:32:03 +01:00
2020-09-15 17:04:38 +01:00
</ h3 >
2020-12-07 13:54:15 +00:00
< ? php if ( $this -> session -> flashdata ( 'success' )) { ?>
<!-- Display Success Message -->
< div class = " alert alert-success " >
< ? php echo $this -> session -> flashdata ( 'success' ); ?>
</ div >
< ? php } ?>
2019-01-09 15:18:46 +00:00
< ? php if ( $this -> session -> flashdata ( 'message' )) { ?>
<!-- Display Message -->
< div class = " alert-message error " >
2020-12-07 13:54:15 +00:00
< ? php echo $this -> session -> flashdata ( 'message' ); ?>
2019-01-09 15:18:46 +00:00
</ div >
< ? php } ?>
2020-09-15 17:04:38 +01:00
< ? php if ( validation_errors ()) { ?>
< div class = " alert alert-danger " >
2023-11-14 13:35:53 +01:00
< a class = " btn-close " data - bs - dismiss = " alert " > x </ a >
2020-09-15 17:04:38 +01:00
< ? php echo validation_errors (); ?>
</ div >
< ? php } ?>
< ? php $this -> load -> helper ( 'form' ); ?>
2021-02-26 10:37:43 +01:00
2023-12-17 19:16:23 +01:00
< form method = " post " action = " <?php echo $user_form_action ; ?> " name = " users " autocomplete = " off " >
2023-12-16 08:05:43 +01:00
< div class = " accordion user_edit " >
<!-- ZONE 1 / USER -->
< div class = " accordion-item " >
< h2 class = " accordion-header " id = " panelsStayOpen-H_user_general " >
< button class = " accordion-button " type = " button " data - bs - toggle = " collapse " data - bs - target = " #panelsStayOpen-B_user_general " aria - expanded = " true " aria - controls = " panelsStayOpen-B_user_general " >
2024-06-06 20:23:19 +02:00
< ? = __ ( " General Information " ); ?> </button>
2023-12-16 08:05:43 +01:00
</ h2 >
< div id = " panelsStayOpen-B_user_general " class = " accordion-collapse collapse show " aria - labelledby = " panelsStayOpen-H_user_general " >
< div class = " accordion-body " >
< div class = " row " >
<!-- Account Information -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Account " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Username " ); ?> </label>
2024-08-22 16:54:02 +02:00
< input class = " form-control " type = " text " name = " user_name " value = " <?php if(isset( $user_name )) { echo $user_name ; } ?> " < ? php if ( isset ( $user_name ) && $user_name == 'demo' && file_exists ( '.demo' ) && $this -> session -> userdata ( 'user_type' ) !== '99' ) { echo 'disabled' ; } ?> />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $username_error )) { echo " <small class= \" badge bg-danger \" > " . $username_error . " </small> " ; } ?>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Email Address " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_email " value = " <?php if(isset( $user_email )) { echo $user_email ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $email_error )) { echo " <small class= \" badge bg-danger \" > " . $email_error . " </small> " ; } ?>
2023-12-16 08:05:43 +01:00
</ div >
2024-03-06 20:32:03 +01:00
2023-12-16 08:05:43 +01:00
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Password " ); ?> </label>
2023-12-17 17:39:12 +01:00
< div class = " input-group " >
2024-05-08 12:53:22 +02:00
< input class = " form-control " type = " password " name = " user_password " value = " <?php if(isset( $user_password )) { echo $user_password ; } ?> " />
2023-12-17 17:39:12 +01:00
< span class = " input-group-btn " >< button class = " btn btn-default btn-pwd-showhide " type = " button " >< i class = " fa fa-eye-slash " ></ i ></ button ></ span >
</ div >
2025-01-02 10:22:23 +01:00
< ? php if ( $clubstation ) { ?>
< small class = " text-muted " >< ? = __ ( " Don't share this password with operators! " ); ?> </small>
< ? php } ?>
2024-03-06 20:32:03 +01:00
< ? php if ( isset ( $password_error )) {
echo " <small class= \" badge bg-danger \" > " . $password_error . " </small> " ;
2024-03-02 17:33:16 +01:00
} else if ( ! isset ( $user_add )) { ?>
2023-12-16 08:05:43 +01:00
< ? php } ?>
</ div >
2023-12-17 19:16:23 +01:00
2023-12-16 08:05:43 +01:00
< hr />
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " User Role " ); ?> </label>
2023-12-16 08:05:43 +01:00
< ? php if ( $this -> session -> userdata ( 'user_type' ) == 99 ) { ?>
< select class = " form-select " name = " user_type " >
< ? php
2025-01-02 10:22:23 +01:00
if ( $clubstation ) {
echo '<option value="3" selected="selected">' . __ ( " Clubstation " ) . '</option>' ;
} else {
$levels = $this -> config -> item ( 'auth_level' );
foreach ( $levels as $key => $value ) {
echo '<option value="' . $key . '" ' . (( $user_type ? ? '' ) == $key ? " selected= \" selected \" " : " " ) . '>' . $value . '</option>' ;
}
2023-12-16 08:05:43 +01:00
}
?>
</ select >
< ? php } else {
$l = $this -> config -> item ( 'auth_level' );
echo $l [ $user_type ];
} ?>
2025-01-02 10:22:23 +01:00
< ? php if ( $clubstation ) { ?>
< input type = " hidden " name = " clubstation " value = " 1 " />
< ? php } ?>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2020-09-15 17:04:38 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- Personal Information -->
< div class = " col-md " >
< div class = " card " >
2025-01-02 10:22:23 +01:00
< div class = " card-header " >< ? php if ( $clubstation ) { echo __ ( " Callsign Owner " ); } else { echo __ ( " Personal " );} ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " First Name " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_firstname " value = " <?php if(isset( $user_firstname )) { echo $user_firstname ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $firstname_error )) { echo " <small class= \" badge bg-danger \" > " . $firstname_error . " </small> " ; } else { ?>
2023-12-16 08:05:43 +01:00
< ? php } ?>
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Last Name " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_lastname " value = " <?php if(isset( $user_lastname )) { echo $user_lastname ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $lastname_error )) { echo " <small class= \" badge bg-danger \" > " . $lastname_error . " </small> " ; } else { ?>
2023-12-16 08:05:43 +01:00
< ? php } ?>
</ div >
</ div >
</ div >
2020-09-15 17:04:38 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- Ham Radio Information -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Ham Radio " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2025-01-02 10:22:23 +01:00
< label >< ? php if ( $clubstation ) { echo __ ( " Special/Club Callsign " ); } else { echo __ ( " Callsign " ); } ?> </label>
< input class = " form-control uppercase " type = " text " name = " user_callsign " value = " <?php if(isset( $user_callsign )) { echo $user_callsign ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $callsign_error )) { echo " <small class= \" badge bg-danger \" > " . $callsign_error . " </small> " ; } else { ?>
2023-12-16 08:05:43 +01:00
< ? php } ?>
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Gridsquare " ); ?> </label>
2025-01-02 10:22:23 +01:00
< input class = " form-control uppercase " type = " text " name = " user_locator " value = " <?php if(isset( $user_locator )) { echo $user_locator ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $locator_error )) { echo " <small class= \" badge bg-danger \" > " . $locator_error . " </small> " ; } else { ?>
2023-12-16 08:05:43 +01:00
< ? php } ?>
</ div >
</ div >
</ div >
2020-09-15 17:04:38 +01:00
</ div >
2021-02-26 10:37:43 +01:00
</ div >
2020-09-15 17:04:38 +01:00
</ div >
2021-02-26 10:37:43 +01:00
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2024-01-17 14:20:10 +00:00
<!-- ZONE 2 / Wavelog -->
2023-12-16 08:05:43 +01:00
< div class = " accordion-item " >
2024-01-17 14:13:23 +00:00
< h2 class = " accordion-header " id = " panelsStayOpen-H_wavelog_general " >
< button class = " accordion-button collapsed " type = " button " data - bs - toggle = " collapse " data - bs - target = " #panelsStayOpen-B_wavelog_general " aria - expanded = " false " aria - controls = " panelsStayOpen-B_wavelog_general " >
2024-06-06 20:23:19 +02:00
< ? = __ ( " Wavelog Preferences " ); ?> </button>
2023-12-16 08:05:43 +01:00
</ h2 >
2024-01-17 14:13:23 +00:00
< div id = " panelsStayOpen-B_wavelog_general " class = " accordion-collapse collapse " aria - labelledby = " panelsStayOpen-H_wavelog_general " >
2023-12-16 08:05:43 +01:00
< div class = " accordion-body " >
< div class = " row mb-3 " >
2024-01-17 14:20:10 +00:00
<!-- Wavelog Preferences -->
2023-12-16 08:05:43 +01:00
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " General " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
2023-12-17 21:05:56 +01:00
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Theme " ) . ' / ' . __ ( " Stylesheet " ); ?> </label>
2024-11-29 09:39:33 +01:00
< ? php if ( ! isset ( $user_stylesheet )) { $user_stylesheet = 'darkly' ; } ?>
2023-12-17 21:05:56 +01:00
< select class = " form-select " id = " user_stylesheet " name = " user_stylesheet " required >
< ? php
foreach ( $themes as $theme ) {
echo '<option value="' . $theme -> foldername . '" ' . (( $user_stylesheet == $theme -> foldername ) ? 'selected="selected"' : " " ) . '>' . $theme -> name . '</option>' ;
}
?>
</ select >
</ div >
< hr />
2024-06-06 10:46:12 +02:00
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " user_language " >< ? = __ ( " Wavelog Language " ); ?> </label>
2024-06-06 10:46:12 +02:00
< ? php
foreach ( $existing_languages as $lang ) {
2024-07-22 16:16:03 +02:00
$options [ $lang [ 'folder' ]] = $this -> genfunctions -> country2flag ( $lang [ 'flag' ]) . " " . __ ( $lang [ 'name_en' ]);
2024-06-06 10:46:12 +02:00
}
2024-07-03 17:44:35 +02:00
echo form_dropdown ( 'user_language' , $options , $user_language );
2024-06-06 10:46:12 +02:00
?>
2024-06-06 20:23:19 +02:00
< small id = " language_Help " class = " form-text text-muted " >< ? = __ ( " Choose Wavelog language. " ); ?> </small>
2024-06-06 10:46:12 +02:00
</ div >
2023-12-16 08:05:43 +01:00
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Timezone " ); ?> </label>
2024-03-06 20:32:03 +01:00
< ? php
2023-12-17 19:16:23 +01:00
if ( ! isset ( $user_timezone )) { $user_timezone = '151' ; }
2024-03-06 20:32:03 +01:00
echo form_dropdown ( 'user_timezone' , $timezones , $user_timezone );
2023-12-17 19:16:23 +01:00
?>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " SelectDateFormat " >< ? = __ ( " Date Format " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_date_format )) { $user_date_format = 'd/m/y' ; } ?>
2023-12-16 08:05:43 +01:00
< select name = " user_date_format " class = " form-select " id = " SelectDateFormat " aria - describedby = " SelectDateFormatHelp " >
< option value = " d/m/y " < ? php if ( $user_date_format == " d/m/y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('d/m/y'); ?></option>
< option value = " d/m/Y " < ? php if ( $user_date_format == " d/m/Y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('d/m/Y'); ?></option>
< option value = " m/d/y " < ? php if ( $user_date_format == " m/d/y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('m/d/y'); ?></option>
< option value = " m/d/Y " < ? php if ( $user_date_format == " m/d/Y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('m/d/Y'); ?></option>
< option value = " d.m.Y " < ? php if ( $user_date_format == " d.m.Y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('d.m.Y'); ?></option>
< option value = " y/m/d " < ? php if ( $user_date_format == " y/m/d " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('y/m/d'); ?></option>
< option value = " Y-m-d " < ? php if ( $user_date_format == " Y-m-d " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('Y-m-d'); ?></option>
< option value = " M d, Y " < ? php if ( $user_date_format == " M d, Y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('M d, Y'); ?></option>
< option value = " M d, y " < ? php if ( $user_date_format == " M d, y " ) { echo " selected= \" selected \" " ; } ?> ><?php echo date('M d, y'); ?></option>
</ select >
2024-06-06 20:23:19 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " Select how you would like dates shown when logged into your account. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " user_measurement_base " >< ? = __ ( " Measurement preference " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_measurement_base )) { $user_measurement_base = 'M' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " user_measurement_base " name = " user_measurement_base " aria - describedby = " user_measurement_base_Help " required >
2024-06-14 09:23:52 +02:00
< option value = '' ></ option >
2024-06-08 09:54:45 +02:00
< option value = 'K' < ? php if ( $user_measurement_base == " K " ) { echo " selected= \" selected \" " ; } ?> ><?= __("Kilometers"); ?></option>
< option value = 'M' < ? php if ( $user_measurement_base == " M " ) { echo " selected= \" selected \" " ; } ?> ><?= __("Miles"); ?></option>
< option value = 'N' < ? php if ( $user_measurement_base == " N " ) { echo " selected= \" selected \" " ; } ?> ><?= __("Nautical miles"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small id = " user_measurement_base_Help " class = " form-text text-muted " >< ? = __ ( " Choose which unit distances will be shown in " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2023-11-05 10:38:12 +01:00
</ div >
2023-12-15 20:22:58 +01:00
2023-12-16 08:05:43 +01:00
<!-- Logbook fields Setting -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Logbook fields " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " column1 " >< ? = __ ( " Choose column 1 " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_column1 )) { $user_column1 = 'Mode' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " column1 " name = " user_column1 " >
2024-06-06 20:23:19 +02:00
< option value = " Band " < ? php if ( $user_column1 == " Band " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Band"); ?></option>
< option value = " Frequency " < ? php if ( $user_column1 == " Frequency " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Frequency"); ?></option>
< option value = " Mode " < ? php if ( $user_column1 == " Mode " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Mode"); ?></option>
< option value = " RSTS " < ? php if ( $user_column1 == " RSTS " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (S)"); ?></option>
< option value = " RSTR " < ? php if ( $user_column1 == " RSTR " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (R)"); ?></option>
< option value = " Country " < ? php if ( $user_column1 == " Country " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Country"); ?></option>
< option value = " IOTA " < ? php if ( $user_column1 == " IOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("IOTA"); ?></option>
< option value = " SOTA " < ? php if ( $user_column1 == " SOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("SOTA"); ?></option>
< option value = " WWFF " < ? php if ( $user_column1 == " WWFF " ) { echo " selected = \" selected \" " ; } ?> ><?= __("WWFF"); ?></option>
< option value = " POTA " < ? php if ( $user_column1 == " POTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("POTA"); ?></option>
< option value = " State " < ? php if ( $user_column1 == " State " ) { echo " selected = \" selected \" " ; } ?> ><?= __("State"); ?></option>
< option value = " Grid " < ? php if ( $user_column1 == " Grid " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Gridsquare"); ?></option>
< option value = " Distance " < ? php if ( $user_column1 == " Distance " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Distance"); ?></option>
< option value = " Operator " < ? php if ( $user_column1 == " Operator " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Operator"); ?></option>
< option value = " Name " < ? php if ( $user_column1 == " Name " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Name"); ?></option>
2025-01-09 07:09:23 +00:00
< option value = " Bearing " < ? php if ( $user_column1 == " Bearing " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Bearing"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " column2 " >< ? = __ ( " Choose column 2 " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_column2 )) { $user_column2 = 'RSTS' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " column2 " name = " user_column2 " >
2024-06-06 20:23:19 +02:00
< option value = " Band " < ? php if ( $user_column2 == " Band " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Band"); ?></option>
< option value = " Frequency " < ? php if ( $user_column2 == " Frequency " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Frequency"); ?></option>
< option value = " Mode " < ? php if ( $user_column2 == " Mode " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Mode"); ?></option>
< option value = " RSTS " < ? php if ( $user_column2 == " RSTS " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (S)"); ?></option>
< option value = " RSTR " < ? php if ( $user_column2 == " RSTR " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (R)"); ?></option>
< option value = " Country " < ? php if ( $user_column2 == " Country " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Country"); ?></option>
< option value = " IOTA " < ? php if ( $user_column2 == " IOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("IOTA"); ?></option>
< option value = " SOTA " < ? php if ( $user_column2 == " SOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("SOTA"); ?></option>
< option value = " WWFF " < ? php if ( $user_column2 == " WWFF " ) { echo " selected = \" selected \" " ; } ?> ><?= __("WWFF"); ?></option>
< option value = " POTA " < ? php if ( $user_column2 == " POTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("POTA"); ?></option>
< option value = " State " < ? php if ( $user_column2 == " State " ) { echo " selected = \" selected \" " ; } ?> ><?= __("State"); ?></option>
< option value = " Grid " < ? php if ( $user_column2 == " Grid " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Gridsquare"); ?></option>
< option value = " Distance " < ? php if ( $user_column2 == " Distance " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Distance"); ?></option>
< option value = " Operator " < ? php if ( $user_column2 == " Operator " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Operator"); ?></option>
< option value = " Name " < ? php if ( $user_column2 == " Name " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Name"); ?></option>
2025-01-09 07:09:23 +00:00
< option value = " Bearing " < ? php if ( $user_column2 == " Bearing " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Bearing"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " column3 " >< ? = __ ( " Choose column 3 " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_column3 )) { $user_column3 = 'RSTR' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " column3 " name = " user_column3 " >
2024-06-06 20:23:19 +02:00
< option value = " Band " < ? php if ( $user_column3 == " Band " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Band"); ?></option>
< option value = " Frequency " < ? php if ( $user_column3 == " Frequency " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Frequency"); ?></option>
< option value = " Mode " < ? php if ( $user_column3 == " Mode " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Mode"); ?></option>
< option value = " RSTS " < ? php if ( $user_column3 == " RSTS " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (S)"); ?></option>
< option value = " RSTR " < ? php if ( $user_column3 == " RSTR " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (R)"); ?></option>
< option value = " Country " < ? php if ( $user_column3 == " Country " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Country"); ?></option>
< option value = " IOTA " < ? php if ( $user_column3 == " IOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("IOTA"); ?></option>
< option value = " SOTA " < ? php if ( $user_column3 == " SOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("SOTA"); ?></option>
< option value = " WWFF " < ? php if ( $user_column3 == " WWFF " ) { echo " selected = \" selected \" " ; } ?> ><?= __("WWFF"); ?></option>
< option value = " POTA " < ? php if ( $user_column3 == " POTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("POTA"); ?></option>
< option value = " State " < ? php if ( $user_column3 == " State " ) { echo " selected = \" selected \" " ; } ?> ><?= __("State"); ?></option>
< option value = " Grid " < ? php if ( $user_column3 == " Grid " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Gridsquare"); ?></option>
< option value = " Distance " < ? php if ( $user_column3 == " Distance " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Distance"); ?></option>
< option value = " Operator " < ? php if ( $user_column3 == " Operator " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Operator"); ?></option>
< option value = " Name " < ? php if ( $user_column3 == " Name " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Name"); ?></option>
2025-01-09 07:09:23 +00:00
< option value = " Bearing " < ? php if ( $user_column3 == " Bearing " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Bearing"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " column4 " >< ? = __ ( " Choose column 4 " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_column4 )) { $user_column4 = 'Band' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " column4 " name = " user_column4 " >
2024-06-06 20:23:19 +02:00
< option value = " Band " < ? php if ( $user_column4 == " Band " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Band"); ?></option>
< option value = " Frequency " < ? php if ( $user_column4 == " Frequency " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Frequency"); ?></option>
< option value = " Mode " < ? php if ( $user_column4 == " Mode " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Mode"); ?></option>
< option value = " RSTS " < ? php if ( $user_column4 == " RSTS " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (S)"); ?></option>
< option value = " RSTR " < ? php if ( $user_column4 == " RSTR " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (R)"); ?></option>
< option value = " Country " < ? php if ( $user_column4 == " Country " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Country"); ?></option>
< option value = " IOTA " < ? php if ( $user_column4 == " IOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("IOTA"); ?></option>
< option value = " SOTA " < ? php if ( $user_column4 == " SOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("SOTA"); ?></option>
< option value = " WWFF " < ? php if ( $user_column4 == " WWFF " ) { echo " selected = \" selected \" " ; } ?> ><?= __("WWFF"); ?></option>
< option value = " POTA " < ? php if ( $user_column4 == " POTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("POTA"); ?></option>
< option value = " State " < ? php if ( $user_column4 == " State " ) { echo " selected = \" selected \" " ; } ?> ><?= __("State"); ?></option>
< option value = " Grid " < ? php if ( $user_column4 == " Grid " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Gridsquare"); ?></option>
< option value = " Distance " < ? php if ( $user_column4 == " Distance " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Distance"); ?></option>
< option value = " Operator " < ? php if ( $user_column4 == " Operator " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Operator"); ?></option>
< option value = " Name " < ? php if ( $user_column4 == " Name " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Name"); ?></option>
2025-01-09 07:09:23 +00:00
< option value = " Bearing " < ? php if ( $user_column4 == " Bearing " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Bearing"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " column5 " >< ? = __ ( " Choose column 5 (only for logbook) " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_column5 )) { $user_column5 = 'Country' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " column5 " name = " user_column5 " >
< option value = " " < ? php if ( $user_column5 == " " ) { echo " selected = \" selected \" " ; } ?> ></option>
2024-06-06 20:23:19 +02:00
< option value = " Band " < ? php if ( $user_column5 == " Band " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Band"); ?></option>
< option value = " Frequency " < ? php if ( $user_column5 == " Frequency " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Frequency"); ?></option>
< option value = " Mode " < ? php if ( $user_column5 == " Mode " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Mode"); ?></option>
< option value = " RSTS " < ? php if ( $user_column5 == " RSTS " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (S)"); ?></option>
< option value = " RSTR " < ? php if ( $user_column5 == " RSTR " ) { echo " selected = \" selected \" " ; } ?> ><?= __("RST (R)"); ?></option>
< option value = " Country " < ? php if ( $user_column5 == " Country " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Country"); ?></option>
< option value = " IOTA " < ? php if ( $user_column5 == " IOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("IOTA"); ?></option>
< option value = " SOTA " < ? php if ( $user_column5 == " SOTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("SOTA"); ?></option>
< option value = " WWFF " < ? php if ( $user_column5 == " WWFF " ) { echo " selected = \" selected \" " ; } ?> ><?= __("WWFF"); ?></option>
< option value = " POTA " < ? php if ( $user_column5 == " POTA " ) { echo " selected = \" selected \" " ; } ?> ><?= __("POTA"); ?></option>
< option value = " State " < ? php if ( $user_column5 == " State " ) { echo " selected = \" selected \" " ; } ?> ><?= __("State"); ?></option>
< option value = " Grid " < ? php if ( $user_column5 == " Grid " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Gridsquare"); ?></option>
< option value = " Distance " < ? php if ( $user_column5 == " Distance " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Distance"); ?></option>
< option value = " Operator " < ? php if ( $user_column5 == " Operator " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Operator"); ?></option>
< option value = " Name " < ? php if ( $user_column5 == " Name " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Name"); ?></option>
< option value = " Location " < ? php if ( $user_column5 == " Location " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Station Location"); ?></option>
2025-01-09 07:09:23 +00:00
< option value = " Bearing " < ? php if ( $user_column5 == " Bearing " ) { echo " selected = \" selected \" " ; } ?> ><?= __("Bearing"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
</ div >
</ div >
2023-07-07 16:04:19 +02:00
</ div >
2023-12-15 20:22:58 +01:00
2023-12-17 20:46:38 +01:00
<!-- QSO Logging Options -->
2023-12-16 08:05:43 +01:00
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " QSO Logging Options " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " logendtime " >< ? = __ ( " Log End Times for QSOs Separately " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_qso_end_times )) { $user_qso_end_times = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " logendtimes " name = " user_qso_end_times " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_qso_end_times == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_qso_end_times == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 23:25:17 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " Choose yes here if you want to log QSO start and end times separately. If set to 'No' the end time will be the same as start time. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< hr />
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " profileimages " >< ? = __ ( " Show profile picture of QSO partner from qrz.com/hamqth.com profile in the log QSO section. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_show_profile_image )) { $user_show_profile_image = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " profileimages " name = " user_show_profile_image " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_show_profile_image == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_show_profile_image == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " Please set your qrz.com/hamqth.com credentials in the general config file. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< hr />
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " qthlookup " >< ? = __ ( " Location auto lookup. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_qth_lookup )) { $user_qth_lookup = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " qthlookup " name = " user_qth_lookup " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_qth_lookup == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_qth_lookup == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " If set, gridsquare is fetched based on location name. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " sotalookup " >< ? = __ ( " SOTA auto lookup gridsquare and name for summit. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_sota_lookup )) { $user_sota_lookup = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " sotalookup " name = " user_sota_lookup " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_sota_lookup == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_sota_lookup == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " If set, name and gridsquare is fetched from the API and filled in location and locator. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " wwfflookup " >< ? = __ ( " WWFF auto lookup gridsquare and name for reference. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_wwff_lookup )) { $user_wwff_lookup = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " wwfflookup " name = " user_wwff_lookup " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_wwff_lookup == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_wwff_lookup == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " If set, name and gridsquare is fetched from the API and filled in location and locator. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " potalookup " >< ? = __ ( " POTA auto lookup gridsquare and name for park. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_pota_lookup )) { $user_pota_lookup = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " potalookup " name = " user_pota_lookup " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_pota_lookup == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_pota_lookup == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " If set, name and gridsquare is fetched from the API and filled in location and locator. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-07-07 16:04:19 +02:00
</ div >
</ div >
2023-11-30 18:11:22 +01:00
2023-12-16 08:05:43 +01:00
< div class = " row mb-3 " >
<!-- Menu Options -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Menu Options " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " shownotes " >< ? = __ ( " Show notes in the main menu. " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_show_notes )) { $user_show_notes = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " shownotes " name = " user_show_notes " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_show_notes == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_show_notes == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
2024-03-06 20:32:03 +01:00
2023-12-17 17:39:12 +01:00
< hr />
2024-02-09 11:05:28 +01:00
2023-12-16 08:05:43 +01:00
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " quicklog " >< ? = __ ( " Quicklog Field " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_quicklog )) { $user_quicklog = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " quicklog " name = " user_quicklog " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_quicklog == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_quicklog == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " With this feature, you can log callsigns using the search field in the header. " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " quicklog_enter " >< ? = __ ( " Quicklog - Action on press Enter " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_quicklog_enter )) { $user_quicklog_enter = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " quicklog_enter " name = " user_quicklog_enter " >
2024-06-06 20:23:19 +02:00
< option value = " 0 " < ? php if ( $user_quicklog_enter == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Log Callsign"); ?></option>
< option value = " 1 " < ? php if ( $user_quicklog_enter == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Search Callsign"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " What action should be performed when Enter is pressed in the quicklog field? " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
2024-02-09 11:05:28 +01:00
< ? php if ( $this -> session -> userdata ( 'user_id' ) == $this -> uri -> segment ( 3 )) { ?>
< hr />
< div class = " mb-3 " >
2024-06-08 09:54:45 +02:00
< label for = " locations_quickswitch " >< ? = __ ( " Station Locations Quickswitch " ); ?> </label>
2024-02-09 11:05:28 +01:00
< select class = " form-select " id = " locations_quickswitch " name = " user_locations_quickswitch " >
2024-06-08 09:54:45 +02:00
< option value = " false " < ? php if ( $user_locations_quickswitch == 'false' ) { echo " selected = \" selected \" " ; } ?> ><?= __("Disabled"); ?></option>
< option value = " true " < ? php if ( $user_locations_quickswitch == 'true' ) { echo " selected = \" selected \" " ; } ?> ><?= __("Enabled"); ?></option>
2024-02-09 11:05:28 +01:00
</ select >
2024-06-08 09:54:45 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " Show the Station Locations Quickswitch in the main menu " ); ?> </small>
2024-02-09 11:05:28 +01:00
</ div >
2024-05-05 14:56:11 +02:00
< div class = " mb-3 " >
2024-06-08 09:54:45 +02:00
< label for = " utc_headermenu " >< ? = __ ( " UTC Time in Menu " ); ?> </label>
2024-05-05 14:56:11 +02:00
< select class = " form-select " id = " utc_headermenu " name = " user_utc_headermenu " >
2024-06-08 09:54:45 +02:00
< option value = " false " < ? php if ( $user_utc_headermenu == 'false' ) { echo " selected = \" selected \" " ; } ?> ><?= __("Disabled"); ?></option>
< option value = " true " < ? php if ( $user_utc_headermenu == 'true' ) { echo " selected = \" selected \" " ; } ?> ><?= __("Enabled"); ?></option>
2024-05-05 14:56:11 +02:00
</ select >
2024-06-08 09:54:45 +02:00
< small id = " SelectDateFormatHelp " class = " form-text text-muted " >< ? = __ ( " Show the current UTC Time in the menu " ); ?> </small>
2024-05-05 14:56:11 +02:00
</ div >
2024-02-09 11:05:28 +01:00
< ? php } ?>
2023-12-16 08:05:43 +01:00
</ div >
2023-11-30 18:11:22 +01:00
</ div >
</ div >
2023-12-16 08:05:43 +01:00
<!-- Map Setting -->
< ? php if ( $this -> session -> userdata ( 'user_id' ) == $this -> uri -> segment ( 3 )) { ?>
< div class = " col-md " >
< div class = " card " >
2024-06-06 23:41:47 +02:00
< div class = " card-header " >< ? = __ ( " Map Settings " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " row " > <!-- Station -->
< div class = " mb-3 col-md-4 " >
2024-06-06 23:41:47 +02:00
< label >& nbsp ; </ label >< br />< label >< ? = __ ( " Station " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 col-md-3 " >
2024-06-06 23:41:47 +02:00
< label >< ? = __ ( " Icon " ); ?> </label><br/>
2023-12-16 08:05:43 +01:00
< div class = " icon_selectBox " data - boxcontent = " station " >
< input type = " hidden " name = " user_map_station_icon " value = " <?php echo $user_map_station_icon ; ?> " >
2024-06-06 21:32:42 +02:00
< div class = " form-select icon_overSelect " >< ? php echo (( $user_map_station_icon == " 0 " ) ? substr ( __ ( " Not display " ), 0 , 10 ) . '.' : ( " <i class=' " . $user_map_station_icon . " '></i> " )); ?> </div>
2023-12-16 08:05:43 +01:00
</ div >
2024-03-06 20:32:03 +01:00
< div class = " col-md-3 icon_selectBox_data " data - boxcontent = " station " >
2023-12-16 08:05:43 +01:00
< ? php foreach ( $map_icon_select [ 'station' ] as $val ) {
2024-12-12 18:07:00 +01:00
echo " <label data-value=' " . $val . " '> " . (( $val == " 0 " ) ? __ ( " Not displayed " ) : ( " <i class=' " . $val . " '></i> " )) . " </label> " ;
2023-12-16 08:05:43 +01:00
} ?>
</ div >
</ div >
< div class = " mb-3 col-md-2 " >
2024-06-06 23:41:47 +02:00
< label >< ? = __ ( " Colors " ); ?> </label><br/><input type="color" class="form-control user_icon_color" name="user_map_station_color" id="user_map_station_color" value="<?php echo $user_map_station_color; ?>" style="padding:initial;<?php echo ($user_map_station_icon=="0")?'display:none;':''; ?>" data-icon="station" /></div>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " row " > <!-- QSO ( default ) -->
< div class = " mb-3 col-md-4 " >
2024-06-06 23:41:47 +02:00
< label >< ? = __ ( " QSO (by default) " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 col-md-3 " >
< div class = " icon_selectBox " data - boxcontent = " qso " >
< input type = " hidden " name = " user_map_qso_icon " value = " <?php echo $user_map_qso_icon ; ?> " >
< div class = " form-select icon_overSelect " >< ? php echo " <i class=' " . $user_map_qso_icon . " '></i> " ; ?> </div>
</ div >
2024-03-06 20:32:03 +01:00
< div class = " col-md-3 icon_selectBox_data " data - boxcontent = " qso " >
2023-12-16 08:05:43 +01:00
< ? php foreach ( $map_icon_select [ 'qso' ] as $val ) {
echo " <label data-value=' " . $val . " '><i class=' " . $val . " '></i></label> " ;
} ?>
</ div >
</ div >
< div class = " mb-3 col-md-2 " >
< input type = " color " class = " form-control user_icon_color " name = " user_map_qso_color " id = " user_map_qso_color " value = " <?php echo $user_map_qso_color ; ?> " style = " padding:initial; " data - icon = " qso " />
</ div >
</ div >
< div class = " row " > <!-- QSO ( confirmed ) -->
< div class = " mb-3 col-md-4 " >
2024-06-06 23:41:47 +02:00
< label >< ? = __ ( " QSO (confirmed) " ); ?> </label>
2024-06-06 23:30:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " (If 'No', displayed as 'QSO (by default))' " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 col-md-3 " >
< div class = " icon_selectBox " data - boxcontent = " qsoconfirm " >
< input type = " hidden " name = " user_map_qsoconfirm_icon " value = " <?php echo $user_map_qsoconfirm_icon ; ?> " >
2024-06-06 21:32:42 +02:00
< div class = " form-select icon_overSelect " >< ? php echo (( $user_map_qsoconfirm_icon == " 0 " ) ? __ ( " No " ) : ( " <i class=' " . $user_map_qsoconfirm_icon . " '></i> " )); ?> </div>
2023-12-16 08:05:43 +01:00
</ div >
2024-03-06 20:32:03 +01:00
< div class = " col-md-3 icon_selectBox_data " data - boxcontent = " qsoconfirm " >
2023-12-16 08:05:43 +01:00
< ? php foreach ( $map_icon_select [ 'qsoconfirm' ] as $val ) {
2024-06-06 21:32:42 +02:00
echo " <label data-value=' " . $val . " '> " . (( $val == " 0 " ) ? __ ( " No " ) : ( " <i class=' " . $val . " '></i> " )) . " </label> " ;
2023-12-16 08:05:43 +01:00
} ?>
</ div >
</ div >
< div class = " md-3 col-md-2 " >
< input type = " color " class = " form-control user_icon_color " name = " user_map_qsoconfirm_color " id = " user_map_qsoconfirm_color " value = " <?php echo $user_map_qsoconfirm_color ; ?> " style = " padding:initial;<?php echo ( $user_map_qsoconfirm_icon == " 0 " )?'display:none;':''; ?> " data - icon = " qsoconfirm " />
</ div >
</ div >
< div class = " row " >
< div class = " md-3 col-md-4 " >
2024-06-06 23:41:47 +02:00
< label >< ? = __ ( " Show Locator " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " md-3 col-md-3 " >
< select class = " form-select " id = " user_map_gridsquare_show " name = " user_map_gridsquare_show " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_map_gridsquare_show == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_map_gridsquare_show == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
</ div >
</ div >
2023-11-30 18:11:22 +01:00
</ div >
</ div >
2023-12-16 08:05:43 +01:00
< ? php } ?>
2023-11-30 18:11:22 +01:00
</ div >
2020-09-15 17:04:38 +01:00
2024-03-22 07:16:04 +01:00
< div class = " row mb-3 " >
2023-12-16 08:05:43 +01:00
<!-- Previous QSL -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Previous QSL Type " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
2024-03-22 07:16:04 +01:00
< div class = " row " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " profileimages " >< ? = __ ( " Select the type of QSL to show in the previous QSOs section. " ); ?> </label>
2024-03-22 07:16:04 +01:00
< ? php if ( ! isset ( $user_previous_qsl_type )) { $user_previous_qsl_type = '0' ; } ?>
< select class = " form-select " id = " previousqsltype " name = " user_previous_qsl_type " >
2024-06-06 20:23:19 +02:00
< option value = " 0 " < ? php if ( $user_previous_qsl_type == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("QSL"); ?></option>
< option value = " 1 " < ? php if ( $user_previous_qsl_type == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("LoTW"); ?></option>
< option value = " 2 " < ? php if ( $user_previous_qsl_type == 2 ) { echo " selected = \" selected \" " ; } ?> ><?= __("eQSL"); ?></option>
2024-06-08 09:54:45 +02:00
< option value = " 4 " < ? php if ( $user_previous_qsl_type == 4 ) { echo " selected = \" selected \" " ; } ?> ><?= __("QRZ"); ?></option>
2024-06-07 14:58:23 +02:00
< option value = " 8 " < ? php if ( $user_previous_qsl_type == 8 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Clublog"); ?></option>
2024-03-22 07:16:04 +01:00
</ select >
</ div >
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-08-03 13:59:02 +01:00
</ div >
2024-03-22 07:16:04 +01:00
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Show Reference Fields on QSO Tab " ); ?> </div>
2024-03-22 07:16:04 +01:00
< div class = " card-body " >
< div class = " row " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " references_select " >< ? = __ ( " The enabled items will be shown on the QSO tab rather than the General tab. " ); ?> </label>
2024-03-22 07:16:04 +01:00
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_iota_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " iotaToQsoTab " < ? php if ( $user_iota_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " iotaToQsoTab " >< ? = __ ( " IOTA Reference " ); ?> </label>
2024-03-22 07:57:31 +01:00
</ div >
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_sota_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " sotaToQsoTab " < ? php if ( $user_sota_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " sotaToQsoTab " >< ? = __ ( " SOTA Reference " ); ?> </label>
2024-03-22 07:16:04 +01:00
</ div >
2024-03-22 08:06:54 +01:00
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_wwff_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " wwffToQsoTab " < ? php if ( $user_wwff_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " wwffToQsoTab " >< ? = __ ( " WWFF Reference " ); ?> </label>
2024-03-22 08:06:54 +01:00
</ div >
2024-03-22 08:15:45 +01:00
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_pota_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " potaToQsoTab " < ? php if ( $user_pota_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " potaToQsoTab " >< ? = __ ( " POTA Reference(s) " ); ?> </label>
2024-03-22 08:15:45 +01:00
</ div >
2024-03-22 08:26:26 +01:00
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_sig_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " sigToQsoTab " < ? php if ( $user_sig_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " sigToQsoTab " >< ? = __ ( " Sig " ); ?> / <?= __("Sig Info"); ?></label>
2024-03-22 08:35:02 +01:00
</ div >
< div class = " form-check form-switch " >
2024-03-22 08:00:07 +00:00
< input name = " user_dok_to_qso_tab " class = " form-check-input " type = " checkbox " role = " switch " id = " dokToQsoTab " < ? php if ( $user_dok_to_qso_tab ? ? false ) { echo 'checked' ; } ?> >
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " dokToQsoTab " >< ? = __ ( " DOK " ); ?> </label>
2024-03-22 08:26:26 +01:00
</ div >
2024-03-22 07:16:04 +01:00
</ div >
</ div >
2024-06-08 09:54:45 +02:00
< button type = " button " onclick = " clearRefSwitches(); " class = " btn btn-primary " >< i class = " fas fa-recycle " ></ i > < ? = __ ( " Reset " ); ?> </button>
2024-03-22 07:16:04 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
</ div >
</ div >
</ div >
2023-12-16 08:05:43 +01:00
<!-- ZONE 3 / Default Value -->
< div class = " accordion-item " >
< h2 class = " accordion-header " id = " panelsStayOpen-H_default_value " >
2023-12-17 20:21:30 +01:00
< button class = " accordion-button collapsed " type = " button " data - bs - toggle = " collapse " data - bs - target = " #panelsStayOpen-B_default_value " aria - expanded = " false " aria - controls = " panelsStayOpen-B_default_value " >
2024-06-06 20:23:19 +02:00
< ? = __ ( " Default Values " ); ?> </button>
2023-12-16 08:05:43 +01:00
</ h2 >
2023-12-17 20:21:30 +01:00
< div id = " panelsStayOpen-B_default_value " class = " accordion-collapse collapse " aria - labelledby = " panelsStayOpen-H_default_value " >
2023-12-16 08:05:43 +01:00
< div class = " accordion-body " >
< div class = " row " >
<!-- Default -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
<!--< div class = " card-header " >< ? = __ ( " Settings for Default Band and Confirmation " ); ?> </div>-->
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " user_default_band " >< ? = __ ( " Default Band " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_default_band )) { $user_default_band = 'All' ; } ?>
2023-12-16 08:05:43 +01:00
< select id = " user_default_band " class = " form-select " name = " user_default_band " >
2024-06-08 09:54:45 +02:00
< option value = " All " >< ? = __ ( " All " ); ?> </option>;
2023-12-16 08:05:43 +01:00
< ? php foreach ( $bands as $band ) {
2023-12-17 19:16:23 +01:00
echo '<option value="' . $band . '" ' . (( $user_default_band == $band ) ? ' selected="selected"' : '' ) . '>' . $band . '</option>' . " \n " ;
2023-12-16 08:05:43 +01:00
} ?>
</ select >
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label class = " my-1 me-2 " >< ? = __ ( " Default QSL-Methods " ); ?> </label>
2023-12-16 08:05:43 +01:00
< div class = " form-check-inline " >
< ? php echo '<input class="form-check-input" type="checkbox" name="user_default_confirmation_qsl" id="user_default_confirmation_qsl"' ;
if ( isset ( $user_default_confirmation ) && strpos ( $user_default_confirmation , 'Q' ) !== false ) {
echo ' checked' ;
2024-03-06 20:32:03 +01:00
} else if ( ! isset ( $user_default_confirmation )) {
echo ' checked' ;
2023-12-16 08:05:43 +01:00
}
echo '>' ; ?>
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " user_default_confirmation_qsl " >< ? = __ ( " QSL " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " form-check-inline " >
< ? php echo '<input class="form-check-input" type="checkbox" name="user_default_confirmation_lotw" id="user_default_confirmation_lotw"' ;
if ( isset ( $user_default_confirmation ) && strpos ( $user_default_confirmation , 'L' ) !== false ) {
echo ' checked' ;
2024-03-06 20:32:03 +01:00
} else if ( ! isset ( $user_default_confirmation )) {
echo ' checked' ;
2023-12-16 08:05:43 +01:00
}
echo '>' ; ?>
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " user_default_confirmation_lotw " >< ? = __ ( " LoTW " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " form-check-inline " >
< ? php echo '<input class="form-check-input" type="checkbox" name="user_default_confirmation_eqsl" id="user_default_confirmation_eqsl"' ;
if ( isset ( $user_default_confirmation ) && strpos ( $user_default_confirmation , 'E' ) !== false ) {
echo ' checked' ;
}
echo '>' ; ?>
2024-06-06 20:23:19 +02:00
< label class = " form-check-label " for = " user_default_confirmation_eqsl " >< ? = __ ( " eQSL " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " form-check-inline " >
< ? php echo '<input class="form-check-input" type="checkbox" name="user_default_confirmation_qrz" id="user_default_confirmation_qrz"' ;
if ( isset ( $user_default_confirmation ) && strpos ( $user_default_confirmation , 'Z' ) !== false ) {
echo ' checked' ;
2024-03-06 20:32:03 +01:00
}
2023-12-16 08:05:43 +01:00
echo '>' ; ?>
2024-06-08 09:54:45 +02:00
< label class = " form-check-label " for = " user_default_confirmation_qrz " >< ? = __ ( " QRZ.com " ); ?> </label>
2023-12-16 08:05:43 +01:00
</ div >
2024-05-13 08:02:10 +00:00
< div class = " form-check-inline " >
< ? php echo '<input class="form-check-input" type="checkbox" name="user_default_confirmation_clublog" id="user_default_confirmation_clublog"' ;
if ( isset ( $user_default_confirmation ) && strpos ( $user_default_confirmation , 'C' ) !== false ) {
echo ' checked' ;
}
echo '>' ; ?>
2024-06-07 14:58:23 +02:00
< label class = " form-check-label " for = " user_default_confirmation_clublog " >< ? = __ ( " Clublog " ); ?> </label>
2024-05-13 08:02:10 +00:00
</ div >
2023-12-16 08:05:43 +01:00
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
</ div >
</ div >
</ div >
</ div >
</ div >
2023-12-17 17:39:12 +01:00
<!-- ZONE 4 / Confirmation Account -->
2023-12-16 08:05:43 +01:00
< div class = " accordion-item " >
< h2 class = " accordion-header " id = " panelsStayOpen-H_confirmation_account " >
2023-12-17 20:21:30 +01:00
< button class = " accordion-button collapsed " type = " button " data - bs - toggle = " collapse " data - bs - target = " #panelsStayOpen-B_confirmation_account " aria - expanded = " false " aria - controls = " panelsStayOpen-B_confirmation_account " >
2024-06-06 20:23:19 +02:00
< ? = __ ( " Third Party Services " ); ?> </button>
2023-12-16 08:05:43 +01:00
</ h2 >
2023-12-17 20:21:30 +01:00
< div id = " panelsStayOpen-B_confirmation_account " class = " accordion-collapse collapse " aria - labelledby = " panelsStayOpen-H_confirmation_account " >
2023-12-16 08:05:43 +01:00
< div class = " accordion-body " >
< div class = " row " >
<!-- Logbook of the World -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Logbook of the World " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Logbook of The World (LoTW) Username " ); ?> </label>
2024-12-19 07:49:00 +00:00
< input class = " form-control " type = " text " name = " user_lotw_name " id = " user_lotw_name " value = " <?php if(isset( $user_lotw_name )) { echo $user_lotw_name ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $userlotwname_error )) { echo " <small class= \" badge bg-danger \" > " . $userlotwname_error . " </small> " ; } ?>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Logbook of The World (LoTW) Password " ); ?> </label>
2023-12-17 17:39:12 +01:00
< div class = " input-group " >
2024-12-19 07:49:00 +00:00
< input class = " form-control " type = " password " id = " user_lotw_password " name = " user_lotw_password " value = " <?php if(isset( $user_lotw_password )) { echo $user_lotw_password ; } ?> " />
2023-12-17 17:39:12 +01:00
< span class = " input-group-btn " >< button class = " btn btn-default btn-pwd-showhide " type = " button " >< i class = " fa fa-eye-slash " ></ i ></ button ></ span >
2024-12-19 10:33:40 +01:00
< button class = " btn btn-secondary ld-ext-right " type = " button " id = " lotw_test_btn " >< ? = __ ( " Test Login " ); ?> <div class="ld ld-ring ld-spin"></div></button>
2023-12-17 17:39:12 +01:00
</ div >
2024-12-19 08:12:09 +00:00
< div class = " alert mt-3 " style = " display: none; " id = " lotw_test_txt " ></ div >
2024-03-06 20:32:03 +01:00
< ? php if ( isset ( $lotwpassword_error )) {
echo " <small class= \" badge bg-danger \" > " . $lotwpassword_error . " </small> " ;
2024-03-02 17:33:16 +01:00
} else if ( ! isset ( $user_add )) { ?>
2023-12-17 17:39:12 +01:00
< ? php } ?>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- eQSL -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " eQSL " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " eQSL.cc Username " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_eqsl_name " value = " <?php if(isset( $user_eqsl_name )) { echo $user_eqsl_name ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $eqslusername_error )) { echo " <small class= \" badge bg-danger \" > " . $eqslusername_error . " </small> " ; } ?>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " eQSL.cc Password " ); ?> </label>
2023-12-17 17:39:12 +01:00
< div class = " input-group " >
2024-05-08 12:53:22 +02:00
< input class = " form-control " type = " password " name = " user_eqsl_password " value = " <?php if(isset( $user_eqsl_password )) { echo $user_eqsl_password ; } ?> " />
2023-12-17 17:39:12 +01:00
< span class = " input-group-btn " >< button class = " btn btn-default btn-pwd-showhide " type = " button " >< i class = " fa fa-eye-slash " ></ i ></ button ></ span >
</ div >
2024-03-06 20:32:03 +01:00
< ? php if ( isset ( $eqslpassword_error )) {
echo " <small class= \" badge bg-danger \" > " . $eqslpassword_error . " </small> " ;
2024-03-02 17:33:16 +01:00
} else if ( ! isset ( $user_add )) { ?>
2023-12-17 17:39:12 +01:00
< ? php } ?>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- Club Log -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Club Log " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Club Log Email/Callsign " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_clublog_name " value = " <?php if(isset( $user_clublog_name )) { echo $user_clublog_name ; } ?> " />
2024-03-02 17:33:16 +01:00
< ? php if ( isset ( $userclublogname_error )) { echo " <small class= \" badge bg-danger \" > " . $userclublogname_error . " </small> " ; } ?>
2023-12-16 08:05:43 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Club Log Password " ); ?> </label>
2023-12-17 17:39:12 +01:00
< div class = " input-group " >
2024-05-08 12:53:22 +02:00
< input class = " form-control " type = " password " name = " user_clublog_password " value = " <?php if(isset( $user_clublog_password )) { echo $user_clublog_password ; } ?> " />
2023-12-17 17:39:12 +01:00
< span class = " input-group-btn " >< button class = " btn btn-default btn-pwd-showhide " type = " button " >< i class = " fa fa-eye-slash " ></ i ></ button ></ span >
</ div >
2024-11-02 23:20:29 +01:00
< small class = " form-text text-muted " >< ? = sprintf ( __ ( " If you have 2FA enabled at Clublog, you have to generate an App. Password to use Clublog in Wavelog. Visit %syour clublog settings page%s to do so. " ), '<a target="_blank" href="https://clublog.org/edituser.php?tab=7">' , '</a>' ); ?> </small>
2024-03-06 20:32:03 +01:00
< ? php if ( isset ( $clublogpassword_error )) {
echo " <small class= \" badge bg-danger \" > " . $clublogpassword_error . " </small> " ;
2024-03-02 17:33:16 +01:00
} else if ( ! isset ( $user_add )) { ?>
2023-12-17 17:39:12 +01:00
< ? php } ?>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
</ div >
</ div >
</ div >
</ div >
2023-12-16 08:05:43 +01:00
<!-- ZONE 5 / Miscellaneous -->
< div class = " accordion-item " >
< h2 class = " accordion-header " id = " panelsStayOpen-H_miscellaneous " >
2023-12-17 20:21:30 +01:00
< button class = " accordion-button collapsed " type = " button " data - bs - toggle = " collapse " data - bs - target = " #panelsStayOpen-B_miscellaneous " aria - expanded = " false " aria - controls = " panelsStayOpen-B_miscellaneous " >
2024-06-06 20:23:19 +02:00
< ? = __ ( " Miscellaneous " ); ?> </button>
2023-12-16 08:05:43 +01:00
</ h2 >
2023-12-17 20:21:30 +01:00
< div id = " panelsStayOpen-B_miscellaneous " class = " accordion-collapse collapse " aria - labelledby = " panelsStayOpen-H_miscellaneous " >
2023-12-16 08:05:43 +01:00
< div class = " accordion-body " >
< div class = " row " >
<!-- AMSAT Upload -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " AMSAT Status Upload " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label for = " amsatsatatusupload " >< ? = __ ( " Upload status of SAT QSOs to " ); ?> <a href="https://www.amsat.org/status/" target="_blank">https://www.amsat.org/status/</a>.</label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_amsat_status_upload )) { $user_amsat_status_upload = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " id = " amsatstatusupload " name = " user_amsat_status_upload " >
2024-06-06 20:23:19 +02:00
< option value = " 1 " < ? php if ( $user_amsat_status_upload == 1 ) { echo " selected = \" selected \" " ; } ?> ><?= __("Yes"); ?></option>
< option value = " 0 " < ? php if ( $user_amsat_status_upload == 0 ) { echo " selected = \" selected \" " ; } ?> ><?= __("No"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- Mastodon -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Mastodonserver " ); ?> </div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " URL of Mastodonserver " ); ?> </label>
2023-12-16 08:05:43 +01:00
< input class = " form-control " type = " text " name = " user_mastodon_url " value = " <?php if(isset( $user_mastodon_url )) { echo $user_mastodon_url ; } ?> " />
2024-06-08 09:54:45 +02:00
< small class = " form-text text-muted " >< ? = sprintf ( __ ( " Main URL of your Mastodon server, e.g. %s " ), " <a href='https://radiosocial.de/' target='_blank'>https://radiosocial.de</a> " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2023-12-16 08:05:43 +01:00
<!-- Winkeyer -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Winkeyer " ); ?> <span class="badge text-bg-danger float-end"><?= __("Experimental"); ?></span></div>
2023-12-16 08:05:43 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Winkeyer Features Enabled " ); ?> </label>
2023-12-17 19:16:23 +01:00
< ? php if ( ! isset ( $user_winkey )) { $user_winkey = '0' ; } ?>
2023-12-16 08:05:43 +01:00
< select class = " form-select " name = " user_winkey " id = " user_winkeyer " >
2024-06-06 20:23:19 +02:00
< option value = " 0 " < ? php if ( $user_winkey == 0 ) { echo 'selected="selected"' ; } ?> ><?= __("No"); ?></option>
< option value = " 1 " < ? php if ( $user_winkey == 1 ) { echo 'selected="selected"' ; } ?> ><?= __("Yes"); ?></option>
2023-12-16 08:05:43 +01:00
</ select >
2024-06-08 09:54:45 +02:00
< small class = " form-text text-muted " >< ? = sprintf ( __ ( " Winkeyer support in Wavelog is very experimental. Read the wiki first at %s before enabling. " ), " <a href='https://github.com/wavelog/wavelog/wiki/Winkey' target='_blank'>https://github.com/wavelog/wavelog/wiki/Winkey</a> " ); ?> </small>
2023-12-16 08:05:43 +01:00
</ div >
</ div >
</ div >
2023-08-03 13:59:02 +01:00
</ div >
</ div >
2024-03-07 16:11:54 +01:00
< div class = " row " >
<!-- Hams . at Settings -->
< div class = " col-md " >
< div class = " card " >
2024-06-06 20:23:19 +02:00
< div class = " card-header " >< ? = __ ( " Hams.at " ); ?> </div>
2024-03-07 16:11:54 +01:00
< div class = " card-body " >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Private Feed Key " ); ?> </label>
2024-03-07 16:11:54 +01:00
< input class = " form-control " type = " text " name = " user_hamsat_key " value = " <?php if(isset( $user_hamsat_key )) { echo $user_hamsat_key ; } ?> " />
2024-06-08 09:54:45 +02:00
< small class = " form-text text-muted " >< ? = sprintf ( _pgettext ( " Hint for Hamsat API Key; uses Link " , " See your profile at %s. " ), " <a href='https://hams.at/users/settings' target='_blank'>https://hams.at/users/settings</a> " ); ?> </small>
2024-03-07 16:11:54 +01:00
</ div >
< div class = " mb-3 " >
2024-06-06 20:23:19 +02:00
< label >< ? = __ ( " Show Workable Passes Only " ); ?> </label>
2024-03-07 16:11:54 +01:00
< ? php if ( ! isset ( $user_hamsat_workable_only )) { $user_hamsat_workable_only = '0' ; } ?>
< select class = " form-select " name = " user_hamsat_workable_only " id = " user_hamsat_workable_only " >
2024-06-06 20:23:19 +02:00
< option value = " 0 " < ? php if ( $user_hamsat_workable_only == 0 ) { echo 'selected="selected"' ; } ?> ><?= __("No"); ?></option>
< option value = " 1 " < ? php if ( $user_hamsat_workable_only == 1 ) { echo 'selected="selected"' ; } ?> ><?= __("Yes"); ?></option>
2024-03-07 16:11:54 +01:00
</ select >
2024-06-06 20:23:19 +02:00
< small class = " form-text text-muted " >< ? = __ ( " If enabled shows only workable passes based on the gridsquare set in your hams.at account. Requires private feed key to be set. " ); ?> </small>
2024-03-07 16:11:54 +01:00
</ div >
</ div >
</ div >
</ div >
</ div >
2023-08-03 13:59:02 +01:00
</ div >
</ div >
</ div >
2023-12-15 20:22:58 +01:00
</ div >
2020-09-15 17:04:38 +01:00
< input type = " hidden " name = " id " value = " <?php echo $this->uri ->segment(3); ?> " />
2024-06-06 20:23:19 +02:00
< button type = " submit " class = " btn btn-primary mb-5 mt-3 " >< i class = " fas fa-save " ></ i > < ? = __ ( " Save Account " ); ?> </button>
2020-09-15 17:04:38 +01:00
</ form >
2019-01-09 15:18:46 +00:00
</ div >