| 
									
										
										
										
											2023-04-18 02:04:23 +08:00
										 |  |  | <div class="container settings"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<div class="row"> | 
					
						
							|  |  |  | 		<!-- Nav Start --> | 
					
						
							|  |  |  | 		<?php $this->load->view('options/sidebar') ?>
 | 
					
						
							|  |  |  | 		<!-- Nav End --> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<!-- Content --> | 
					
						
							|  |  |  | 		<div class="col-md-9"> | 
					
						
							|  |  |  |             <div class="card"> | 
					
						
							|  |  |  |                 <div class="card-header"><h2><?php echo $page_title; ?> - <?php echo $sub_heading; ?></h2></div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <div class="card-body"> | 
					
						
							|  |  |  |                     <?php if($this->session->flashdata('success')) { ?>
 | 
					
						
							|  |  |  |                         <!-- Display Success Message --> | 
					
						
							|  |  |  |                         <div class="alert alert-success"> | 
					
						
							|  |  |  |                         <?php echo $this->session->flashdata('success'); ?>
 | 
					
						
							|  |  |  |                         </div> | 
					
						
							|  |  |  |                     <?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     <?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  |                         <!-- Display Message --> | 
					
						
							|  |  |  |                         <div class="alert-message error"> | 
					
						
							|  |  |  |                         <?php echo $this->session->flashdata('message'); ?>
 | 
					
						
							|  |  |  |                         </div> | 
					
						
							|  |  |  |                     <?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     <?php if(validation_errors()) { ?>
 | 
					
						
							|  |  |  |                     <div class="alert alert-danger"> | 
					
						
							|  |  |  |                         <a class="close" data-dismiss="alert">x</a> | 
					
						
							|  |  |  |                         <?php echo validation_errors(); ?>
 | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     <?php echo form_open('options/oqrs_save'); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         <div class="form-group"> | 
					
						
							| 
									
										
										
										
											2023-05-19 17:48:29 +08:00
										 |  |  |                             <label for="globalSearch"><?php echo lang('options_global_text'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-04-18 02:04:23 +08:00
										 |  |  |                             <input type="text" name="global_oqrs_text" class="form-control" id="global_oqrs_text" aria-describedby="global_oqrs_text" value="<?php echo $this->optionslib->get_option('global_oqrs_text'); ?>"> | 
					
						
							| 
									
										
										
										
											2023-05-19 17:48:29 +08:00
										 |  |  |                             <small id="global_oqrs_text_help" class="form-text text-muted"><?php echo lang('options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'); ?></small>
 | 
					
						
							| 
									
										
										
										
											2023-04-25 20:00:30 +08:00
										 |  |  |                         </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         <div class="form-group"> | 
					
						
							| 
									
										
										
										
											2023-05-19 17:48:29 +08:00
										 |  |  |                             <label for="groupedSearch"><?php echo lang('options_grouped_search'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-04-25 20:00:30 +08:00
										 |  |  |                             <select name="groupedSearch" class="form-control" id="groupedSearch"> | 
					
						
							|  |  |  |                                 <option value="off" <?php if($this->optionslib->get_option('groupedSearch') == "off") { echo "selected=\"selected\""; } ?>>Off</option>
 | 
					
						
							|  |  |  |                                 <option value="on" <?php if($this->optionslib->get_option('groupedSearch') == "on") { echo "selected=\"selected\""; } ?>>On</option>
 | 
					
						
							|  |  |  |                             </select> | 
					
						
							| 
									
										
										
										
											2023-05-19 17:48:29 +08:00
										 |  |  |                             <small id="groupedSearchHelp" class="form-text text-muted"><?php echo lang('options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'); ?></small>
 | 
					
						
							| 
									
										
										
										
											2023-04-18 02:04:23 +08:00
										 |  |  |                         </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         <!-- Save the Form --> | 
					
						
							| 
									
										
										
										
											2023-05-19 17:48:29 +08:00
										 |  |  |                         <input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" /> | 
					
						
							| 
									
										
										
										
											2023-04-18 02:04:23 +08:00
										 |  |  |                     </form> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </div> |