2020-12-14 00:55:10 +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/appearance_save' );  ?> 
 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-10 01:55:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        <!--  < div  class = " form-group " > 
							 
						 
					
						
							
								
									
										
										
										
											2021-01-31 21:41:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < label  for = " themeSelect " > Language </ label > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " langSelect "  name = " language "  aria - describedby = " langHelp "  required > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < ? php  foreach  ( $language_options  as  & $lang_opt )  {  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                    < option  value = '<?php echo $lang_opt; ?>'  < ? php  if ( $this -> optionslib -> get_option ( 'language' ) ==  $lang_opt )  {  echo  " selected= \" selected \" " ;  }  ?> ><?php echo ucfirst($lang_opt); ?></option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < ? php  }  ?> 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            </ select > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            < small  id = " langHelp "  class = " form-text text-muted " > Select  the  default  language  for  Cloudlog .</ small > 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-10 01:55:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        </ div >  --> 
							 
						 
					
						
							
								
									
										
										
										
											2021-01-31 21:41:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                        <!--  Form  options  for  selecting  global  theme  choice  --> 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        < div  class = " form-group " > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < label  for = " themeSelect " >< ? php  echo  lang ( 'options_theme' );  ?> </label>
 
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " themeSelect "  name = " theme "  aria - describedby = " themeHelp "  required > 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:10:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
																< ? php 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																foreach  ( $themes  as  $theme )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																	echo  '<option value="'  .  $theme -> foldername  .  '"' ; 
							 
						 
					
						
							
								
									
										
										
										
											2022-03-26 00:14:51 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
																	if  ( $this -> optionslib -> get_option ( 'option_theme' )  ==  $theme -> foldername )  { 
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:10:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
																		echo  'selected="selected"' ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																	} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																	echo  '>'  .  $theme -> name  .  '</option>' ; 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
																?> 
 
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                                </ select > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < small  id = " themeHelp "  class = " form-text text-muted " >< ? php  echo  lang ( 'options_global_theme_choice_this_is_used_when_users_arent_logged_in' );  ?> </small>
 
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                        </ div > 
							 
						 
					
						
							
								
									
										
										
										
											2023-07-14 21:07:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " globalSearch "  name = " globalSearch "  style = " display: none; " > 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-10 01:46:47 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                                < option  value = 'true'  < ? php  if ( $this -> optionslib -> get_option ( 'global_search' )  ==  " true " )  {  echo  " selected= \" selected \" " ;  }  ?> >Enabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'false'  < ? php  if ( $this -> optionslib -> get_option ( 'global_search' )  ==  " false " )  {  echo  " selected= \" selected \" " ;  }  ?> >Disabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            </ select > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-28 05:47:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        < div  class = " form-group " > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < label  for = " dashboardBanner " >< ? php  echo  lang ( 'options_dashboard_notification_banner' );  ?> </label>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-28 05:47:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " dashboardBanner "  name = " dashboardBanner "  aria - describedby = " dashboardBannerHelp "  required > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'true'  < ? php  if ( $this -> optionslib -> get_option ( 'dashboard_banner' )  ==  " true " )  {  echo  " selected= \" selected \" " ;  }  ?> >Enabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'false'  < ? php  if ( $this -> optionslib -> get_option ( 'dashboard_banner' )  ==  " false " )  {  echo  " selected= \" selected \" " ;  }  ?> >Disabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            </ select > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < small  id = " dashboardBannerHelp "  class = " form-text text-muted " >< ? php  echo  lang ( 'options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard' );  ?> </small>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-28 05:47:54 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-04-30 00:44:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        < div  class = " form-group " > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < label  for = " dashboardMap " >< ? php  echo  lang ( 'options_dashboard_map' );  ?> </label>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-30 00:44:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " dashboardMap "  name = " dashboardMap "  aria - describedby = " dashboardMapHelp "  required > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'true'  < ? php  if ( $this -> optionslib -> get_option ( 'dashboard_map' )  ==  " true " )  {  echo  " selected= \" selected \" " ;  }  ?> >Enabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'false'  < ? php  if ( $this -> optionslib -> get_option ( 'dashboard_map' )  ==  " false " )  {  echo  " selected= \" selected \" " ;  }  ?> >Disabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'map_at_right'  < ? php  if ( $this -> optionslib -> get_option ( 'dashboard_map' )  ==  " map_at_right " )  {  echo  " selected= \" selected \" " ;  }  ?> >Map at right</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            </ select > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < small  id = " dashboardMapHelp "  class = " form-text text-muted " >< ? php  echo  lang ( 'options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right' );  ?> </small>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-30 00:44:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                        < div  class = " form-group " > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < label  for = " logbookMap " >< ? php  echo  lang ( 'options_logbook_map' );  ?> </label>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-30 00:44:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < select  class = " custom-select "  id = " logbookMap "  name = " logbookMap "  aria - describedby = " logbookMapHelp "  required > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'true'  < ? php  if ( $this -> optionslib -> get_option ( 'logbook_map' )  ==  " true " )  {  echo  " selected= \" selected \" " ;  }  ?> >Enabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                                < option  value = 'false'  < ? php  if ( $this -> optionslib -> get_option ( 'logbook_map' )  ==  " false " )  {  echo  " selected= \" selected \" " ;  }  ?> >Disabled</option>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                            </ select > 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                            < small  id = " logbookMapHelp "  class = " form-text text-muted " >< ? php  echo  lang ( 'options_this_allows_to_disable_the_map_in_the_logbook' );  ?> </small>
 
							 
						 
					
						
							
								
									
										
										
										
											2023-04-30 00:44:35 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                        <!--  Save  the  Form  --> 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-19 17:48:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                        < input  class = " btn btn-primary "  type = " submit "  value = " <?php echo lang('options_save'); ?> "  /> 
							 
						 
					
						
							
								
									
										
										
										
											2020-12-14 00:55:10 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								                    </ form > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
										</ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
									</ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-08-09 21:10:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								</ div >