[User view] Tweaked add user view. Same design as edit.
这个提交包含在:
		
							父节点
							
								
									fc669a0c2a
								
							
						
					
					
						当前提交
						c1ec375bc8
					
				
					共有  1 个文件被更改,包括 461 次插入 和 252 次删除
				
			
		|  | @ -1,123 +1,90 @@ | ||||||
| 
 |  | ||||||
| <div class="container"> | <div class="container"> | ||||||
| 
 |     <h3> | ||||||
| <br> |         Create User Account | ||||||
| <?php if($this->session->flashdata('notice')) { ?>
 |     </h3> | ||||||
|     <div id="message" > |     <?php if($this->session->flashdata('notice')) { ?>
 | ||||||
|  |     <div id="message"> | ||||||
|         <?php echo $this->session->flashdata('notice'); ?>
 |         <?php echo $this->session->flashdata('notice'); ?>
 | ||||||
|     </div> |     </div> | ||||||
| <?php } ?>
 |     <?php } ?>
 | ||||||
| 
 |  | ||||||
| <div class="card"> |  | ||||||
|   <div class="card-header">Create User Account</div> |  | ||||||
|   <div class="card-body"> |  | ||||||
|     <h5 class="card-title"></h5> |  | ||||||
|     <p class="card-text"></p> |  | ||||||
| 
 | 
 | ||||||
|     <?php $this->load->helper('form'); ?>
 |     <?php $this->load->helper('form'); ?>
 | ||||||
|     <?php echo validation_errors(); ?>
 |     <?php echo validation_errors(); ?>
 | ||||||
| 
 | 
 | ||||||
|     <form method="post" action="<?php echo site_url('user/add'); ?>" name="users"> |     <form method="post" action="<?php echo site_url('user/add'); ?>" name="users"> | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Account Information | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                         <div class="form-group"> | ||||||
| 			<label>Username</label> |                             <label>Username</label> | ||||||
| 		    <input class="form-control" type="text" name="user_name" value="<?php if(isset($user_name)) { echo $user_name; } ?>" /> |                             <input class="form-control" type="text" name="user_name" | ||||||
| 			<?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 |                                 value="<?php if(isset($user_name)) { echo $user_name; } ?>" /> | ||||||
| 		</div> |                             <?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                         <div class="form-group"> | ||||||
| 			<label>User Role</label> |                             <label>Email Address</label> | ||||||
| 		    <select class="custom-select" name="user_type"> |                             <input class="form-control" type="text" name="user_email" | ||||||
| 			<?php |                                 value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> | ||||||
| 				$levels = $this->config->item('auth_level'); |                             <?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 | ||||||
| 				foreach ($levels as $key => $value) { |                         </div> | ||||||
| 					echo '<option value="'. $key . '"'; |  | ||||||
| 					if(isset($user_type)) {  |  | ||||||
| 						if($user_type == $key) {  |  | ||||||
| 							echo "selected=\"selected\"";  |  | ||||||
| 						}  |  | ||||||
| 					}  |  | ||||||
| 					echo '>' . $value . '</option>'; |  | ||||||
| 				}  |  | ||||||
| 				?>
 |  | ||||||
| 			</select> |  | ||||||
| 		  </div> |  | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                         <div class="form-group"> | ||||||
| 			<label>Email Address</label> |                             <label>Password</label> | ||||||
| 			<input class="form-control" type="text" name="user_email" value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> |                             <input class="form-control" type="password" name="user_password" | ||||||
| 			<?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 |                                 value="<?php if(isset($user_password)) { echo $user_password; } ?>" /> | ||||||
| 		</div> |                             <?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                     </div> | ||||||
| 			<label>Password</label> |                 </div> | ||||||
| 		    <input class="form-control" type="password" name="user_password" value="<?php if(isset($user_password)) { echo $user_password; } ?>" /> |             </div> | ||||||
| 				<?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } ?>
 |  | ||||||
| 		</div> |  | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |             <div class="col-md"> | ||||||
| 			<label>First Name</label> |                 <div class="card"> | ||||||
| 		    <input class="form-control" type="text" name="user_firstname" value="<?php if(isset($user_firstname)) { echo $user_firstname; } ?>" /> |                     <div class="card-header"> | ||||||
| 			<?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } ?>
 |                         Roles | ||||||
| 		</div> |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>User Role</label> | ||||||
|  |                             <select class="custom-select" name="user_type"> | ||||||
|  |                                 <?php | ||||||
|  | 										$levels = $this->config->item('auth_level'); | ||||||
|  | 										foreach ($levels as $key => $value) { | ||||||
|  | 											echo '<option value="'. $key . '"'; | ||||||
|  | 											if(isset($user_type)) {  | ||||||
|  | 												if($user_type == $key) {  | ||||||
|  | 													echo "selected=\"selected\"";  | ||||||
|  | 												}  | ||||||
|  | 											}  | ||||||
|  | 											echo '>' . $value . '</option>'; | ||||||
|  | 										}  | ||||||
|  | 										?>
 | ||||||
|  |                             </select> | ||||||
|  |                         </div> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                     </div> | ||||||
| 		    <label>Last Name</label> |                 </div> | ||||||
| 		    <input class="form-control" type="text" name="user_lastname" value="<?php if(isset($user_lastname)) { echo $user_lastname; } ?>" /> |  | ||||||
| 			<?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } ?>
 |  | ||||||
| 		</div> |  | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |             </div> | ||||||
| 		    <label>Callsign</label> |  | ||||||
| 		    <input class="form-control" type="text" name="user_callsign" value="<?php if(isset($user_callsign)) { echo $user_callsign; } ?>" /> |  | ||||||
| 			<?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } ?>
 |  | ||||||
| 		</div> |  | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |             <div class="col-md"> | ||||||
| 		    <label>Gridsquare</label> |                 <div class="card"> | ||||||
| 		    <input class="form-control" type="text" name="user_locator" value="<?php if(isset($user_locator)) { echo $user_locator; } ?>" /> |                     <div class="card-header"> | ||||||
| 			<?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } ?>
 |                         Theme | ||||||
| 		</div> |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-group"> |                         <div class="form-group"> | ||||||
| 		    <label>Timezone</label> |                             <label for="user_stylesheet">Stylesheet</label> | ||||||
| 			<?php |                             <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> | ||||||
| 				if(!isset($user_timezone)) { $user_timezone = 0; } |                                 <?php | ||||||
| 				echo form_dropdown('user_timezone', $timezones, $user_timezone); |  | ||||||
| 			?>
 |  | ||||||
| 		</div> |  | ||||||
| 
 |  | ||||||
| 		<div class="form-group"> |  | ||||||
|         	<label for="SelectDateFormat">Date Format</label> |  | ||||||
|             <select name="user_date_format" class="custom-select" id="SelectDateFormat" aria-describedby="SelectDateFormatHelp"> |  | ||||||
|             	<option value="">Select Format</option> |  | ||||||
|             	<option value="d/m/y"><?php echo date('d/m/y'); ?></option>
 |  | ||||||
|             	<option value="d/m/Y"><?php echo date('d/m/Y'); ?></option>
 |  | ||||||
|             	<option value="m/d/y"><?php echo date('m/d/y'); ?></option>
 |  | ||||||
|             	<option value="m/d/Y"><?php echo date('m/d/Y'); ?></option>
 |  | ||||||
|             	<option value="d.m.Y"><?php echo date('d.m.Y'); ?></option>
 |  | ||||||
|             	<option value="Y-m-d"><?php echo date('Y-m-d'); ?></option>
 |  | ||||||
|             </select> |  | ||||||
| 
 |  | ||||||
|             <small id="SelectDateFormatHelp" class="form-text text-muted">Select how you would like dates shown when logged into your account.</small> |  | ||||||
|         </div> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|         <div class="form-group"> |  | ||||||
|             <label for="user_measurement_base">Measurement preference</label> |  | ||||||
|             <select class="custom-select" id="user_measurement_base" name="user_measurement_base" required> |  | ||||||
|                 <option value=''></option> |  | ||||||
|                 <option value='K' <?php if($measurement_base == "K") { echo "selected=\"selected\""; } ?>>Kilometers</option>
 |  | ||||||
|                 <option value='M' <?php if($measurement_base == "M") { echo "selected=\"selected\""; } ?>>Miles</option>
 |  | ||||||
|                 <option value='N' <?php if($measurement_base == "N") { echo "selected=\"selected\""; } ?>>Nautical miles</option>
 |  | ||||||
|             </select> |  | ||||||
|             <small id="user_measurement_base_Help" class="form-text text-muted">Choose which unit distances will be shown in.</small> |  | ||||||
|         </div> |  | ||||||
| 
 |  | ||||||
|         <div class="form-group"> |  | ||||||
|             <label for="user_stylesheet">Theme</label> |  | ||||||
|             <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> |  | ||||||
| 				<?php |  | ||||||
| 				foreach ($themes as $theme) { | 				foreach ($themes as $theme) { | ||||||
| 					echo '<option value="' . $theme->foldername . '"'; | 					echo '<option value="' . $theme->foldername . '"'; | ||||||
| 					if( $theme->foldername == 'default') { | 					if( $theme->foldername == 'default') { | ||||||
|  | @ -126,155 +93,397 @@ | ||||||
| 					echo '>' . $theme->name . '</option>'; | 					echo '>' . $theme->name . '</option>'; | ||||||
| 				} | 				} | ||||||
| 				?>
 | 				?>
 | ||||||
|             </select> |                             </select> | ||||||
|  |                         </div> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |         <br /> | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Personal Information | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>First Name</label> | ||||||
|  |                             <input class="form-control" type="text" name="user_firstname" | ||||||
|  |                                 value="<?php if(isset($user_firstname)) { echo $user_firstname; } ?>" /> | ||||||
|  |                             <?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>Last Name</label> | ||||||
|  |                             <input class="form-control" type="text" name="user_lastname" | ||||||
|  |                                 value="<?php if(isset($user_lastname)) { echo $user_lastname; } ?>" /> | ||||||
|  |                             <?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>Callsign</label> | ||||||
|  |                             <input class="form-control" type="text" name="user_callsign" | ||||||
|  |                                 value="<?php if(isset($user_callsign)) { echo $user_callsign; } ?>" /> | ||||||
|  |                             <?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>Gridsquare</label> | ||||||
|  |                             <input class="form-control" type="text" name="user_locator" | ||||||
|  |                                 value="<?php if(isset($user_locator)) { echo $user_locator; } ?>" /> | ||||||
|  |                             <?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } ?>
 | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  |             </div> | ||||||
|  | 
 | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Cloudlog Preferences | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label>Timezone</label> | ||||||
|  |                             <?php | ||||||
|  | 					if(!isset($user_timezone)) { $user_timezone = 0; } | ||||||
|  | 					echo form_dropdown('user_timezone', $timezones, $user_timezone); | ||||||
|  | 					?>
 | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label for="SelectDateFormat">Date Format</label> | ||||||
|  |                             <select name="user_date_format" class="custom-select" id="SelectDateFormat" | ||||||
|  |                                 aria-describedby="SelectDateFormatHelp"> | ||||||
|  |                                 <option value="">Select Format</option> | ||||||
|  |                                 <option value="d/m/y"><?php echo date('d/m/y'); ?></option>
 | ||||||
|  |                                 <option value="d/m/Y"><?php echo date('d/m/Y'); ?></option>
 | ||||||
|  |                                 <option value="m/d/y"><?php echo date('m/d/y'); ?></option>
 | ||||||
|  |                                 <option value="m/d/Y"><?php echo date('m/d/Y'); ?></option>
 | ||||||
|  |                                 <option value="d.m.Y"><?php echo date('d.m.Y'); ?></option>
 | ||||||
|  |                                 <option value="Y-m-d"><?php echo date('Y-m-d'); ?></option>
 | ||||||
|  |                             </select> | ||||||
|  | 
 | ||||||
|  |                             <small id="SelectDateFormatHelp" class="form-text text-muted">Select how you would | ||||||
|  |                                 like dates shown when logged into your account.</small> | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label for="user_measurement_base">Measurement preference</label> | ||||||
|  |                             <select class="custom-select" id="user_measurement_base" name="user_measurement_base" | ||||||
|  |                                 required> | ||||||
|  |                                 <option value=''></option> | ||||||
|  |                                 <option value='K' | ||||||
|  |                                     <?php if($measurement_base == "K") { echo "selected=\"selected\""; } ?>>
 | ||||||
|  |                                     Kilometers</option> | ||||||
|  |                                 <option value='M' | ||||||
|  |                                     <?php if($measurement_base == "M") { echo "selected=\"selected\""; } ?>>
 | ||||||
|  |                                     Miles</option> | ||||||
|  |                                 <option value='N' | ||||||
|  |                                     <?php if($measurement_base == "N") { echo "selected=\"selected\""; } ?>>
 | ||||||
|  |                                     Nautical miles</option> | ||||||
|  |                             </select> | ||||||
|  |                             <small id="user_measurement_base_Help" class="form-text text-muted">Choose which | ||||||
|  |                                 unit distances will be shown in.</small> | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |         <br /> | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Main Menu | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label for="shownotes">Show notes in the main menu.</label> | ||||||
|  |                             <select class="custom-select" id="shownotes" name="user_show_notes"> | ||||||
|  |                                 <option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 | ||||||
|  |                                 <option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 | ||||||
|  |                             </select> | ||||||
|  |                         </div> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |         <br /> | ||||||
|  | 
 | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Gridsquare and Location Autocomplete | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-row"> | ||||||
|  |                             <div class="form-group col-md-12"> | ||||||
|  |                                 <label for="qthlookup">Location auto lookup.</label> | ||||||
|  |                                 <select class="custom-select" id="qthlookup" name="user_qth_lookup"> | ||||||
|  |                                     <option value="0"><?php echo $this->lang->line('general_word_no'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                     <option value="1"><?php echo $this->lang->line('general_word_yes'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                 </select> | ||||||
|  |                                 <div class="small form-text text-muted">If set, gridsquare is fetched based on | ||||||
|  |                                     location name.</div> | ||||||
|  |                                 </td> | ||||||
|  |                             </div> | ||||||
|  | 
 | ||||||
|  |                             <div class="form-group col-md-12"> | ||||||
|  |                                 <label for="sotalookup">SOTA auto lookup gridsquare and name for summit.</label> | ||||||
|  |                                 <select class="custom-select" id="sotalookup" name="user_sota_lookup"> | ||||||
|  |                                     <option value="0"><?php echo $this->lang->line('general_word_no'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                     <option value="1"><?php echo $this->lang->line('general_word_yes'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                 </select> | ||||||
|  |                                 <div class="small form-text text-muted">If set, name and gridsquare is fetched | ||||||
|  |                                     from the API and filled in location and locator.</div> | ||||||
|  |                                 </td> | ||||||
|  |                             </div> | ||||||
|  | 
 | ||||||
|  |                             <div class="form-group col-md-12"> | ||||||
|  |                                 <label for="wwfflookup">WWFF auto lookup gridsquare and name for | ||||||
|  |                                     reference.</label> | ||||||
|  |                                 <select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> | ||||||
|  |                                     <option value="0"><?php echo $this->lang->line('general_word_no'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                     <option value="1"><?php echo $this->lang->line('general_word_yes'); ?>
 | ||||||
|  |                                     </option> | ||||||
|  |                                 </select> | ||||||
|  |                                 <div class="small form-text text-muted">If set, name and gridsquare is fetched | ||||||
|  |                                     from the API and filled in location and locator.</div> | ||||||
|  |                                 </td> | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  |             </div> | ||||||
|  | 
 | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Logbook fields | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  |                         <div class="form-row"> | ||||||
|  | 
 | ||||||
|  |                             <div class="form-row"> | ||||||
|  |                                 <div class="form-group col-md-12"> | ||||||
|  |                                     <label | ||||||
|  |                                         for="column1"><?php echo $this->lang->line('account_column1_text'); ?></label>
 | ||||||
|  |                                     <select class="custom-select" id="column1" name="user_column1"> | ||||||
|  |                                         <option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Frequency"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 | ||||||
|  |                                         <option value="Mode" selected='selected'> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 | ||||||
|  |                                         <option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Country"> | ||||||
|  |                                             <?php echo $this->lang->line('general_word_country'); ?></option>
 | ||||||
|  |                                         <option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Grid"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 | ||||||
|  |                                         <option value="Operator"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 | ||||||
|  |                                     </select> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|  |                                 <div class="form-group col-md-12"> | ||||||
|  |                                     <label | ||||||
|  |                                         for="column2"><?php echo $this->lang->line('account_column2_text'); ?></label>
 | ||||||
|  |                                     <select class="custom-select" id="column2" name="user_column2"> | ||||||
|  |                                         <option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Frequency"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 | ||||||
|  |                                         <option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTS" selected='selected'> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 | ||||||
|  |                                         <option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Country"> | ||||||
|  |                                             <?php echo $this->lang->line('general_word_country'); ?></option>
 | ||||||
|  |                                         <option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Grid"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 | ||||||
|  |                                         <option value="Operator"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 | ||||||
|  |                                     </select> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|  |                                 <div class="form-group col-md-12"> | ||||||
|  |                                     <label | ||||||
|  |                                         for="column3"><?php echo $this->lang->line('account_column3_text'); ?></label>
 | ||||||
|  |                                     <select class="custom-select" id="column3" name="user_column3"> | ||||||
|  |                                         <option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Frequency"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 | ||||||
|  |                                         <option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTR" selected='selected'> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 | ||||||
|  |                                         <option value="Country"> | ||||||
|  |                                             <?php echo $this->lang->line('general_word_country'); ?></option>
 | ||||||
|  |                                         <option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Grid"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 | ||||||
|  |                                         <option value="Operator"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 | ||||||
|  |                                     </select> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|  |                                 <div class="form-group col-md-12"> | ||||||
|  |                                     <label | ||||||
|  |                                         for="column4"><?php echo $this->lang->line('account_column4_text'); ?></label>
 | ||||||
|  |                                     <select class="custom-select" id="column4" name="user_column4"> | ||||||
|  |                                         <option value="Band" selected='selected'> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 | ||||||
|  |                                         <option value="Frequency"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 | ||||||
|  |                                         <option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Country"> | ||||||
|  |                                             <?php echo $this->lang->line('general_word_country'); ?></option>
 | ||||||
|  |                                         <option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Grid"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 | ||||||
|  |                                         <option value="Operator"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 | ||||||
|  |                                     </select> | ||||||
|  |                                 </div> | ||||||
|  | 
 | ||||||
|  |                                 <div class="form-group col-md-12"> | ||||||
|  |                                     <label | ||||||
|  |                                         for="column5"><?php echo $this->lang->line('account_column5_text'); ?></label>
 | ||||||
|  |                                     <select class="custom-select" id="column5" name="user_column5"> | ||||||
|  |                                         <option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Frequency"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 | ||||||
|  |                                         <option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Country" selected='selected'> | ||||||
|  |                                             <?php echo $this->lang->line('general_word_country'); ?></option>
 | ||||||
|  |                                         <option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?>
 | ||||||
|  |                                         </option> | ||||||
|  |                                         <option value="Grid"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 | ||||||
|  |                                         <option value="Operator"> | ||||||
|  |                                             <?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 | ||||||
|  |                                     </select> | ||||||
|  |                                 </div> | ||||||
|  |                             </div> | ||||||
|  | 
 | ||||||
|  |                         </div> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  |         </div> | ||||||
|  |         <br /> | ||||||
|  |         <div class="row"> | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         Previous QSL Type | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label for="previousqsltype">Select the type of QSL to show in the previous QSOs | ||||||
|  |                                 section.</label> | ||||||
|  |                             <select class="custom-select" id="previousqsltype" name="user_previous_qsl_type"> | ||||||
|  |                                 <option value="0"><?php echo $this->lang->line('gen_hamradio_qsl'); ?></option>
 | ||||||
|  |                                 <option value="1"><?php echo $this->lang->line('lotw_short'); ?></option>
 | ||||||
|  |                                 <option value="2"><?php echo $this->lang->line('eqsl_short'); ?></option>
 | ||||||
|  |                             </select> | ||||||
|  |                         </div> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|  | 
 | ||||||
|  |             <div class="col-md"> | ||||||
|  |                 <div class="card"> | ||||||
|  |                     <div class="card-header"> | ||||||
|  |                         qrz.com/hamqth.com Images | ||||||
|  |                     </div> | ||||||
|  |                     <div class="card-body"> | ||||||
|  | 
 | ||||||
|  |                         <div class="form-group"> | ||||||
|  |                             <label for="profileimages">Show profile picture of QSO partner from | ||||||
|  |                                 qrz.com/hamqth.com profile in the log QSO section.</label> | ||||||
|  |                             <select class="custom-select" id="profileimages" name="user_show_profile_image"> | ||||||
|  |                                 <option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 | ||||||
|  |                                 <option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 | ||||||
|  |                             </select> | ||||||
|  |                             <div class="small form-text text-muted">Please set your qrz.com/hamqth.com | ||||||
|  |                                 credentials in the general config file.</div> | ||||||
|  |                             </td> | ||||||
|  |                         </div> | ||||||
|  | 
 | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|         </div> |         </div> | ||||||
| 
 | 
 | ||||||
| 		<div class="form-row"> |         <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | ||||||
| 			<div class="form-group col-md-4"> |         <br /> | ||||||
| 				<label for="qthlookup">Location auto lookup.</label> |         <button type="submit" class="btn btn-primary">Create Account</button> | ||||||
| 				<select class="custom-select" id="qthlookup" name="user_qth_lookup"> |         <br /> | ||||||
| 					<option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 |         <br /> | ||||||
| 					<option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 |  | ||||||
| 				</select> |  | ||||||
| 				<div class="small form-text text-muted">If set, gridsquare is fetched based on location name.</div></td> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-4"> |  | ||||||
| 				<label for="sotalookup">SOTA auto lookup gridsquare and name for summit.</label> |  | ||||||
| 				<select class="custom-select" id="sotalookup" name="user_sota_lookup"> |  | ||||||
| 					<option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 |  | ||||||
| 					<option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 |  | ||||||
| 				</select> |  | ||||||
| 				<div class="small form-text text-muted">If set, name and gridsquare is fetched from the API and filled in location and locator.</div></td> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-4"> |  | ||||||
| 				<label for="wwfflookup">WWFF auto lookup gridsquare and name for reference.</label> |  | ||||||
| 				<select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> |  | ||||||
| 					<option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 |  | ||||||
| 					<option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 |  | ||||||
| 				</select> |  | ||||||
| 				<div class="small form-text text-muted">If set, name and gridsquare is fetched from the API and filled in location and locator.</div></td> |  | ||||||
| 			</div> |  | ||||||
| 		</div> |  | ||||||
| 
 |  | ||||||
| 		<div class="form-group"> |  | ||||||
| 			<label for="shownotes">Show notes in the main menu.</label> |  | ||||||
| 			<select class="custom-select" id="shownotes" name="user_show_notes"> |  | ||||||
| 				<option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 |  | ||||||
| 				<option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 		</div> |  | ||||||
| 		<div class="form-row"> |  | ||||||
| 			<div class="form-group col-md-3"> |  | ||||||
| 			<label for="column1"><?php echo $this->lang->line('account_column1_text'); ?></label>
 |  | ||||||
| 			<select class="custom-select" id="column1" name="user_column1"> |  | ||||||
| 				<option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 |  | ||||||
| 				<option value="Frequency"> <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 |  | ||||||
| 				<option value="Mode" selected ='selected'> <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 |  | ||||||
| 				<option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 |  | ||||||
| 				<option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 |  | ||||||
| 				<option value="Country"><?php echo $this->lang->line('general_word_country'); ?></option>
 |  | ||||||
| 				<option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
 |  | ||||||
| 				<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
 |  | ||||||
| 				<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
 |  | ||||||
| 				<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 |  | ||||||
| 				<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-3"> |  | ||||||
| 			<label for="column2"><?php echo $this->lang->line('account_column2_text'); ?></label>
 |  | ||||||
| 			<select class="custom-select" id="column2" name="user_column2"> |  | ||||||
| 				<option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 |  | ||||||
| 				<option value="Frequency"> <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 |  | ||||||
| 				<option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 |  | ||||||
| 				<option value="RSTS" selected ='selected'><?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 |  | ||||||
| 				<option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 |  | ||||||
| 				<option value="Country"><?php echo $this->lang->line('general_word_country'); ?></option>
 |  | ||||||
| 				<option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
 |  | ||||||
| 				<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
 |  | ||||||
| 				<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
 |  | ||||||
| 				<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 |  | ||||||
| 				<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-3"> |  | ||||||
| 			<label for="column3"><?php echo $this->lang->line('account_column3_text'); ?></label>
 |  | ||||||
| 			<select class="custom-select" id="column3" name="user_column3"> |  | ||||||
| 				<option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 |  | ||||||
| 				<option value="Frequency"> <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 |  | ||||||
| 				<option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 |  | ||||||
| 				<option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 |  | ||||||
| 				<option value="RSTR" selected ='selected'><?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 |  | ||||||
| 				<option value="Country"><?php echo $this->lang->line('general_word_country'); ?></option>
 |  | ||||||
| 				<option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
 |  | ||||||
| 				<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
 |  | ||||||
| 				<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
 |  | ||||||
| 				<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 |  | ||||||
| 				<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-3"> |  | ||||||
| 			<label for="column4"><?php echo $this->lang->line('account_column4_text'); ?></label>
 |  | ||||||
| 			<select class="custom-select" id="column4" name="user_column4"> |  | ||||||
| 				<option value="Band" selected ='selected'> <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 |  | ||||||
| 				<option value="Frequency"> <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 |  | ||||||
| 				<option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 |  | ||||||
| 				<option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 |  | ||||||
| 				<option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 |  | ||||||
| 				<option value="Country"><?php echo $this->lang->line('general_word_country'); ?></option>
 |  | ||||||
| 				<option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
 |  | ||||||
| 				<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
 |  | ||||||
| 				<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
 |  | ||||||
| 				<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 |  | ||||||
| 				<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 			</div> |  | ||||||
| 
 |  | ||||||
| 			<div class="form-group col-md-3"> |  | ||||||
| 			<label for="column5"><?php echo $this->lang->line('account_column5_text'); ?></label>
 |  | ||||||
| 				<select class="custom-select" id="column5" name="user_column5"> |  | ||||||
| 					<option value="Band"> <?php echo $this->lang->line('gen_hamradio_band'); ?></option>
 |  | ||||||
| 					<option value="Frequency"> <?php echo $this->lang->line('gen_hamradio_frequency'); ?></option>
 |  | ||||||
| 					<option value="Mode"> <?php echo $this->lang->line('gen_hamradio_mode'); ?></option>
 |  | ||||||
| 					<option value="RSTS"><?php echo $this->lang->line('gen_hamradio_rsts'); ?></option>
 |  | ||||||
| 					<option value="RSTR"><?php echo $this->lang->line('gen_hamradio_rstr'); ?></option>
 |  | ||||||
| 					<option value="Country" selected ='selected'><?php echo $this->lang->line('general_word_country'); ?></option>
 |  | ||||||
| 					<option value="IOTA"><?php echo $this->lang->line('gen_hamradio_iota'); ?></option>
 |  | ||||||
| 					<option value="SOTA"><?php echo $this->lang->line('gen_hamradio_sota'); ?></option>
 |  | ||||||
| 					<option value="State"><?php echo $this->lang->line('gen_hamradio_state'); ?></option>
 |  | ||||||
| 					<option value="Grid"><?php echo $this->lang->line('gen_hamradio_gridsquare'); ?></option>
 |  | ||||||
| 					<option value="Operator"><?php echo $this->lang->line('gen_hamradio_operator'); ?></option>
 |  | ||||||
| 				</select> |  | ||||||
| 			</div> |  | ||||||
| 		</div> |  | ||||||
| 
 |  | ||||||
| 		<div class="form-group"> |  | ||||||
| 			<label for="previousqsltype">Select the type of QSL to show in the previous QSOs section.</label> |  | ||||||
| 			<select class="custom-select" id="previousqsltype" name="user_previous_qsl_type"> |  | ||||||
| 				<option value="0"><?php echo $this->lang->line('gen_hamradio_qsl'); ?></option>
 |  | ||||||
| 				<option value="1"><?php echo $this->lang->line('lotw_short'); ?></option>
 |  | ||||||
| 				<option value="2"><?php echo $this->lang->line('eqsl_short'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 		</div> |  | ||||||
| 
 |  | ||||||
| 		<div class="form-group"> |  | ||||||
| 			<label for="profileimages">Show profile picture of QSO partner from qrz.com/hamqth.com profile in the log QSO section.</label> |  | ||||||
| 			<select class="custom-select" id="profileimages" name="user_show_profile_image"> |  | ||||||
| 				<option value="0"><?php echo $this->lang->line('general_word_no'); ?></option>
 |  | ||||||
| 				<option value="1"><?php echo $this->lang->line('general_word_yes'); ?></option>
 |  | ||||||
| 			</select> |  | ||||||
| 			<div class="small form-text text-muted">Please set your qrz.com/hamqth.com credentials in the general config file.</div></td> |  | ||||||
| 		</div> |  | ||||||
| 
 |  | ||||||
| 		<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> |  | ||||||
| 		<button type="submit" class="btn btn-primary">Create Account</button> |  | ||||||
|     </form> |     </form> | ||||||
|   </div> | </div> | ||||||
| </div> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| </div> |  | ||||||
		正在加载…
	
		在新工单中引用