当前提交
						7ff52f128a
					
				
					共有  3 个文件被更改,包括 2 次插入 和 15 次删除
				
			
		| 
						 | 
					@ -47,19 +47,6 @@ $config['measurement_base'] = 'M';
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
$config['map_gridsquares'] = FALSE;
 | 
					$config['map_gridsquares'] = FALSE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					 | 
				
			||||||
|--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
| CAT Timeout Warning Inverval
 | 
					 | 
				
			||||||
|--------------------------------------------------------------------------
 | 
					 | 
				
			||||||
| 
 | 
					 | 
				
			||||||
| The external CAT applications can obviously stop working for various reasons 
 | 
					 | 
				
			||||||
| this interval is used for displaying a warning on the QSO Panel
 | 
					 | 
				
			||||||
|
 | 
					 | 
				
			||||||
| Default is: 1800 seconds (30 minutes)
 | 
					 | 
				
			||||||
|
 | 
					 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
$config['cat_timeout_interval'] = 1800;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
|--------------------------------------------------------------------------
 | 
					|--------------------------------------------------------------------------
 | 
				
			||||||
| Public Search
 | 
					| Public Search
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -137,7 +137,7 @@ class Options extends CI_Controller {
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			// Update theme choice within the options system
 | 
								// Update theme choice within the options system
 | 
				
			||||||
			$radioTimeout_update = $this->optionslib->update('cat_timeout_interval', $this->input->post('radioTimeout'));
 | 
								$radioTimeout_update = $this->optionslib->update('cat_timeout_interval', $this->input->post('radioTimeout'), 'yes');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			// If theme update is complete set a flashsession with a success note
 | 
								// If theme update is complete set a flashsession with a success note
 | 
				
			||||||
			if($radioTimeout_update == TRUE) {
 | 
								if($radioTimeout_update == TRUE) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1126,7 +1126,7 @@ $(document).on('keypress',function(e) {
 | 
				
			||||||
          $("#selectPropagation").val(data.prop_mode);
 | 
					          $("#selectPropagation").val(data.prop_mode);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          // Display CAT Timeout warnng based on the figure given in the config file
 | 
					          // Display CAT Timeout warnng based on the figure given in the config file
 | 
				
			||||||
            var minutes = Math.floor(<?php echo $this->config->item('cat_timeout_interval'); ?> / 60);
 | 
					            var minutes = Math.floor(<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?> / 60);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if(data.updated_minutes_ago > minutes) {
 | 
					            if(data.updated_minutes_ago > minutes) {
 | 
				
			||||||
              if($('.radio_timeout_error').length == 0) {
 | 
					              if($('.radio_timeout_error').length == 0) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		正在加载…
	
		在新工单中引用