Merge pull request #2148 from cats-shadow/rus-translation
[Translation][Russian] Statistics (partially), User, Options views
这个提交包含在:
		
						当前提交
						a8f93191c2
					
				
					共有  41 个文件被更改,包括 654 次插入 和 237 次删除
				
			
		|  | @ -14,6 +14,15 @@ class Activated_grids extends CI_Controller { | ||||||
|     *   - Band page provide a band dropdown list |     *   - Band page provide a band dropdown list | ||||||
|     *   - Find somewhere in the main menu to add a button to it |     *   - Find somewhere in the main menu to add a button to it | ||||||
|     */ |     */ | ||||||
|  | 	function __construct() | ||||||
|  | 	{ | ||||||
|  | 		parent::__construct(); | ||||||
|  | 
 | ||||||
|  | 		// Load language files
 | ||||||
|  | 		$this->lang->load(array( | ||||||
|  | 			'gridsquares', | ||||||
|  | 		)); | ||||||
|  | 	} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	public function index() { | 	public function index() { | ||||||
|  |  | ||||||
|  | @ -14,6 +14,15 @@ class Gridsquares extends CI_Controller { | ||||||
|     *   - Band page provide a band dropdown list |     *   - Band page provide a band dropdown list | ||||||
|     *   - Find somewhere in the main menu to add a button to it |     *   - Find somewhere in the main menu to add a button to it | ||||||
|     */ |     */ | ||||||
|  | 	function __construct() | ||||||
|  | 	{ | ||||||
|  | 		parent::__construct(); | ||||||
|  | 
 | ||||||
|  | 		// Load language files
 | ||||||
|  | 		$this->lang->load(array( | ||||||
|  | 			'gridsquares', | ||||||
|  | 		)); | ||||||
|  | 	} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	public function index() { | 	public function index() { | ||||||
|  |  | ||||||
|  | @ -13,9 +13,18 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		$this->load->model('user_model'); | 		$this->load->model('user_model'); | ||||||
| 		if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } | 		if(!$this->user_model->authorize(99)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } | ||||||
|  | 
 | ||||||
|  | 		// Load language files
 | ||||||
|  | 		$this->lang->load(array( | ||||||
|  | 			'options', | ||||||
|  | 		)); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 	// Default /options view just gives some text to explain the options area
 | 	// Default /options view just gives some text to explain the options area
 | ||||||
|     function index() { |     function index() { | ||||||
| 
 | 
 | ||||||
|  | @ -24,7 +33,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		//echo $this->optionslib->get_option('theme');
 | 		//echo $this->optionslib->get_option('theme');
 | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->view('interface_assets/header', $data); | 		$this->load->view('interface_assets/header', $data); | ||||||
| 		$this->load->view('options/index'); | 		$this->load->view('options/index'); | ||||||
|  | @ -38,8 +47,8 @@ class Options extends CI_Controller { | ||||||
| 		$directory = 'application/language'; | 		$directory = 'application/language'; | ||||||
| 		$data['language_options'] = array_diff(scandir($directory), array('..', '.')); | 		$data['language_options'] = array_diff(scandir($directory), array('..', '.')); | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 		$data['sub_heading'] = "Appearance"; | 		$data['sub_heading'] = $this->lang->line('options_appearance'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->model('Themes_model'); | 		$this->load->model('Themes_model'); | ||||||
| 
 | 
 | ||||||
|  | @ -57,8 +66,8 @@ class Options extends CI_Controller { | ||||||
| 		$directory = 'application/language'; | 		$directory = 'application/language'; | ||||||
| 		$data['language_options'] = array_diff(scandir($directory), array('..', '.')); | 		$data['language_options'] = array_diff(scandir($directory), array('..', '.')); | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 		$data['sub_heading'] = "Appearance"; | 		$data['sub_heading'] = $this->lang->line('options_appearance'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->helper(array('form', 'url')); | 		$this->load->helper(array('form', 'url')); | ||||||
| 
 | 
 | ||||||
|  | @ -79,7 +88,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// 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($theme_update_status == TRUE) { | 			if($theme_update_status == TRUE) { | ||||||
| 				$this->session->set_flashdata('success', 'Theme changed to '.$this->input->post('theme')); | 				$this->session->set_flashdata('success', $this->lang->line('options_theme_changed_to').$this->input->post('theme')); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Update theme choice within the options system
 | 			// Update theme choice within the options system
 | ||||||
|  | @ -87,7 +96,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// 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($search_update_status == TRUE) { | 			if($search_update_status == TRUE) { | ||||||
| 				$this->session->set_flashdata('success', 'Global Search changed to '.$this->input->post('globalSearch')); | 				$this->session->set_flashdata('success', $this->lang->line('options_global_search_changed_to').$this->input->post('globalSearch')); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Update dashboard banner within the options system
 | 			// Update dashboard banner within the options system
 | ||||||
|  | @ -95,7 +104,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// If dashboard banner update is complete set a flashsession with a success note
 | 			// If dashboard banner update is complete set a flashsession with a success note
 | ||||||
| 			if($dasboard_banner_update_status == TRUE) { | 			if($dasboard_banner_update_status == TRUE) { | ||||||
| 				$this->session->set_flashdata('success', 'Dashboard banner changed to '.$this->input->post('dashboardBanner')); | 				$this->session->set_flashdata('success', $this->lang->line('options_dashboard_banner_changed_to').$this->input->post('dashboardBanner')); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Update dashboard map within the options system
 | 			// Update dashboard map within the options system
 | ||||||
|  | @ -103,7 +112,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// If dashboard map update is complete set a flashsession with a success note
 | 			// If dashboard map update is complete set a flashsession with a success note
 | ||||||
| 			if($ldashboard_map_update_status == TRUE) { | 			if($ldashboard_map_update_status == TRUE) { | ||||||
| 				$this->session->set_flashdata('success', 'Dashboard map changed to '.$this->input->post('dashboardMap')); | 				$this->session->set_flashdata('success', $this->lang->line('options_dashboard_map_changed_to').$this->input->post('dashboardMap')); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Update logbook map within the options system
 | 			// Update logbook map within the options system
 | ||||||
|  | @ -111,7 +120,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// If logbook map update is complete set a flashsession with a success note
 | 			// If logbook map update is complete set a flashsession with a success note
 | ||||||
| 			if($logbook_map_update_status == TRUE) { | 			if($logbook_map_update_status == TRUE) { | ||||||
| 				$this->session->set_flashdata('success', 'Logbook map changed to '.$this->input->post('logbookMap')); | 				$this->session->set_flashdata('success', $this->lang->line('options_logbook_map_changed_to').$this->input->post('logbookMap')); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Update Lang choice within the options system
 | 			// Update Lang choice within the options system
 | ||||||
|  | @ -130,8 +139,8 @@ class Options extends CI_Controller { | ||||||
| 		// function used to display the /radio url
 | 		// function used to display the /radio url
 | ||||||
| 		function radio() { | 		function radio() { | ||||||
| 
 | 
 | ||||||
| 			$data['page_title'] = "Cloudlog Options"; | 			$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 			$data['sub_heading'] = "Radio Settings"; | 			$data['sub_heading'] = $this->lang->line('options_radio_settings'); | ||||||
| 
 | 
 | ||||||
| 			$this->load->view('interface_assets/header', $data); | 			$this->load->view('interface_assets/header', $data); | ||||||
| 			$this->load->view('options/radios'); | 			$this->load->view('options/radios'); | ||||||
|  | @ -143,8 +152,8 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		// Get Language Options
 | 		// Get Language Options
 | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 		$data['sub_heading'] = "Radio Settings"; | 		$data['sub_heading'] = $this->lang->line('options_radio_settings'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->helper(array('form', 'url')); | 		$this->load->helper(array('form', 'url')); | ||||||
| 
 | 
 | ||||||
|  | @ -165,7 +174,7 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// 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) { | ||||||
| 				$this->session->set_flashdata('success', 'Radio Timeout Warning changed to '.$this->input->post('radioTimeout').' seconds'); | 				$this->session->set_flashdata('success', $this->lang->line('options_radio_timeout_warning_changed_to').$this->input->post('radioTimeout').' seconds'); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
| 			// Redirect back to /appearance
 | 			// Redirect back to /appearance
 | ||||||
|  | @ -176,8 +185,8 @@ class Options extends CI_Controller { | ||||||
| 	// function used to display the /appearance url
 | 	// function used to display the /appearance url
 | ||||||
| 	function email() { | 	function email() { | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 		$data['sub_heading'] = "Email"; | 		$data['sub_heading'] = $this->lang->line('options_email'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->view('interface_assets/header', $data); | 		$this->load->view('interface_assets/header', $data); | ||||||
| 		$this->load->view('options/email'); | 		$this->load->view('options/email'); | ||||||
|  | @ -189,8 +198,8 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 			// Get Language Options
 | 			// Get Language Options
 | ||||||
| 	 | 	 | ||||||
| 			$data['page_title'] = "Cloudlog Options"; | 			$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 			$data['sub_heading'] = "Email"; | 			$data['sub_heading'] = $this->lang->line('options_email'); | ||||||
| 	 | 	 | ||||||
| 			$this->load->helper(array('form', 'url')); | 			$this->load->helper(array('form', 'url')); | ||||||
| 	 | 	 | ||||||
|  | @ -212,7 +221,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If emailProtocolupdate update is complete set a flashsession with a success note
 | 				// If emailProtocolupdate update is complete set a flashsession with a success note
 | ||||||
| 				if($emailProtocolupdate == TRUE) { | 				if($emailProtocolupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'Outgoing Email Protocol changed to '.$this->input->post('emailProtocol')); | 					$this->session->set_flashdata('success', $this->lang->line('options_outgoing_email_protocol_changed_to').$this->input->post('emailProtocol')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update smtpEncryption choice within the options system
 | 				// Update smtpEncryption choice within the options system
 | ||||||
|  | @ -220,7 +229,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If smtpEncryption update is complete set a flashsession with a success note
 | 				// If smtpEncryption update is complete set a flashsession with a success note
 | ||||||
| 				if($smtpEncryptionupdate == TRUE) { | 				if($smtpEncryptionupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'SMTP Encryption changed to '.$this->input->post('smtpEncryption')); | 					$this->session->set_flashdata('success', $this->lang->line('options_smtp_encryption_changed_to').$this->input->post('smtpEncryption')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update smtpHost choice within the options system
 | 				// Update smtpHost choice within the options system
 | ||||||
|  | @ -228,7 +237,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If smtpHost update is complete set a flashsession with a success note
 | 				// If smtpHost update is complete set a flashsession with a success note
 | ||||||
| 				if($smtpHostupdate == TRUE) { | 				if($smtpHostupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'SMTP Host changed to '.$this->input->post('smtpHost')); | 					$this->session->set_flashdata('success', $this->lang->line('options_smtp_host_changed_to').$this->input->post('smtpHost')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update smtpPort choice within the options system
 | 				// Update smtpPort choice within the options system
 | ||||||
|  | @ -236,7 +245,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If smtpPort update is complete set a flashsession with a success note
 | 				// If smtpPort update is complete set a flashsession with a success note
 | ||||||
| 				if($smtpPortupdate == TRUE) { | 				if($smtpPortupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'SMTP Port changed to '.$this->input->post('smtpPort')); | 					$this->session->set_flashdata('success', $this->lang->line('options_smtp_port_changed_to').$this->input->post('smtpPort')); | ||||||
| 				} | 				} | ||||||
| 	 | 	 | ||||||
| 				// Update smtpUsername choice within the options system
 | 				// Update smtpUsername choice within the options system
 | ||||||
|  | @ -244,7 +253,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If smtpUsername update is complete set a flashsession with a success note
 | 				// If smtpUsername update is complete set a flashsession with a success note
 | ||||||
| 				if($smtpUsernameupdate == TRUE) { | 				if($smtpUsernameupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'SMTP Username changed to '.$this->input->post('smtpUsername')); | 					$this->session->set_flashdata('success', $this->lang->line('options_smtp_username_changed_to').$this->input->post('smtpUsername')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update smtpPassword choice within the options system
 | 				// Update smtpPassword choice within the options system
 | ||||||
|  | @ -252,7 +261,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If smtpPassword update is complete set a flashsession with a success note
 | 				// If smtpPassword update is complete set a flashsession with a success note
 | ||||||
| 				if($smtpPasswordupdate == TRUE) { | 				if($smtpPasswordupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'SMTP Password changed to '.$this->input->post('smtpPassword')); | 					$this->session->set_flashdata('success', $this->lang->line('options_smtp_password_changed_to').$this->input->post('smtpPassword')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update emailcrlf choice within the options system
 | 				// Update emailcrlf choice within the options system
 | ||||||
|  | @ -260,7 +269,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If emailcrlf update is complete set a flashsession with a success note
 | 				// If emailcrlf update is complete set a flashsession with a success note
 | ||||||
| 				if($emailcrlfupdate == TRUE) { | 				if($emailcrlfupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'Email CRLF changed to '.$this->input->post('emailcrlf')); | 					$this->session->set_flashdata('success', $this->lang->line('options_email_crlf_changed_to').$this->input->post('emailcrlf')); | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				// Update emailnewline choice within the options system
 | 				// Update emailnewline choice within the options system
 | ||||||
|  | @ -268,7 +277,7 @@ class Options extends CI_Controller { | ||||||
| 	 | 	 | ||||||
| 				// If emailnewline update is complete set a flashsession with a success note
 | 				// If emailnewline update is complete set a flashsession with a success note
 | ||||||
| 				if($emailnewlineupdate == TRUE) { | 				if($emailnewlineupdate == TRUE) { | ||||||
| 					$this->session->set_flashdata('success', 'Email Newline changed to '.$this->input->post('emailnewline')); | 					$this->session->set_flashdata('success', $this->lang->line('options_email_newline_changed_to').$this->input->post('emailnewline')); | ||||||
| 				} | 				} | ||||||
| 	 | 	 | ||||||
| 				// Redirect back to /appearance
 | 				// Redirect back to /appearance
 | ||||||
|  | @ -278,8 +287,8 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		function oqrs() { | 		function oqrs() { | ||||||
| 
 | 
 | ||||||
| 			$data['page_title'] = "Cloudlog Options"; | 			$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 			$data['sub_heading'] = "OQRS Options"; | 			$data['sub_heading'] = $this->lang->line('options_oqrs'); | ||||||
| 
 | 
 | ||||||
| 			$this->load->view('interface_assets/header', $data); | 			$this->load->view('interface_assets/header', $data); | ||||||
| 			$this->load->view('options/oqrs'); | 			$this->load->view('options/oqrs'); | ||||||
|  | @ -288,8 +297,8 @@ class Options extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		function oqrs_save() { | 		function oqrs_save() { | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "Cloudlog Options"; | 		$data['page_title'] = $this->lang->line('options_cloudlog_options'); | ||||||
| 		$data['sub_heading'] = "OQRS Options"; | 		$data['sub_heading'] = $this->lang->line('options_oqrs'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->helper(array('form', 'url')); | 		$this->load->helper(array('form', 'url')); | ||||||
| 
 | 
 | ||||||
|  | @ -300,7 +309,7 @@ class Options extends CI_Controller { | ||||||
| 		$global_oqrs_text = $this->optionslib->update('groupedSearch', $this->input->post('groupedSearch'), null); | 		$global_oqrs_text = $this->optionslib->update('groupedSearch', $this->input->post('groupedSearch'), null); | ||||||
| 
 | 
 | ||||||
| 		if($global_oqrs_text == TRUE) { | 		if($global_oqrs_text == TRUE) { | ||||||
| 			$this->session->set_flashdata('success', 'OQRS options have been saved.'); | 			$this->session->set_flashdata('success', $this->lang->line('options_oqrs_options_have_been_saved')); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		redirect('/options/oqrs'); | 		redirect('/options/oqrs'); | ||||||
|  |  | ||||||
|  | @ -2,10 +2,22 @@ | ||||||
| 
 | 
 | ||||||
| class Statistics extends CI_Controller { | class Statistics extends CI_Controller { | ||||||
| 
 | 
 | ||||||
|  | 	function __construct() | ||||||
|  | 	{ | ||||||
|  | 		parent::__construct(); | ||||||
|  | 
 | ||||||
|  | 		// Load language files
 | ||||||
|  | 		$this->lang->load(array( | ||||||
|  | 			'statistics', | ||||||
|  | 		)); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 	public function index() | 	public function index() | ||||||
| 	{ | 	{ | ||||||
|         $this->load->model('user_model'); |         $this->load->model('user_model'); | ||||||
|         $this->load->model('bands'); |         $this->load->model('bands'); | ||||||
|  | 
 | ||||||
|         if(!$this->user_model->authorize($this->config->item('auth_mode'))) { |         if(!$this->user_model->authorize($this->config->item('auth_mode'))) { | ||||||
|             if($this->user_model->validate_session()) { |             if($this->user_model->validate_session()) { | ||||||
|                 $this->user_model->clear_session(); |                 $this->user_model->clear_session(); | ||||||
|  | @ -17,7 +29,7 @@ class Statistics extends CI_Controller { | ||||||
| 		// Render User Interface
 | 		// Render User Interface
 | ||||||
| 
 | 
 | ||||||
| 		// Set Page Title
 | 		// Set Page Title
 | ||||||
| 		$data['page_title'] = "Statistics"; | 		$data['page_title'] = $this->lang->line('statistics_statistics'); | ||||||
| 		$data['sat_active'] = array_search("SAT", $this->bands->get_user_bands(), true); | 		$data['sat_active'] = array_search("SAT", $this->bands->get_user_bands(), true); | ||||||
| 		 | 		 | ||||||
| 		// Load Views
 | 		// Load Views
 | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ class User extends CI_Controller { | ||||||
| 			'account', | 			'account', | ||||||
| 			'lotw', | 			'lotw', | ||||||
| 			'eqsl', | 			'eqsl', | ||||||
|  | 			'admin', | ||||||
| 		)); | 		)); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | @ -21,7 +22,7 @@ class User extends CI_Controller { | ||||||
| 
 | 
 | ||||||
| 		$data['results'] = $this->user_model->users(); | 		$data['results'] = $this->user_model->users(); | ||||||
| 
 | 
 | ||||||
| 		$data['page_title'] = "User Accounts"; | 		$data['page_title'] = $this->lang->line('admin_user_accounts'); | ||||||
| 
 | 
 | ||||||
| 		$this->load->view('interface_assets/header', $data); | 		$this->load->view('interface_assets/header', $data); | ||||||
| 		$this->load->view('user/main'); | 		$this->load->view('user/main'); | ||||||
|  |  | ||||||
|  | @ -8,3 +8,84 @@ $lang['account_column2_text'] = 'Choose column 2'; | ||||||
| $lang['account_column3_text'] = 'Choose column 3'; | $lang['account_column3_text'] = 'Choose column 3'; | ||||||
| $lang['account_column4_text'] = 'Choose column 4'; | $lang['account_column4_text'] = 'Choose column 4'; | ||||||
| $lang['account_column5_text'] = 'Choose column 5 (only for logbook)'; | $lang['account_column5_text'] = 'Choose column 5 (only for logbook)'; | ||||||
|  | 
 | ||||||
|  | $lang['account_create_user_account'] = 'Create User Account'; | ||||||
|  | $lang['account_edit_account'] = 'Edit Account'; | ||||||
|  | 
 | ||||||
|  | $lang['account_account_information'] = 'Account Information'; | ||||||
|  | $lang['account_username'] = 'Username'; | ||||||
|  | $lang['account_email_address'] = 'Email Address'; | ||||||
|  | $lang['account_password'] = 'Password'; | ||||||
|  | 
 | ||||||
|  | $lang['account_roles'] = 'Roles'; | ||||||
|  | $lang['account_user_role'] = 'User Role'; | ||||||
|  | 
 | ||||||
|  | $lang['account_theme'] = 'Theme'; | ||||||
|  | $lang['account_stylesheet'] = 'Stylesheet'; | ||||||
|  | 
 | ||||||
|  | $lang['account_personal_iformation'] = 'Personal Information'; | ||||||
|  | $lang['account_first_name'] = 'First Name'; | ||||||
|  | $lang['account_last_name'] = 'Last Name'; | ||||||
|  | $lang['account_callsign'] = 'Callsign'; | ||||||
|  | $lang['account_gridsquare'] = 'Gridsquare'; | ||||||
|  | 
 | ||||||
|  | $lang['account_cloudlog_preferences'] = 'Cloudlog Preferences'; | ||||||
|  | $lang['account_timezone'] = 'Timezone'; | ||||||
|  | $lang['account_date_format'] = 'Date Format'; | ||||||
|  | $lang['account_measurement_preference'] = 'Measurement preference'; | ||||||
|  | $lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Select how you would like dates shown when logged into your account.'; | ||||||
|  | $lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Choose which unit distances will be shown in'; | ||||||
|  | 
 | ||||||
|  | $lang['account_main_menu'] = 'Main Menu'; | ||||||
|  | $lang['account_show_notes_in_the_main_menu'] = 'Show notes in the main menu.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_gridsquare_and_location_autocomplete'] = 'Gridsquare and Location Autocomplete'; | ||||||
|  | $lang['account_location_auto_lookup'] = 'Location auto lookup.'; | ||||||
|  | $lang['account_if_set_gridsquare_is_fetched_based_on_location_name'] = 'If set, gridsquare is fetched based on location name.'; | ||||||
|  | $lang['account_sota_auto_lookup_gridsquare_and_name_for_summit'] = 'SOTA auto lookup gridsquare and name for summit.'; | ||||||
|  | $lang['account_wwff_auto_lookup_gridsquare_and_name_for_reference'] = 'WWFF auto lookup gridsquare and name for reference.'; | ||||||
|  | $lang['account_pota_auto_lookup_gridsquare_and_name_for_park'] = 'POTA auto lookup gridsquare and name for park.'; | ||||||
|  | $lang['account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'] = 'If set, name and gridsquare is fetched from the API and filled in location and locator.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_previous_qsl_type'] = 'Previous QSL Type'; | ||||||
|  | $lang['account_select_the_type_of_qsl_to_show_in_the_previous_qsos_section'] = 'Select the type of QSL to show in the previous QSOs section.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_qrzcom_hamqthcom_images'] = 'qrz.com/hamqth.com Images'; | ||||||
|  | $lang['account_show_profile_picture_of_qso_partner_from_qrzcom_hamqthcom_profile_in_the_log_qso_section'] = 'Show profile picture of QSO partner from qrz.com/hamqth.com profile in the log QSO section.'; | ||||||
|  | $lang['account_please_set_your_qrzcom_hamqthcom_credentials_in_the_general_config_file'] = 'Please set your qrz.com/hamqth.com credentials in the general config file.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_amsat_status_upload'] = 'AMSAT Status Upload'; | ||||||
|  | $lang['account_upload_status_of_sat_qsos_to'] = 'Upload status of SAT QSOs to'; | ||||||
|  | 
 | ||||||
|  | $lang['account_logbook_of_the_world'] = 'Logbook of the World'; | ||||||
|  | $lang['account_logbook_of_the_world_lotw_username'] = 'Logbook of The World (LoTW) Username'; | ||||||
|  | $lang['account_logbook_of_the_world_lotw_password'] = 'Logbook of The World (LoTW) Password'; | ||||||
|  | $lang['account_leave_blank_to_keep_existing_password'] = 'Leave blank to keep existing password'; | ||||||
|  | 
 | ||||||
|  | $lang['account_clublog'] = 'Club Log'; | ||||||
|  | $lang['account_clublog_email_callsign'] = 'Club Log Email/Callsign'; | ||||||
|  | $lang['account_clublog_password'] = 'Club Log Password'; | ||||||
|  | $lang['account_the_email_or_callsign_you_use_to_login_to_club_log'] = 'The Email or Callsign you use to login to Club Log'; | ||||||
|  | 
 | ||||||
|  | $lang['account_eqsl'] = 'eQSL'; | ||||||
|  | $lang['account_eqsl_username'] = 'eQSL.cc Username'; | ||||||
|  | $lang['account_eqsl_password'] = 'eQSL.cc Password'; | ||||||
|  | 
 | ||||||
|  | $lang['account_save_account_changes'] = 'Save Account Changes'; | ||||||
|  | $lang['account_create_account'] = 'Create Account'; | ||||||
|  | 
 | ||||||
|  | $lang['account_delete_user_account'] = 'Delete User Account'; | ||||||
|  | $lang['account_are_you_sure_you_want_to_delete_the_user_account'] = 'Are you sure you want to delete the user account'; | ||||||
|  | $lang['account_yes_delete_this_user'] = 'Yes, delete this user'; | ||||||
|  | $lang['account_no_do_not_delete_this_user'] = 'No, do not delete this user'; | ||||||
|  | 
 | ||||||
|  | $lang['account_forgot_password'] = 'Forgot Password?'; | ||||||
|  | $lang['account_you_can_reset_your_password_here'] = 'You can reset your password here.'; | ||||||
|  | $lang['account_reset_password'] = 'Reset Password'; | ||||||
|  | $lang['account_the_email_field_is_required'] = 'The Email field is required'; | ||||||
|  | $lang['account_confirm_password'] = 'Confirm Password'; | ||||||
|  | 
 | ||||||
|  | $lang['account_forgot_your_password'] = 'Forgot your password?'; | ||||||
|  | 
 | ||||||
|  | $lang['account_login_to_cloudlog'] = 'Login to Cloudlog'; | ||||||
|  | $lang['account_login'] = 'Login'; | ||||||
|  |  | ||||||
|  | @ -0,0 +1,18 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['admin_user_line1'] = 'Cloudlog needs at least one user configured in order to operate.'; | ||||||
|  | $lang['admin_user_line2'] = 'Users can be assigned roles which give them different permissions, such as adding QSOs to the logbook and accessing Cloudlog APIs.'; | ||||||
|  | $lang['admin_user_line3'] = 'The currently logged-in user is displayed at the upper-right of each page.'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_user_list'] = 'User List'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_user'] = 'User'; | ||||||
|  | $lang['admin_email'] = 'E-mail'; | ||||||
|  | $lang['admin_type'] = 'Type'; | ||||||
|  | $lang['admin_options'] = 'Options'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_create_user'] = 'Create user'; | ||||||
|  | $lang['admin_delete'] = 'Delete'; | ||||||
|  | $lang['admin_edit'] = 'Edit'; | ||||||
|  | @ -136,3 +136,5 @@ $lang['europe'] = 'Europe'; | ||||||
| $lang['northamerica'] = 'North America'; | $lang['northamerica'] = 'North America'; | ||||||
| $lang['oceania'] = 'Oceania'; | $lang['oceania'] = 'Oceania'; | ||||||
| $lang['southamerica'] = 'South America'; | $lang['southamerica'] = 'South America'; | ||||||
|  | 
 | ||||||
|  | $lang['gen_band_selection'] = 'Band selection'; | ||||||
|  | @ -0,0 +1,15 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_gridsquare_map'] = 'Gridsquare map'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_confirmed_is_green'] = 'Confirmed is Green'; | ||||||
|  | $lang['gridsquares_worked_but_not_confirmed_is_red'] = 'Worked but not confirmes is Red'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'] = 'This map does not include satellite, internet or repeater QSOs'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_grid_squares'] = 'grid square'; | ||||||
|  | $lang['gridsquares_total_count'] = 'Total count'; | ||||||
|  | @ -16,6 +16,8 @@ $lang['menu_post_contest_logging'] = 'Post Contest Logging'; | ||||||
| $lang['menu_view_qsl'] = 'View QSL'; | $lang['menu_view_qsl'] = 'View QSL'; | ||||||
| $lang['menu_view_eqsl'] = 'View eQSL'; | $lang['menu_view_eqsl'] = 'View eQSL'; | ||||||
| 
 | 
 | ||||||
|  | $lang['menu_notes'] = 'Notes'; | ||||||
|  | 
 | ||||||
| $lang['menu_analytics'] = 'Analytics'; | $lang['menu_analytics'] = 'Analytics'; | ||||||
| $lang['menu_statistics'] = 'Statistics'; | $lang['menu_statistics'] = 'Statistics'; | ||||||
| $lang['menu_gridsquares'] = 'Gridsquares'; | $lang['menu_gridsquares'] = 'Gridsquares'; | ||||||
|  |  | ||||||
|  | @ -0,0 +1,57 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['options_cloudlog_options'] = 'Cloudlog Options'; | ||||||
|  | $lang['options_message1'] = 'Cloudlog Options are global settings used for all users of the installation, which are overridden if there\'s a setting on a user level.'; | ||||||
|  | 
 | ||||||
|  | $lang['options_appearance'] = 'Appearance'; | ||||||
|  | $lang['options_theme'] = 'Theme'; | ||||||
|  | $lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Global Theme Choice, this is used when users arent logged in.'; | ||||||
|  | $lang['options_public_search_bar'] = 'Public Search Bar'; | ||||||
|  | $lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'This allows non logged in users to access the search functions.'; | ||||||
|  | $lang['options_dashboard_notification_banner'] = 'Dashboard Notification Banner'; | ||||||
|  | $lang['options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'] = 'This allows to disable the global notification banner on the dashboard.'; | ||||||
|  | $lang['options_dashboard_map'] = 'Dashboard Map'; | ||||||
|  | $lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'This allows the map on the dashboard to be disabled or placed on the right.'; | ||||||
|  | $lang['options_logbook_map'] = 'Logbook Map'; | ||||||
|  | $lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'This allows to disable the map in the logbook.'; | ||||||
|  | $lang['options_theme_changed_to'] = 'Theme changed to '; | ||||||
|  | $lang['options_global_search_changed_to'] = 'Global Search changed to '; | ||||||
|  | $lang['options_dashboard_banner_changed_to'] = 'Dashboard banner changed to '; | ||||||
|  | $lang['options_dashboard_map_changed_to'] = 'Dashboard map changed to '; | ||||||
|  | $lang['options_logbook_map_changed_to'] = 'Logbook map changed to '; | ||||||
|  | 
 | ||||||
|  | $lang['options_radios'] = 'Radios'; | ||||||
|  | $lang['options_radio_settings'] = 'Radio Settings'; | ||||||
|  | $lang['options_radio_timeout_warning'] = 'Radio Timeout Warning'; | ||||||
|  | $lang['options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'] = 'The Radio Timeout Warning is used on the QSO entry panel to alert you to radio interface disconnects.'; | ||||||
|  | $lang['options_this_number_is_in_seconds'] = 'This number is in seconds.'; | ||||||
|  | $lang['options_radio_timeout_warning_changed_to'] = 'Radio Timeout Warning changed to '; | ||||||
|  | 
 | ||||||
|  | $lang['options_email'] = 'Email'; | ||||||
|  | $lang['options_outgoing_protocol'] = 'Outgoing Protocol'; | ||||||
|  | $lang['options_smtp_encryption'] = 'SMTP Encryption'; | ||||||
|  | $lang['options_smtp_host'] = 'SMTP Host'; | ||||||
|  | $lang['options_smtp_port'] = 'SMTP Port'; | ||||||
|  | $lang['options_smtp_username'] = 'SMTP Username'; | ||||||
|  | $lang['options_smtp_password'] = 'SMTP Password'; | ||||||
|  | $lang['options_crlf'] = 'CRLF'; | ||||||
|  | $lang['options_newline'] = 'Newline'; | ||||||
|  | $lang['options_outgoing_email_protocol_changed_to'] = 'Outgoing Email Protocol changed to '; | ||||||
|  | $lang['options_smtp_encryption_changed_to'] = 'SMTP Encryption changed to '; | ||||||
|  | $lang['options_smtp_host_changed_to'] = 'SMTP Host changed to '; | ||||||
|  | $lang['options_smtp_port_changed_to'] = 'SMTP Post changed to '; | ||||||
|  | $lang['options_smtp_username_changed_to'] = 'SMTP Username changed to '; | ||||||
|  | $lang['options_smtp_password_changed_to'] = 'SMTP Password changed to '; | ||||||
|  | $lang['options_email_crlf_changed_to'] = 'Email CRLF changed to '; | ||||||
|  | $lang['options_email_newline_changed_to'] = 'Email Newline changed to '; | ||||||
|  | 
 | ||||||
|  | $lang['options_oqrs'] = 'OQRS Options'; | ||||||
|  | $lang['options_global_text'] = 'Global text'; | ||||||
|  | $lang['options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'] = 'This text is an optional text that can be displayed on top of the OQRS page.'; | ||||||
|  | $lang['options_grouped_search'] = 'Grouped search'; | ||||||
|  | $lang['options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'] = 'When this is on, all station locations with OQRS active, will be searched at once.'; | ||||||
|  | $lang['options_oqrs_options_have_been_saved'] = 'OQRS options have been saved.'; | ||||||
|  | 
 | ||||||
|  | $lang['options_save'] = 'Save'; | ||||||
|  | @ -0,0 +1,17 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['statistics_statistics'] = 'Statistics'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_explore_the_logbook'] = 'Explore the logbook.'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_years'] = 'Years'; | ||||||
|  | $lang['statistics_mode'] = 'Mode'; | ||||||
|  | $lang['statistics_bands'] = 'Bands'; | ||||||
|  | $lang['statistics_qsos'] = 'QSOs'; | ||||||
|  | $lang['statistics_unique_callsigns'] = 'Unique callsigns'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_total'] = 'Total'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_year'] = 'Year'; | ||||||
|  | @ -8,3 +8,84 @@ $lang['account_column2_text'] = 'Выберите столбец 2'; | ||||||
| $lang['account_column3_text'] = 'Выберите столбец 3'; | $lang['account_column3_text'] = 'Выберите столбец 3'; | ||||||
| $lang['account_column4_text'] = 'Выберите столбец 4'; | $lang['account_column4_text'] = 'Выберите столбец 4'; | ||||||
| $lang['account_column5_text'] = 'Выберите столбец 5 (только для журнала)'; | $lang['account_column5_text'] = 'Выберите столбец 5 (только для журнала)'; | ||||||
|  | 
 | ||||||
|  | $lang['account_create_user_account'] = ' Создать аккаунт пользователя'; | ||||||
|  | $lang['account_edit_account'] = 'Редактировать аккаунт'; | ||||||
|  | 
 | ||||||
|  | $lang['account_account_information'] = 'Информация об аккаунте'; | ||||||
|  | $lang['account_username'] = 'Имя пользователя'; | ||||||
|  | $lang['account_email_address'] = 'Адрес электронной почты'; | ||||||
|  | $lang['account_password'] = 'Пароль'; | ||||||
|  | 
 | ||||||
|  | $lang['account_roles'] = 'Роли'; | ||||||
|  | $lang['account_user_role'] = 'Роль пользователя'; | ||||||
|  | 
 | ||||||
|  | $lang['account_theme'] = 'Тема оформления'; | ||||||
|  | $lang['account_stylesheet'] = 'Шаблон'; | ||||||
|  | 
 | ||||||
|  | $lang['account_personal_iformation'] = 'Персональная информация'; | ||||||
|  | $lang['account_first_name'] = 'Имя'; | ||||||
|  | $lang['account_last_name'] = 'Фамилия'; | ||||||
|  | $lang['account_callsign'] = 'Позывной'; | ||||||
|  | $lang['account_gridsquare'] = 'QTH локатор'; | ||||||
|  | 
 | ||||||
|  | $lang['account_cloudlog_preferences'] = 'Настройки Cloudlog'; | ||||||
|  | $lang['account_timezone'] = 'Часовой пояс'; | ||||||
|  | $lang['account_date_format'] = 'Формат даты'; | ||||||
|  | $lang['account_measurement_preference'] = 'Единицы измерения'; | ||||||
|  | $lang['account_select_how_you_would_like_dates_shown_when_logged_into_your_account'] = 'Выберите представление даты для отображения в вашем аккаунте.'; | ||||||
|  | $lang['account_choose_which_unit_distances_will_be_shown_in'] = 'Выберите единицы измерения расстояния'; | ||||||
|  | 
 | ||||||
|  | $lang['account_main_menu'] = 'Главное меню'; | ||||||
|  | $lang['account_show_notes_in_the_main_menu'] = 'Показывать заметки в главном меню.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_gridsquare_and_location_autocomplete'] = 'Автозаполнение QTH локатора и местоположения'; | ||||||
|  | $lang['account_location_auto_lookup'] = 'Автозаполнение по местоположению.'; | ||||||
|  | $lang['account_if_set_gridsquare_is_fetched_based_on_location_name'] = 'Если включено, QTH локатор будет определён на основе имени местоположения.'; | ||||||
|  | $lang['account_sota_auto_lookup_gridsquare_and_name_for_summit'] = 'Автозаполнение QTH локатора и названия саммита по SOTA'; | ||||||
|  | $lang['account_wwff_auto_lookup_gridsquare_and_name_for_reference'] = 'Автозаполнение QTH локатора и названия референции по WWFF'; | ||||||
|  | $lang['account_pota_auto_lookup_gridsquare_and_name_for_park'] = 'Автозаполнение QTH локатора и названия парка по POTA'; | ||||||
|  | $lang['account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'] = 'Если включено, называние и квадрат запрашиваются по API и заполняются в поля местоположение и QTH локатор.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_previous_qsl_type'] = 'Тип предыдущего QSL'; | ||||||
|  | $lang['account_select_the_type_of_qsl_to_show_in_the_previous_qsos_section'] = 'Выберите тип QSL для отобрашения в секции предыдущих QSO.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_qrzcom_hamqthcom_images'] = 'Изображения с qrz.com/hamqth.com'; | ||||||
|  | $lang['account_show_profile_picture_of_qso_partner_from_qrzcom_hamqthcom_profile_in_the_log_qso_section'] = 'Показать изображение профиля партнера по QSO из его профиля на qrz.com/hamqth.com в разделе QSO журнала.'; | ||||||
|  | $lang['account_please_set_your_qrzcom_hamqthcom_credentials_in_the_general_config_file'] = 'Пожалуйста, укажите свои учетные данные для qrz.com/hamqth.com в общем файле конфигурации.'; | ||||||
|  | 
 | ||||||
|  | $lang['account_amsat_status_upload'] = 'Загрузка статуса AMSAT'; | ||||||
|  | $lang['account_upload_status_of_sat_qsos_to'] = 'Загружать статус QSO через спутники в'; | ||||||
|  | 
 | ||||||
|  | $lang['account_logbook_of_the_world'] = 'Logbook of the World'; | ||||||
|  | $lang['account_logbook_of_the_world_lotw_username'] = 'Логин'; | ||||||
|  | $lang['account_logbook_of_the_world_lotw_password'] = 'Пароль'; | ||||||
|  | $lang['account_leave_blank_to_keep_existing_password'] = 'Оставьте пустым для сохранения текущего пароля'; | ||||||
|  | 
 | ||||||
|  | $lang['account_clublog'] = 'Club Log'; | ||||||
|  | $lang['account_clublog_email_callsign'] = 'Емэйл/позывной'; | ||||||
|  | $lang['account_clublog_password'] = 'Пароль'; | ||||||
|  | $lang['account_the_email_or_callsign_you_use_to_login_to_club_log'] = 'Емэйл или позывной, которые вы используете для логина в Club Log'; | ||||||
|  | 
 | ||||||
|  | $lang['account_eqsl'] = 'eQSL'; | ||||||
|  | $lang['account_eqsl_username'] = 'Логин'; | ||||||
|  | $lang['account_eqsl_password'] = 'Пароль'; | ||||||
|  | 
 | ||||||
|  | $lang['account_save_account_changes'] = 'Сохранить изменения'; | ||||||
|  | $lang['account_create_account'] = 'Создать аккаунт'; | ||||||
|  | 
 | ||||||
|  | $lang['account_delete_user_account'] = 'Удалить аккаунт пользователя'; | ||||||
|  | $lang['account_are_you_sure_you_want_to_delete_the_user_account'] = 'Вы уверены в том, что вы хотите удалить аккаунт пользователя'; | ||||||
|  | $lang['account_yes_delete_this_user'] = 'Да, удалить этого пользователя'; | ||||||
|  | $lang['account_no_do_not_delete_this_user'] = 'Нет, не удалять этого пользователя'; | ||||||
|  | 
 | ||||||
|  | $lang['account_forgot_password'] = 'Забыли пароль?'; | ||||||
|  | $lang['account_you_can_reset_your_password_here'] = 'Вы можете сбросить свой пароль здесь.'; | ||||||
|  | $lang['account_reset_password'] = 'Сбросить пароль'; | ||||||
|  | $lang['account_the_email_field_is_required'] = 'Заполните адрес электронной почты'; | ||||||
|  | $lang['account_confirm_password'] = 'Подтвердить Пароль'; | ||||||
|  | 
 | ||||||
|  | $lang['account_forgot_your_password'] = 'Забыли пароль?'; | ||||||
|  | 
 | ||||||
|  | $lang['account_login_to_cloudlog'] = 'Вход в Cloudlog'; | ||||||
|  | $lang['account_login'] = 'Вход'; | ||||||
|  |  | ||||||
|  | @ -0,0 +1,21 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['admin_user_line1'] = 'Для работы Cloudlog требуется хотя наличие хотя бы одного пользовательского аккаунта.'; | ||||||
|  | $lang['admin_user_line2'] = 'Пользователям могут быть назначены роли, которые предоставляют им различные права, например, добавление QSO в журнал и доступ к API Cloudlog.'; | ||||||
|  | $lang['admin_user_line3'] = 'Текущий вошедший в систему пользователь отображается в правом верхнем углу каждой страницы.'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_user_list'] = 'Список пользователей'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_user'] = 'Пользователь'; | ||||||
|  | $lang['admin_email'] = 'Емэйл'; | ||||||
|  | $lang['admin_type'] = 'Роль'; | ||||||
|  | $lang['admin_options'] = 'Опции'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_create_user'] = 'Создать пользователя'; | ||||||
|  | $lang['admin_delete'] = 'Удалить'; | ||||||
|  | $lang['admin_edit'] = 'Редактировать'; | ||||||
|  | 
 | ||||||
|  | $lang['admin_user_accounts'] = 'Аккаунты пользователей'; | ||||||
|  | 
 | ||||||
|  | @ -4,7 +4,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
| 
 | 
 | ||||||
| $lang['error_no_active_station_profile'] = 'Внимание: вам нужно назначить активный профиль месторасположения станции.'; | $lang['error_no_active_station_profile'] = 'Внимание: вам нужно назначить активный профиль месторасположения станции.'; | ||||||
| 
 | 
 | ||||||
| $lang['notice_turn_the_radio_on'] = 'За сегодня ни одного QSO; время вернуться к радио!'; | $lang['notice_turn_the_radio_on'] = 'За сегодня ни одного QSO, время вернуться к радио!'; | ||||||
| 
 | 
 | ||||||
| $lang['general_word_important'] = 'Важно'; | $lang['general_word_important'] = 'Важно'; | ||||||
| $lang['general_word_info'] = 'Информация'; | $lang['general_word_info'] = 'Информация'; | ||||||
|  | @ -48,9 +48,9 @@ $lang['general_word_qslcard_direct'] = 'Напрямую'; | ||||||
| $lang['general_word_qslcard_bureau'] = 'Бюро'; | $lang['general_word_qslcard_bureau'] = 'Бюро'; | ||||||
| $lang['general_word_qslcard_electronic'] = 'Электронное'; | $lang['general_word_qslcard_electronic'] = 'Электронное'; | ||||||
| $lang['general_word_qslcard_manager'] = 'Менеджер'; | $lang['general_word_qslcard_manager'] = 'Менеджер'; | ||||||
| $lang['general_word_qslcard_via'] = 'via'; | $lang['general_word_qslcard_via'] = 'через'; | ||||||
| $lang['general_word_eqslcards'] = 'eQSL Cards'; | $lang['general_word_eqslcards'] = 'eQSL'; | ||||||
| $lang['general_word_lotw'] = 'Logbook of the World'; | $lang['general_word_lotw'] = 'LotW'; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -117,10 +117,10 @@ $lang['gen_hamradio_sig'] = 'Sig'; | ||||||
| $lang['gen_hamradio_sig_info'] = 'Sig Info'; | $lang['gen_hamradio_sig_info'] = 'Sig Info'; | ||||||
| 
 | 
 | ||||||
| // Dashboard Words
 | // Dashboard Words
 | ||||||
| $lang['dashboard_you_have_had'] = 'You have had'; | $lang['dashboard_you_have_had'] = ''; | ||||||
| $lang['dashboard_qsos_today'] = 'QSOs сегодня!'; | $lang['dashboard_qsos_today'] = 'QSOs сегодня!'; | ||||||
| $lang['dashboard_qso_breakdown'] = 'QSOs Breakdown'; | $lang['dashboard_qso_breakdown'] = 'Статистика QSO'; | ||||||
| $lang['dashboard_countries_breakdown'] = 'Countries Breakdown'; | $lang['dashboard_countries_breakdown'] = 'Статистика по странам'; | ||||||
| 
 | 
 | ||||||
| $lang['gen_from_date'] = 'Начиная с даты'; | $lang['gen_from_date'] = 'Начиная с даты'; | ||||||
| 
 | 
 | ||||||
|  | @ -137,3 +137,6 @@ $lang['europe'] = 'Европа'; | ||||||
| $lang['northamerica'] = 'Северная Америка'; | $lang['northamerica'] = 'Северная Америка'; | ||||||
| $lang['oceania'] = 'Океания'; | $lang['oceania'] = 'Океания'; | ||||||
| $lang['southamerica'] = 'Южная Америка'; | $lang['southamerica'] = 'Южная Америка'; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | $lang['gen_band_selection'] = 'Выбор диапазона'; | ||||||
|  | @ -0,0 +1,15 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_gridsquare_map'] = 'Выбор диапазона'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_confirmed_is_green'] = 'Подтверждённые окрашены зелёным'; | ||||||
|  | $lang['gridsquares_worked_but_not_confirmed_is_red'] = 'Сработанные, но не подтверждённые — красным'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'] = 'На этой карте не отображены QSO, проведённые через спутники, интернет или репитеры'; | ||||||
|  | 
 | ||||||
|  | $lang['gridsquares_grid_squares'] = 'квадрат(/-а/-ов)'; | ||||||
|  | $lang['gridsquares_total_count'] = 'Всего'; | ||||||
|  | @ -6,7 +6,7 @@ $lang['lotw_short'] = 'LoTW'; | ||||||
| $lang['lotw_title'] = 'Logbook of the World'; | $lang['lotw_title'] = 'Logbook of the World'; | ||||||
| $lang['lotw_title_available_cert'] = 'Имеющиеся сертификаты'; | $lang['lotw_title_available_cert'] = 'Имеющиеся сертификаты'; | ||||||
| $lang['lotw_title_information'] = 'Информация'; | $lang['lotw_title_information'] = 'Информация'; | ||||||
| $lang['lotw_title_upload_p12_cert'] = 'Загрузка Logbook of the World .p12 сертификата'; | $lang['lotw_title_upload_p12_cert'] = 'Загрузка LotW .p12 сертификата'; | ||||||
| $lang['lotw_title_export_p12_file_instruction'] = 'Инструкции по экспорту .p12 файла'; | $lang['lotw_title_export_p12_file_instruction'] = 'Инструкции по экспорту .p12 файла'; | ||||||
| $lang['lotw_title_adif_import'] = 'Импорт ADIF'; | $lang['lotw_title_adif_import'] = 'Импорт ADIF'; | ||||||
| $lang['lotw_title_adif_import_options'] = 'Опции импорта'; | $lang['lotw_title_adif_import_options'] = 'Опции импорта'; | ||||||
|  |  | ||||||
|  | @ -5,8 +5,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
| $lang['menu_badge_developer_mode'] = 'Режим разработчика'; | $lang['menu_badge_developer_mode'] = 'Режим разработчика'; | ||||||
| 
 | 
 | ||||||
| $lang['menu_logbook'] = 'Журнал'; | $lang['menu_logbook'] = 'Журнал'; | ||||||
| $lang['menu_overview'] = 'Обзор'; | $lang['menu_overview'] = 'Обычный вид'; | ||||||
| $lang['menu_advanced'] = 'Расширенный'; | $lang['menu_advanced'] = 'Расширенный вид'; | ||||||
| 
 | 
 | ||||||
| $lang['menu_qso'] = 'QSO'; | $lang['menu_qso'] = 'QSO'; | ||||||
| $lang['menu_live_qso'] = 'добавить QSO'; | $lang['menu_live_qso'] = 'добавить QSO'; | ||||||
|  | @ -16,6 +16,8 @@ $lang['menu_post_contest_logging'] = 'Журнал прошедших сорев | ||||||
| $lang['menu_view_qsl'] = 'Просмотр QSL'; | $lang['menu_view_qsl'] = 'Просмотр QSL'; | ||||||
| $lang['menu_view_eqsl'] = 'Просмотр eQSL'; | $lang['menu_view_eqsl'] = 'Просмотр eQSL'; | ||||||
| 
 | 
 | ||||||
|  | $lang['menu_notes'] = 'Заметки'; | ||||||
|  | 
 | ||||||
| $lang['menu_analytics'] = 'Аналитика'; | $lang['menu_analytics'] = 'Аналитика'; | ||||||
| $lang['menu_statistics'] = 'Статистика'; | $lang['menu_statistics'] = 'Статистика'; | ||||||
| $lang['menu_gridsquares'] = 'Квадраты'; | $lang['menu_gridsquares'] = 'Квадраты'; | ||||||
|  |  | ||||||
|  | @ -0,0 +1,57 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['options_cloudlog_options'] = 'Настройки'; | ||||||
|  | $lang['options_message1'] = 'Это глобальные настройки, используемые для всех пользователей, которые могут быть переопределены, если есть соответствующие настройки на уровне пользователя.'; | ||||||
|  | 
 | ||||||
|  | $lang['options_appearance'] = 'Внешний вид'; | ||||||
|  | $lang['options_theme'] = 'Тема оформления'; | ||||||
|  | $lang['options_global_theme_choice_this_is_used_when_users_arent_logged_in'] = 'Тема оформления по умолчанию, используется, когда пользователи не вошли в систему.'; | ||||||
|  | $lang['options_public_search_bar'] = 'Публично доступный поиск по журналу'; | ||||||
|  | $lang['options_this_allows_non_logged_in_users_to_access_the_search_functions'] = 'Разрешение пользователям, не вошедшим в систему, получить доступ к функциям поиска.'; | ||||||
|  | $lang['options_dashboard_notification_banner'] = 'Баннер на экране сводных данных'; | ||||||
|  | $lang['options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'] = 'Включение отображения баннера на экране сводных данных'; | ||||||
|  | $lang['options_dashboard_map'] = 'Карта на экране сводных данных'; | ||||||
|  | $lang['options_this_allows_the_map_on_the_dashboard_to_be_disabled_or_placed_on_the_right'] = 'Включение отображения карты на экране сводных данных во всю ширину или справа'; | ||||||
|  | $lang['options_logbook_map'] = 'Карта на экране обычного вида журнала '; | ||||||
|  | $lang['options_this_allows_to_disable_the_map_in_the_logbook'] = 'Включение отображения карты на экране обычного вида журнала.'; | ||||||
|  | $lang['options_theme_changed_to'] = 'Тема оформления переключена на '; | ||||||
|  | $lang['options_global_search_changed_to'] = 'Публично доступный поиск переключен в состояние '; | ||||||
|  | $lang['options_dashboard_banner_changed_to'] = 'Баннер на экране сводных данных переключен в состояние '; | ||||||
|  | $lang['options_dashboard_map_changed_to'] = 'Карта на экране сводных данных переключена в состояние '; | ||||||
|  | $lang['options_logbook_map_changed_to'] = 'Карта на экране обычного вида журнала переключена в состояние '; | ||||||
|  | 
 | ||||||
|  | $lang['options_radios'] = 'Радиоинтерфейсы'; | ||||||
|  | $lang['options_radio_settings'] = 'Радиоинтерфейсы'; | ||||||
|  | $lang['options_radio_timeout_warning'] = 'Предупреждение о таймауте радиоинтерфейса'; | ||||||
|  | $lang['options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'] = 'Используется для отображения на панели ввода QSO предупреждения об отключении радиоинтерфейса.'; | ||||||
|  | $lang['options_this_number_is_in_seconds'] = 'Значение в секундах.'; | ||||||
|  | $lang['options_radio_timeout_warning_changed_to'] = 'Значение таймаута радиоинтерфейса изменено на '; | ||||||
|  | 
 | ||||||
|  | $lang['options_email'] = 'Емэйл'; | ||||||
|  | $lang['options_outgoing_protocol'] = 'Протокол отправки емэйл'; | ||||||
|  | $lang['options_smtp_encryption'] = 'Шифрование SMTP'; | ||||||
|  | $lang['options_smtp_host'] = 'SMTP хост'; | ||||||
|  | $lang['options_smtp_port'] = 'SMTP порт'; | ||||||
|  | $lang['options_smtp_username'] = 'SMTP логин'; | ||||||
|  | $lang['options_smtp_password'] = 'SMTP пароль'; | ||||||
|  | $lang['options_crlf'] = 'CRLF'; | ||||||
|  | $lang['options_newline'] = 'Newline'; | ||||||
|  | $lang['options_outgoing_email_protocol_changed_to'] = 'Протокол отправки емэйл изменён на '; | ||||||
|  | $lang['options_smtp_encryption_changed_to'] = 'Шифрование SMTP изменено на '; | ||||||
|  | $lang['options_smtp_host_changed_to'] = 'SMTP хост изменён на '; | ||||||
|  | $lang['options_smtp_port_changed_to'] = 'SMTP порт изменён на '; | ||||||
|  | $lang['options_smtp_username_changed_to'] = 'SMTP логин изменён на '; | ||||||
|  | $lang['options_smtp_password_changed_to'] = 'SMTP пароль изменён на '; | ||||||
|  | $lang['options_email_crlf_changed_to'] = 'Email CRLF changed to '; | ||||||
|  | $lang['options_email_newline_changed_to'] = 'Email Newline changed to '; | ||||||
|  | 
 | ||||||
|  | $lang['options_oqrs'] = 'OQRS'; | ||||||
|  | $lang['options_global_text'] = 'Сообщение на странице OQRS'; | ||||||
|  | $lang['options_this_text_is_an_optional_text_that_can_be_displayed_on_top_of_the_oqrs_page'] = 'Необязательный текст, который может быть отображён в верхней части страницы OQRS.'; | ||||||
|  | $lang['options_grouped_search'] = 'Объединённый поиск'; | ||||||
|  | $lang['options_when_this_is_on_all_station_locations_with_oqrs_active_will_be_searched_at_once'] = 'Если включено, то поиск будет осуществляться во всех местоположениях станций, где активен OQRS.'; | ||||||
|  | $lang['options_oqrs_options_have_been_saved'] = 'Настройки OQRS сохранены.'; | ||||||
|  | 
 | ||||||
|  | $lang['options_save'] = 'Сохранить'; | ||||||
|  | @ -0,0 +1,17 @@ | ||||||
|  | <?php | ||||||
|  | 
 | ||||||
|  | defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | $lang['statistics_statistics'] = 'Статистика'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_explore_the_logbook'] = 'Исследуем журнал.'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_years'] = 'по годам'; | ||||||
|  | $lang['statistics_mode'] = 'по видам модуляции'; | ||||||
|  | $lang['statistics_bands'] = 'по диапазонам'; | ||||||
|  | $lang['statistics_qsos'] = 'по QSO'; | ||||||
|  | $lang['statistics_unique_callsigns'] = 'по уникальным позывным'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_total'] = 'Всего'; | ||||||
|  | 
 | ||||||
|  | $lang['statistics_year'] = 'Год'; | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<?php if ($this->uri->segment(1) == "activated_grids" && $this->uri->segment(2) == "band") { ?>
 | 	<?php if ($this->uri->segment(1) == "activated_grids" && $this->uri->segment(2) == "band") { ?>
 | ||||||
| <form class="form-inline"> | <form class="form-inline"> | ||||||
| 	<label class="my-1 mr-2" for="gridsquare_bands">Band Selection</label> | 	<label class="my-1 mr-2" for="gridsquare_bands"><?php echo lang('gen_band_selection'); ?></label>
 | ||||||
| 	<select class="custom-select my-1 mr-sm-2"  id="gridsquare_bands"></select> | 	<select class="custom-select my-1 mr-sm-2"  id="gridsquare_bands"></select> | ||||||
| </form> | </form> | ||||||
| 
 | 
 | ||||||
|  | @ -25,14 +25,14 @@ | ||||||
| <div class="container"> | <div class="container"> | ||||||
| 	<?php if ($this->uri->segment(2) == "satellites") { ?>
 | 	<?php if ($this->uri->segment(2) == "satellites") { ?>
 | ||||||
| 		<div class="alert alert-success" role="alert"> | 		<div class="alert alert-success" role="alert"> | ||||||
| 			Confirmed is Green <span id="confirmed_grids"></span>| Activated but not confirmed is Red <span id="activated_grids"></span>| <span id="sum_grids"></span> | 			<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
 | ||||||
| 		</div> | 		</div> | ||||||
| 	<?php } ?>
 | 	<?php } ?>
 | ||||||
| 
 | 
 | ||||||
| 	<?php if ($this->uri->segment(2) == "band") { ?>
 | 	<?php if ($this->uri->segment(2) == "band") { ?>
 | ||||||
| 		<div class="alert alert-success" role="alert"> | 		<div class="alert alert-success" role="alert"> | ||||||
| 			Confirmed is Green <span id="confirmed_grids"></span>| Activated but not confirmed is Red <span id="worked_grids"></span>| <span id="sum_grids"></span><br> | 			<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
 | ||||||
| 			[This map does not include satellite, internet or repeater QSOs] | 			[<?php echo lang('gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'); ?>]
 | ||||||
| 		</div> | 		</div> | ||||||
| 	<?php } ?>
 | 	<?php } ?>
 | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
| 
 | 
 | ||||||
|     <div id="distances_div"> |     <div id="distances_div"> | ||||||
|         <form class="form-inline"> |         <form class="form-inline"> | ||||||
|             <label class="my-1 mr-2" for="distplot_bands">Band Selection</label> |             <label class="my-1 mr-2" for="distplot_bands"><?php echo lang('gen_band_selection'); ?></label>
 | ||||||
|             <select class="custom-select my-1 mr-sm-2"  id="distplot_bands"> |             <select class="custom-select my-1 mr-sm-2"  id="distplot_bands"> | ||||||
|                 <?php if (count($sats_available) != 0) { ?>
 |                 <?php if (count($sats_available) != 0) { ?>
 | ||||||
|                     <option value="sat">SAT</option> |                     <option value="sat">SAT</option> | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
 | 	<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
 | ||||||
| <form class="form-inline"> | <form class="form-inline"> | ||||||
| 	<label class="my-1 mr-2" for="gridsquare_bands">Band Selection</label> | 	<label class="my-1 mr-2" for="gridsquare_bands"><?php echo lang('gen_band_selection'); ?></label>
 | ||||||
| 	<select class="custom-select my-1 mr-sm-2"  id="gridsquare_bands"></select> | 	<select class="custom-select my-1 mr-sm-2"  id="gridsquare_bands"></select> | ||||||
| </form> | </form> | ||||||
| 
 | 
 | ||||||
|  | @ -25,14 +25,14 @@ | ||||||
| <div class="container"> | <div class="container"> | ||||||
| 	<?php if ($this->uri->segment(2) == "satellites") { ?>
 | 	<?php if ($this->uri->segment(2) == "satellites") { ?>
 | ||||||
| 		<div class="alert alert-success" role="alert"> | 		<div class="alert alert-success" role="alert"> | ||||||
| 			Confirmed is Green <span id="confirmed_grids"></span>| Worked but not confirmed is Red <span id="worked_grids"></span>|<span id="sum_grids"></span> | 			<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span>
 | ||||||
| 		</div> | 		</div> | ||||||
| 	<?php } ?>
 | 	<?php } ?>
 | ||||||
| 
 | 
 | ||||||
| 	<?php if ($this->uri->segment(2) == "band") { ?>
 | 	<?php if ($this->uri->segment(2) == "band") { ?>
 | ||||||
| 		<div class="alert alert-success" role="alert"> | 		<div class="alert alert-success" role="alert"> | ||||||
| 			Confirmed is Green <span id="confirmed_grids"></span>| Worked but not confirmed is Red <span id="worked_grids"></span>|<span id="sum_grids"></span><br> | 			<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
 | ||||||
| 			[This map does not include satellite, internet or repeater QSOs] | 			[<?php echo lang('gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'); ?>]
 | ||||||
| 		</div> | 		</div> | ||||||
| 	<?php } ?>
 | 	<?php } ?>
 | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -1408,14 +1408,14 @@ $(document).ready(function(){ | ||||||
| 
 | 
 | ||||||
|   if (grid_four_confirmed_count > 0) { |   if (grid_four_confirmed_count > 0) { | ||||||
|      var span = document.getElementById('confirmed_grids'); |      var span = document.getElementById('confirmed_grids'); | ||||||
|      span.innerText = span.textContent = '('+grid_four_confirmed_count+' grid square'+(grid_four_confirmed_count != 1 ? 's' : '')+') '; |      span.innerText = span.textContent = '('+grid_four_confirmed_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') '; | ||||||
|   } |   } | ||||||
|   if ((grid_four_count-grid_four_confirmed_count) > 0) { |   if ((grid_four_count-grid_four_confirmed_count) > 0) { | ||||||
|      var span = document.getElementById('worked_grids'); |      var span = document.getElementById('worked_grids'); | ||||||
|      span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' grid square'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') '; |      span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') '; | ||||||
|   } |   } | ||||||
|   var span = document.getElementById('sum_grids'); |   var span = document.getElementById('sum_grids'); | ||||||
|   span.innerText = span.textContent = ' Total Count: '+grid_four_count+' grid square'+(grid_four_count != 1 ? 's' : ''); |   span.innerText = span.textContent = ' <?php echo lang('gridsquares_total_count'); ?>'+': '+grid_four_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count != 1 ? 's' : ''); | ||||||
| 
 | 
 | ||||||
|   var maidenhead = L.maidenhead().addTo(map); |   var maidenhead = L.maidenhead().addTo(map); | ||||||
| 
 | 
 | ||||||
|  | @ -1547,14 +1547,14 @@ $(document).ready(function(){ | ||||||
| 
 | 
 | ||||||
|   if (grid_four_confirmed_count > 0) { |   if (grid_four_confirmed_count > 0) { | ||||||
|      var span = document.getElementById('confirmed_grids'); |      var span = document.getElementById('confirmed_grids'); | ||||||
|      span.innerText = span.textContent = '('+grid_four_confirmed_count+' grid square'+(grid_four_confirmed_count != 1 ? 's' : '')+') '; |      span.innerText = span.textContent = '('+grid_four_confirmed_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') '; | ||||||
|   } |   } | ||||||
|   if ((grid_four_count-grid_four_confirmed_count) > 0) { |   if ((grid_four_count-grid_four_confirmed_count) > 0) { | ||||||
|      var span = document.getElementById('activated_grids'); |      var span = document.getElementById('activated_grids'); | ||||||
|      span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' grid square'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') '; |      span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') '; | ||||||
|   } |   } | ||||||
|   var span = document.getElementById('sum_grids'); |   var span = document.getElementById('sum_grids'); | ||||||
|   span.innerText = span.textContent = ' Total Count: '+grid_four_count+' grid square'+(grid_four_count != 1 ? 's' : ''); |   span.innerText = span.textContent = ' <?php echo lang('gridsquares_total_count'); ?>'+': '+grid_four_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count != 1 ? 's' : ''); | ||||||
| 
 | 
 | ||||||
|   var maidenhead = L.maidenhead().addTo(map); |   var maidenhead = L.maidenhead().addTo(map); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -89,7 +89,7 @@ | ||||||
| 
 | 
 | ||||||
|         	<!-- Notes --> |         	<!-- Notes --> | ||||||
| 		<?php if ($this->session->userdata('user_show_notes') == 1) { ?>
 | 		<?php if ($this->session->userdata('user_show_notes') == 1) { ?>
 | ||||||
|         	<a class="nav-link" href="<?php echo site_url('notes');?>">Notes</a> |         	<a class="nav-link" href="<?php echo site_url('notes');?>"><?php echo lang('menu_notes'); ?></a>
 | ||||||
| 		<?php } ?>
 | 		<?php } ?>
 | ||||||
|         	<li class="nav-item dropdown"> |         	<li class="nav-item dropdown"> | ||||||
| 				<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo lang('menu_analytics'); ?></a>
 | 				<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo lang('menu_analytics'); ?></a>
 | ||||||
|  |  | ||||||
|  | @ -45,7 +45,7 @@ | ||||||
| 
 | 
 | ||||||
|                         <!-- Form options for selecting global theme choice --> |                         <!-- Form options for selecting global theme choice --> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="themeSelect">Theme</label> |                             <label for="themeSelect"><?php echo lang('options_theme'); ?></label>
 | ||||||
|                             <select class="custom-select" id="themeSelect" name="theme" aria-describedby="themeHelp" required> |                             <select class="custom-select" id="themeSelect" name="theme" aria-describedby="themeHelp" required> | ||||||
| 								<?php | 								<?php | ||||||
| 								foreach ($themes as $theme) { | 								foreach ($themes as $theme) { | ||||||
|  | @ -57,48 +57,48 @@ | ||||||
| 								} | 								} | ||||||
| 								?>
 | 								?>
 | ||||||
|                                 </select> |                                 </select> | ||||||
|                             <small id="themeHelp" class="form-text text-muted">Global Theme Choice, this is used when users arent logged in.</small> |                             <small id="themeHelp" class="form-text text-muted"><?php echo lang('options_global_theme_choice_this_is_used_when_users_arent_logged_in'); ?></small>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="globalSearch">Public Search Bar</label> |                             <label for="globalSearch"><?php echo lang('options_public_search_bar'); ?></label>
 | ||||||
|                             <select class="custom-select" id="globalSearch" name="globalSearch" aria-describedby="globalSearchHelp" required> |                             <select class="custom-select" id="globalSearch" name="globalSearch" aria-describedby="globalSearchHelp" required> | ||||||
|                                 <option value='true' <?php if($this->optionslib->get_option('global_search') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
 |                                 <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>
 |                                 <option value='false' <?php if($this->optionslib->get_option('global_search') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="globalSearchHelp" class="form-text text-muted">This allows non logged in users to access the search functions.</small> |                             <small id="globalSearchHelp" class="form-text text-muted"><?php echo lang('options_this_allows_non_logged_in_users_to_access_the_search_functions'); ?></small>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="dashboardBanner">Dashboard Notification Banner</label> |                             <label for="dashboardBanner"><?php echo lang('options_dashboard_notification_banner'); ?></label>
 | ||||||
|                             <select class="custom-select" id="dashboardBanner" name="dashboardBanner" aria-describedby="dashboardBannerHelp" required> |                             <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='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>
 |                                 <option value='false' <?php if($this->optionslib->get_option('dashboard_banner') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="dashboardBannerHelp" class="form-text text-muted">This allows to disable the global notification banner on the dashboard.</small> |                             <small id="dashboardBannerHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_the_global_notification_banner_on_the_dashboard'); ?></small>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="dashboardMap">Dashboard Map</label> |                             <label for="dashboardMap"><?php echo lang('options_dashboard_map'); ?></label>
 | ||||||
|                             <select class="custom-select" id="dashboardMap" name="dashboardMap" aria-describedby="dashboardMapHelp" required> |                             <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='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='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>
 |                                 <option value='map_at_right' <?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { echo "selected=\"selected\""; } ?>>Map at right</option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="dashboardMapHelp" class="form-text text-muted">This allows the map on the dashboard to be disabled or placed on the right.</small> |                             <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>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="logbookMap">Logbook Map</label> |                             <label for="logbookMap"><?php echo lang('options_logbook_map'); ?></label>
 | ||||||
|                             <select class="custom-select" id="logbookMap" name="logbookMap" aria-describedby="logbookMapHelp" required> |                             <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='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>
 |                                 <option value='false' <?php if($this->optionslib->get_option('logbook_map') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="logbookMapHelp" class="form-text text-muted">This allows to disable the map in the logbook.</small> |                             <small id="logbookMapHelp" class="form-text text-muted"><?php echo lang('options_this_allows_to_disable_the_map_in_the_logbook'); ?></small>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <!-- Save the Form --> |                         <!-- Save the Form --> | ||||||
|                         <input class="btn btn-primary" type="submit" value="Save" /> |                         <input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" /> | ||||||
|                     </form> |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ | ||||||
|                     <?php echo form_open('options/email_save'); ?>
 |                     <?php echo form_open('options/email_save'); ?>
 | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="emailProtocol">Outgoing Protocol</label> |                             <label for="emailProtocol"><?php echo lang('options_outgoing_protocol'); ?></label>
 | ||||||
|                             <select name="emailProtocol" class="form-control" id="emailProtocol"> |                             <select name="emailProtocol" class="form-control" id="emailProtocol"> | ||||||
|                                 <option value="sendmail" <?php if($this->optionslib->get_option('emailProtocol')== "sendmail") { echo "selected=\"selected\""; } ?>>Sendmail</option>
 |                                 <option value="sendmail" <?php if($this->optionslib->get_option('emailProtocol')== "sendmail") { echo "selected=\"selected\""; } ?>>Sendmail</option>
 | ||||||
|                                 <option value="smtp" <?php if($this->optionslib->get_option('emailProtocol')== "smtp") { echo "selected=\"selected\""; } ?>>SMTP</option>
 |                                 <option value="smtp" <?php if($this->optionslib->get_option('emailProtocol')== "smtp") { echo "selected=\"selected\""; } ?>>SMTP</option>
 | ||||||
|  | @ -43,7 +43,7 @@ | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="smtpEncryption">SMTP Encryption</label> |                             <label for="smtpEncryption"><?php echo lang('options_smtp_encryption'); ?></label>
 | ||||||
|                             <select name="smtpEncryption" class="form-control" id="smtpEncryption"> |                             <select name="smtpEncryption" class="form-control" id="smtpEncryption"> | ||||||
|                                 <option value="" <?php if($this->optionslib->get_option('smtpEncryption') == "") { echo "selected=\"selected\""; } ?>>None</option>
 |                                 <option value="" <?php if($this->optionslib->get_option('smtpEncryption') == "") { echo "selected=\"selected\""; } ?>>None</option>
 | ||||||
|                                 <option value="tls" <?php if($this->optionslib->get_option('smtpEncryption') == "tls") { echo "selected=\"selected\""; } ?>>TLS</option>
 |                                 <option value="tls" <?php if($this->optionslib->get_option('smtpEncryption') == "tls") { echo "selected=\"selected\""; } ?>>TLS</option>
 | ||||||
|  | @ -53,49 +53,49 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="smtpHost" class="col-sm-2 col-form-label">SMTP Host</label> |                             <label for="smtpHost" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_host'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="text" name="smtpHost" class="form-control" id="smtpHost" value="<?php if($this->optionslib->get_option('smtpHost') != "") { echo $this->optionslib->get_option('smtpHost'); } ?>"> |                                 <input type="text" name="smtpHost" class="form-control" id="smtpHost" value="<?php if($this->optionslib->get_option('smtpHost') != "") { echo $this->optionslib->get_option('smtpHost'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="smtpPort" class="col-sm-2 col-form-label">SMTP Port</label> |                             <label for="smtpPort" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_port'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="number" name="smtpPort" class="form-control" id="smtpPort" value="<?php if($this->optionslib->get_option('smtpPort') != "") { echo $this->optionslib->get_option('smtpPort'); } ?>"> |                                 <input type="number" name="smtpPort" class="form-control" id="smtpPort" value="<?php if($this->optionslib->get_option('smtpPort') != "") { echo $this->optionslib->get_option('smtpPort'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="smtpUsername" class="col-sm-2 col-form-label">SMTP Username</label> |                             <label for="smtpUsername" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_username'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="text" name="smtpUsername" class="form-control" id="smtpUsername" value="<?php if($this->optionslib->get_option('smtpUsername') != "") { echo $this->optionslib->get_option('smtpUsername'); } ?>"> |                                 <input type="text" name="smtpUsername" class="form-control" id="smtpUsername" value="<?php if($this->optionslib->get_option('smtpUsername') != "") { echo $this->optionslib->get_option('smtpUsername'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="smtpPassword" class="col-sm-2 col-form-label">SMTP Password</label> |                             <label for="smtpPassword" class="col-sm-2 col-form-label"><?php echo lang('options_smtp_password'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="password" name="smtpPassword" class="form-control" id="smtpPassword"  value="<?php if($this->optionslib->get_option('smtpPassword') != "") { echo $this->optionslib->get_option('smtpPassword'); } ?>"> |                                 <input type="password" name="smtpPassword" class="form-control" id="smtpPassword"  value="<?php if($this->optionslib->get_option('smtpPassword') != "") { echo $this->optionslib->get_option('smtpPassword'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="emailcrlf" class="col-sm-2 col-form-label">crlf</label> |                             <label for="emailcrlf" class="col-sm-2 col-form-label"><?php echo lang('options_crlf'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="text" name="emailcrlf" class="form-control" id="emailcrlf" value="<?php if($this->optionslib->get_option('emailcrlf') != "") { echo $this->optionslib->get_option('emailcrlf'); } ?>"> |                                 <input type="text" name="emailcrlf" class="form-control" id="emailcrlf" value="<?php if($this->optionslib->get_option('emailcrlf') != "") { echo $this->optionslib->get_option('emailcrlf'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="emailnewline" class="col-sm-2 col-form-label">newline</label> |                             <label for="emailnewline" class="col-sm-2 col-form-label"><?php echo lang('options_newline'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="text" name="emailnewline" class="form-control" id="emailnewline" value="<?php if($this->optionslib->get_option('emailnewline') != "") { echo $this->optionslib->get_option('emailnewline'); } ?>"> |                                 <input type="text" name="emailnewline" class="form-control" id="emailnewline" value="<?php if($this->optionslib->get_option('emailnewline') != "") { echo $this->optionslib->get_option('emailnewline'); } ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <!-- Save the Form --> |                         <!-- Save the Form --> | ||||||
|                         <input class="btn btn-primary" type="submit" value="Save" /> |                         <input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" /> | ||||||
|                     </form> |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ | ||||||
|             <div class="card"> |             <div class="card"> | ||||||
|                 <div class="card-header"><h2 class="card-title"><?php echo $page_title; ?></h2></div>
 |                 <div class="card-header"><h2 class="card-title"><?php echo $page_title; ?></h2></div>
 | ||||||
|                 <div class="card-body"> |                 <div class="card-body"> | ||||||
|                     <p>Cloudlog Options are global settings used for all users of the installation, which are overriddden if there's a setting on a user level.</p> |                     <p><?php echo lang('options_message1'); ?></p>
 | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -35,22 +35,22 @@ | ||||||
|                     <?php echo form_open('options/oqrs_save'); ?>
 |                     <?php echo form_open('options/oqrs_save'); ?>
 | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="globalSearch">Global text</label> |                             <label for="globalSearch"><?php echo lang('options_global_text'); ?></label>
 | ||||||
|                             <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'); ?>"> |                             <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'); ?>"> | ||||||
|                             <small id="global_oqrs_text_help" class="form-text text-muted">This text is an optional text that can be displayed on top of the OQRS page.</small> |                             <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>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="groupedSearch">Grouped search</label> |                             <label for="groupedSearch"><?php echo lang('options_grouped_search'); ?></label>
 | ||||||
|                             <select name="groupedSearch" class="form-control" id="groupedSearch"> |                             <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="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>
 |                                 <option value="on" <?php if($this->optionslib->get_option('groupedSearch') == "on") { echo "selected=\"selected\""; } ?>>On</option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="groupedSearchHelp" class="form-text text-muted">When this is on, all station locations with OQRS active, will be searched at once.</small> |                             <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>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <!-- Save the Form --> |                         <!-- Save the Form --> | ||||||
|                         <input class="btn btn-primary" type="submit" value="Save" /> |                         <input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" /> | ||||||
|                     </form> |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|  | @ -35,14 +35,14 @@ | ||||||
|                     <?php echo form_open('options/radio_save'); ?>
 |                     <?php echo form_open('options/radio_save'); ?>
 | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="globalSearch">Radio Timeout Warning</label> |                             <label for="globalSearch"><?php echo lang('options_radio_timeout_warning'); ?></label>
 | ||||||
|                             <p>The Radio Timeout Warning is used on the QSO entry panel to alert you to radio interface disconnects.</p> |                             <p><?php echo lang('options_the_radio_timeout_warning_is_used_on_the_qso_entry_panel_to_alert_you_to_radio_interface_disconnects'); ?></p>
 | ||||||
|                             <input type="text" name="radioTimeout" class="form-control" id="radioTimeout" aria-describedby="radioTimeoutHelp" value="<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?>"> |                             <input type="text" name="radioTimeout" class="form-control" id="radioTimeout" aria-describedby="radioTimeoutHelp" value="<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?>"> | ||||||
|                             <small id="radioTimeoutHelp" class="form-text text-muted">This number is in seconds.</small> |                             <small id="radioTimeoutHelp" class="form-text text-muted"><?php echo lang('options_this_number_is_in_seconds'); ?></small>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <!-- Save the Form --> |                         <!-- Save the Form --> | ||||||
|                         <input class="btn btn-primary" type="submit" value="Save" /> |                         <input class="btn btn-primary" type="submit" value="<?php echo lang('options_save'); ?>" /> | ||||||
|                     </form> |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|  | @ -1,10 +1,10 @@ | ||||||
| <div class="col-md-3"> | <div class="col-md-3"> | ||||||
| 	<div class="card"> | 	<div class="card"> | ||||||
| 		<ul class="list-group list-group-flush"> | 		<ul class="list-group list-group-flush"> | ||||||
| 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/appearance'); ?>">Appearance</a></li> | 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/appearance'); ?>"><?php echo lang('options_appearance'); ?></a></li>
 | ||||||
| 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/radio'); ?>">Radios</a></li> | 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/radio'); ?>"><?php echo lang('options_radios'); ?></a></li>
 | ||||||
| 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/email'); ?>">Email</a></li> | 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/email'); ?>"><?php echo lang('options_email'); ?></a></li>
 | ||||||
| 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/oqrs'); ?>">OQRS</a></li> | 			<li class="list-group-item"><a class="nav-link" href="<?php echo site_url('options/oqrs'); ?>"><?php echo lang('options_oqrs'); ?></a></li>
 | ||||||
| 		</ul> | 		</ul> | ||||||
| 	</div> | 	</div> | ||||||
| </div> | </div> | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<h2> | 	<h2> | ||||||
| 		<?php echo $page_title; ?>
 | 		<?php echo $page_title; ?>
 | ||||||
| 		<small class="text-muted">Explore the logbook.</small> | 		<small class="text-muted"><?php echo lang('statistics_explore_the_logbook'); ?></small>
 | ||||||
| 	</h2> | 	</h2> | ||||||
| 
 | 
 | ||||||
| 	<br> | 	<br> | ||||||
|  | @ -33,19 +33,19 @@ | ||||||
| 					<br /> | 					<br /> | ||||||
| 					<ul class="nav nav-pills" id="myTab2" role="tablist"> | 					<ul class="nav nav-pills" id="myTab2" role="tablist"> | ||||||
| 						<li class="nav-item"> | 						<li class="nav-item"> | ||||||
| 							<a class="nav-link active" id="years-tab" data-toggle="tab" href="#yearstab" role="tab" aria-controls="yearstab" aria-selected="true">Years</a> | 							<a class="nav-link active" id="years-tab" data-toggle="tab" href="#yearstab" role="tab" aria-controls="yearstab" aria-selected="true"><?php echo lang('statistics_years'); ?></a>
 | ||||||
| 						</li> | 						</li> | ||||||
| 						<li class="nav-item"> | 						<li class="nav-item"> | ||||||
| 							<a class="nav-link" id="mode-tab" data-toggle="tab" href="#modetab" role="tab" aria-controls="modetab" aria-selected="false">Mode</a> | 							<a class="nav-link" id="mode-tab" data-toggle="tab" href="#modetab" role="tab" aria-controls="modetab" aria-selected="false"><?php echo lang('statistics_mode'); ?></a>
 | ||||||
| 						</li> | 						</li> | ||||||
| 						<li class="nav-item"> | 						<li class="nav-item"> | ||||||
| 							<a class="nav-link" id="band-tab" data-toggle="tab" href="#bandtab" role="tab" aria-controls="bandtab" aria-selected="false">Bands</a> | 							<a class="nav-link" id="band-tab" data-toggle="tab" href="#bandtab" role="tab" aria-controls="bandtab" aria-selected="false"><?php echo lang('statistics_bands'); ?></a>
 | ||||||
| 						</li> | 						</li> | ||||||
| 						<li class="nav-item"> | 						<li class="nav-item"> | ||||||
| 							<a class="nav-link" id="qso-tab" data-toggle="tab" href="#qsotab" role="tab" aria-controls="bandtab" aria-selected="false">QSOs</a> | 							<a class="nav-link" id="qso-tab" data-toggle="tab" href="#qsotab" role="tab" aria-controls="bandtab" aria-selected="false"><?php echo lang('statistics_qsos'); ?></a>
 | ||||||
| 						</li> | 						</li> | ||||||
| 						<li class="nav-item"> | 						<li class="nav-item"> | ||||||
| 							<a class="nav-link" id="unique-tab" data-toggle="tab" href="#uniquetab" role="tab" aria-controls="uniquetab" aria-selected="false">Unique callsigns</a> | 							<a class="nav-link" id="unique-tab" data-toggle="tab" href="#uniquetab" role="tab" aria-controls="uniquetab" aria-selected="false"><?php echo lang('statistics_unique_callsigns'); ?></a>
 | ||||||
| 						</li> | 						</li> | ||||||
| 					</ul> | 					</ul> | ||||||
| 				<div class="tab-content"> | 				<div class="tab-content"> | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ if ($qsoarray) { | ||||||
|                     foreach($bands as $band) { |                     foreach($bands as $band) { | ||||||
|                         echo '<th>' . $band . '</th>'; |                         echo '<th>' . $band . '</th>'; | ||||||
|                     } |                     } | ||||||
|                     echo '<th>Total</th>'; |                     echo '<th>'.lang('statistics_total').'</th>'; | ||||||
|                     echo '</tr> |                     echo '</tr> | ||||||
|             </thead> |             </thead> | ||||||
|             <tbody>'; |             <tbody>'; | ||||||
|  | @ -20,7 +20,7 @@ if ($qsoarray) { | ||||||
|         echo '<th>' . $modetotal[$mode] . '</th>'; |         echo '<th>' . $modetotal[$mode] . '</th>'; | ||||||
|         echo '</tr>'; |         echo '</tr>'; | ||||||
|     } |     } | ||||||
|     echo '</tbody><tfoot><tr><th>Total</th>'; |     echo '</tbody><tfoot><tr><th>'.lang('statistics_total').'</th>'; | ||||||
| 
 | 
 | ||||||
|     $grandtotal = 0; |     $grandtotal = 0; | ||||||
|     foreach ($bandtotal as $band => $value) { |     foreach ($bandtotal as $band => $value) { | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ if ($qsoarray) { | ||||||
|                     foreach($bands as $band) { |                     foreach($bands as $band) { | ||||||
|                         echo '<th>' . $band . '</th>'; |                         echo '<th>' . $band . '</th>'; | ||||||
|                     } |                     } | ||||||
|                     echo '<th>Total</th>'; |                     echo '<th>'.lang('statistics_total').'</th>'; | ||||||
|                     echo '</tr> |                     echo '</tr> | ||||||
|             </thead> |             </thead> | ||||||
|             <tbody>'; |             <tbody>'; | ||||||
|  | @ -20,7 +20,7 @@ if ($qsoarray) { | ||||||
|         echo '<th>' . $modeunique[$mode] . '</th>'; |         echo '<th>' . $modeunique[$mode] . '</th>'; | ||||||
|         echo '</tr>'; |         echo '</tr>'; | ||||||
|     } |     } | ||||||
|     echo '</tbody><tfoot><tr><th>Total</th>'; |     echo '</tbody><tfoot><tr><th>'.lang('statistics_total').'</th>'; | ||||||
| 
 | 
 | ||||||
|     foreach($bands as $band) { |     foreach($bands as $band) { | ||||||
|         echo '<th>' . $bandunique[$band] . '</th>'; |         echo '<th>' . $bandunique[$band] . '</th>'; | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <div class="container"> | <div class="container"> | ||||||
|     <h3> |     <h3> | ||||||
|         Create User Account | 	<?php echo lang('account_create_user_account'); ?>
 | ||||||
|     </h3> |     </h3> | ||||||
|     <?php if($this->session->flashdata('notice')) { ?>
 |     <?php if($this->session->flashdata('notice')) { ?>
 | ||||||
|     <div id="message"> |     <div id="message"> | ||||||
|  | @ -16,26 +16,26 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Account Information |                         <?php echo lang('account_account_information'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Username</label> |                             <label><?php echo lang('account_username'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_name" |                             <input class="form-control" type="text" name="user_name" | ||||||
|                                 value="<?php if(isset($user_name)) { echo $user_name; } ?>" /> |                                 value="<?php if(isset($user_name)) { echo $user_name; } ?>" /> | ||||||
|                             <?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 |                             <?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Email Address</label> |                             <label><?php echo lang('account_email_address'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_email" |                             <input class="form-control" type="text" name="user_email" | ||||||
|                                 value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> |                                 value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> | ||||||
|                             <?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 |                             <?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Password</label> |                             <label><?php echo lang('account_password'); ?></label>
 | ||||||
|                             <input class="form-control" type="password" name="user_password" |                             <input class="form-control" type="password" name="user_password" | ||||||
|                                 value="<?php if(isset($user_password)) { echo $user_password; } ?>" /> |                                 value="<?php if(isset($user_password)) { echo $user_password; } ?>" /> | ||||||
|                             <?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } ?>
 |                             <?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } ?>
 | ||||||
|  | @ -48,11 +48,11 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Roles |                         <?php echo lang('account_roles'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>User Role</label> |                             <label><?php echo lang('account_user_role'); ?></label>
 | ||||||
|                             <select class="custom-select" name="user_type"> |                             <select class="custom-select" name="user_type"> | ||||||
|                                 <?php |                                 <?php | ||||||
| 										$levels = $this->config->item('auth_level'); | 										$levels = $this->config->item('auth_level'); | ||||||
|  | @ -77,12 +77,12 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Theme |                         <?php echo lang('account_theme'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="user_stylesheet">Stylesheet</label> |                             <label for="user_stylesheet"><?php echo lang('account_stylesheet'); ?></label>
 | ||||||
|                             <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> |                             <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> | ||||||
|                                 <?php |                                 <?php | ||||||
| 				foreach ($themes as $theme) { | 				foreach ($themes as $theme) { | ||||||
|  | @ -105,32 +105,32 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Personal Information |                         <?php echo lang('account_personal_information'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>First Name</label> |                             <label><?php echo lang('account_first_name'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_firstname" |                             <input class="form-control" type="text" name="user_firstname" | ||||||
|                                 value="<?php if(isset($user_firstname)) { echo $user_firstname; } ?>" /> |                                 value="<?php if(isset($user_firstname)) { echo $user_firstname; } ?>" /> | ||||||
|                             <?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } ?>
 |                             <?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } ?>
 | ||||||
|                         </div> |                         </div> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Last Name</label> |                             <label><?php echo lang('account_last_name'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_lastname" |                             <input class="form-control" type="text" name="user_lastname" | ||||||
|                                 value="<?php if(isset($user_lastname)) { echo $user_lastname; } ?>" /> |                                 value="<?php if(isset($user_lastname)) { echo $user_lastname; } ?>" /> | ||||||
|                             <?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } ?>
 |                             <?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } ?>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Callsign</label> |                             <label><?php echo lang('account_callsign'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_callsign" |                             <input class="form-control" type="text" name="user_callsign" | ||||||
|                                 value="<?php if(isset($user_callsign)) { echo $user_callsign; } ?>" /> |                                 value="<?php if(isset($user_callsign)) { echo $user_callsign; } ?>" /> | ||||||
|                             <?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } ?>
 |                             <?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } ?>
 | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Gridsquare</label> |                             <label><?php echo lang('account_gridsquare'); ?></label>
 | ||||||
|                             <input class="form-control" type="text" name="user_locator" |                             <input class="form-control" type="text" name="user_locator" | ||||||
|                                 value="<?php if(isset($user_locator)) { echo $user_locator; } ?>" /> |                                 value="<?php if(isset($user_locator)) { echo $user_locator; } ?>" /> | ||||||
|                             <?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } ?>
 |                             <?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } ?>
 | ||||||
|  | @ -144,12 +144,12 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Cloudlog Preferences |                         <?php echo lang('account_cloudlog_preferences'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label>Timezone</label> |                             <label><?php echo lang('account_timezone'); ?></label>
 | ||||||
|                             <?php |                             <?php | ||||||
| 					if(!isset($user_timezone)) { $user_timezone = 0; } | 					if(!isset($user_timezone)) { $user_timezone = 0; } | ||||||
| 					echo form_dropdown('user_timezone', $timezones, $user_timezone); | 					echo form_dropdown('user_timezone', $timezones, $user_timezone); | ||||||
|  | @ -157,7 +157,7 @@ | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="SelectDateFormat">Date Format</label> |                             <label for="SelectDateFormat"><?php echo lang('account_date_format'); ?></label>
 | ||||||
|                             <select name="user_date_format" class="custom-select" id="SelectDateFormat" |                             <select name="user_date_format" class="custom-select" id="SelectDateFormat" | ||||||
|                                 aria-describedby="SelectDateFormatHelp"> |                                 aria-describedby="SelectDateFormatHelp"> | ||||||
|                                 <option value="">Select Format</option> |                                 <option value="">Select Format</option> | ||||||
|  | @ -169,13 +169,12 @@ | ||||||
|                                 <option value="Y-m-d"><?php echo date('Y-m-d'); ?></option>
 |                                 <option value="Y-m-d"><?php echo date('Y-m-d'); ?></option>
 | ||||||
|                             </select> |                             </select> | ||||||
| 
 | 
 | ||||||
|                             <small id="SelectDateFormatHelp" class="form-text text-muted">Select how you would |                             <small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_select_how_you_would_like_dates_shown_when_logged_into_your_account'); ?></small>
 | ||||||
|                                 like dates shown when logged into your account.</small> |  | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="user_measurement_base">Measurement preference</label> |                             <label for="user_measurement_base"><?php echo lang('account_measurement_preferences'); ?></label>
 | ||||||
|                             <select class="custom-select" id="user_measurement_base" name="user_measurement_base" |                             <select class="custom-select" id="user_measurement_base" name="user_measurement_base" | ||||||
|                                 required> |                                 required> | ||||||
|                                 <option value=''></option> |                                 <option value=''></option> | ||||||
|  | @ -189,8 +188,7 @@ | ||||||
|                                     <?php if($measurement_base == "N") { echo "selected=\"selected\""; } ?>>
 |                                     <?php if($measurement_base == "N") { echo "selected=\"selected\""; } ?>>
 | ||||||
|                                     Nautical miles</option> |                                     Nautical miles</option> | ||||||
|                             </select> |                             </select> | ||||||
|                             <small id="user_measurement_base_Help" class="form-text text-muted">Choose which |                             <small id="user_measurement_base_Help" class="form-text text-muted"><?php echo lang('account_choose_which_unit_distances_will_be_shown_in'); ?></small>
 | ||||||
|                                 unit distances will be shown in.</small> |  | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                     </div> |                     </div> | ||||||
|  | @ -203,11 +201,11 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Main Menu |                 	<?php echo lang('account_main_menu'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="shownotes">Show notes in the main menu.</label> |                             <label for="shownotes"><?php echo lang('account_show_notes_in_the_main_menu'); ?></label>
 | ||||||
|                             <select class="custom-select" id="shownotes" name="user_show_notes"> |                             <select class="custom-select" id="shownotes" name="user_show_notes"> | ||||||
|                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 |                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 | ||||||
|                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 |                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 | ||||||
|  | @ -223,62 +221,56 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Gridsquare and Location Autocomplete |                         <?php echo lang('account_gridsquare_and_location_autocomplete'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-row"> |                         <div class="form-row"> | ||||||
|                             <div class="form-group col-md-12"> |                             <div class="form-group col-md-12"> | ||||||
|                                 <label for="qthlookup">Location auto lookup.</label> |                                 <label for="qthlookup"><?php echo lang('account_location_auto_lookup'); ?></label>
 | ||||||
|                                 <select class="custom-select" id="qthlookup" name="user_qth_lookup"> |                                 <select class="custom-select" id="qthlookup" name="user_qth_lookup"> | ||||||
|                                     <option value="0"><?php echo lang('general_word_no'); ?>
 |                                     <option value="0"><?php echo lang('general_word_no'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 |                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                 </select> |                                 </select> | ||||||
|                                 <div class="small form-text text-muted">If set, gridsquare is fetched based on |                                 <div class="small form-text text-muted"><?php echo lang('account_if_set_gridsquare_is_fetched_based_on_location_name'); ?></div>
 | ||||||
|                                     location name.</div> |  | ||||||
|                                 </td> |                                 </td> | ||||||
|                             </div> |                             </div> | ||||||
| 
 | 
 | ||||||
|                             <div class="form-group col-md-12"> |                             <div class="form-group col-md-12"> | ||||||
|                                 <label for="sotalookup">SOTA auto lookup gridsquare and name for summit.</label> |                                 <label for="sotalookup"><?php echo lang('account_sota_auto_lookup_gridsquare_and_name_for_summit'); ?></label>
 | ||||||
|                                 <select class="custom-select" id="sotalookup" name="user_sota_lookup"> |                                 <select class="custom-select" id="sotalookup" name="user_sota_lookup"> | ||||||
|                                     <option value="0"><?php echo lang('general_word_no'); ?>
 |                                     <option value="0"><?php echo lang('general_word_no'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 |                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                 </select> |                                 </select> | ||||||
|                                 <div class="small form-text text-muted">If set, name and gridsquare is fetched |                                 <div class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div>
 | ||||||
|                                     from the API and filled in location and locator.</div> |  | ||||||
|                                 </td> |                                 </td> | ||||||
|                             </div> |                             </div> | ||||||
| 
 | 
 | ||||||
|                             <div class="form-group col-md-12"> |                             <div class="form-group col-md-12"> | ||||||
|                                 <label for="wwfflookup">WWFF auto lookup gridsquare and name for |                                 <label for="wwfflookup"><?php echo lang('account_wwff_auto_lookup_gridsquare_and_name_for_reference'); ?></label>
 | ||||||
|                                     reference.</label> |  | ||||||
|                                 <select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> |                                 <select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> | ||||||
|                                     <option value="0"><?php echo lang('general_word_no'); ?>
 |                                     <option value="0"><?php echo lang('general_word_no'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 |                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                 </select> |                                 </select> | ||||||
|                                 <div class="small form-text text-muted">If set, name and gridsquare is fetched | 				<div class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div>
 | ||||||
|                                     from the API and filled in location and locator.</div> |  | ||||||
|                                 </td> |                                 </td> | ||||||
|                             </div> |                             </div> | ||||||
| 
 | 
 | ||||||
|                             <div class="form-group col-md-12"> |                             <div class="form-group col-md-12"> | ||||||
|                                 <label for="potalookup">POTA auto lookup gridsquare and name for |                                 <label for="potalookup"><?php echo lang('account_pota_auto_lookup_gridsquare_and_name_for_park'); ?></label>
 | ||||||
|                                     park.</label> |  | ||||||
|                                 <select class="custom-select" id="potalookup" name="user_pota_lookup"> |                                 <select class="custom-select" id="potalookup" name="user_pota_lookup"> | ||||||
|                                     <option value="0"><?php echo lang('general_word_no'); ?>
 |                                     <option value="0"><?php echo lang('general_word_no'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 |                                     <option value="1"><?php echo lang('general_word_yes'); ?>
 | ||||||
|                                     </option> |                                     </option> | ||||||
|                                 </select> |                                 </select> | ||||||
|                                 <div class="small form-text text-muted">If set, name and gridsquare is fetched | 				<div class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div>
 | ||||||
|                                     from the API and filled in location and locator.</div> |  | ||||||
|                                 </td> |                                 </td> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
|  | @ -291,7 +283,7 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Logbook fields |                         <?php echo lang('account_logbook_fields'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
|                         <div class="form-row"> |                         <div class="form-row"> | ||||||
|  | @ -456,13 +448,12 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         Previous QSL Type |                         <?php echo lang('account_previous_qsl_type'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="previousqsltype">Select the type of QSL to show in the previous QSOs |                             <label for="previousqsltype"><?php echo lang('account_select_the_type_of_qsl_to_show_in_the_previous_qsos_section'); ?></label>
 | ||||||
|                                 section.</label> |  | ||||||
|                             <select class="custom-select" id="previousqsltype" name="user_previous_qsl_type"> |                             <select class="custom-select" id="previousqsltype" name="user_previous_qsl_type"> | ||||||
|                                 <option value="0"><?php echo lang('gen_hamradio_qsl'); ?></option>
 |                                 <option value="0"><?php echo lang('gen_hamradio_qsl'); ?></option>
 | ||||||
|                                 <option value="1"><?php echo lang('lotw_short'); ?></option>
 |                                 <option value="1"><?php echo lang('lotw_short'); ?></option>
 | ||||||
|  | @ -476,19 +467,17 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                         qrz.com/hamqth.com Images |                         <?php echo lang('account_qrzcom_hamqthcom_images'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="profileimages">Show profile picture of QSO partner from |                             <label for="profileimages"><?php echo lang('account_show_profile_picture_of_qso_partner_from_qrzcom_hamqthcom_profile_in_the_log_qso_section'); ?></label>
 | ||||||
|                                 qrz.com/hamqth.com profile in the log QSO section.</label> |  | ||||||
|                             <select class="custom-select" id="profileimages" name="user_show_profile_image"> |                             <select class="custom-select" id="profileimages" name="user_show_profile_image"> | ||||||
|                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 |                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 | ||||||
|                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 |                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 | ||||||
|                             </select> |                             </select> | ||||||
|                             <div class="small form-text text-muted">Please set your qrz.com/hamqth.com |                             <div class="small form-text text-muted"><?php echo lang('account_please_set_your_qrzcom_hamqthcom_credentials_in_the_general_config_file'); ?></div>
 | ||||||
|                                 credentials in the general config file.</div> |  | ||||||
|                             </td> |                             </td> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|  | @ -501,12 +490,12 @@ | ||||||
|             <div class="col-md"> |             <div class="col-md"> | ||||||
|                 <div class="card"> |                 <div class="card"> | ||||||
|                     <div class="card-header"> |                     <div class="card-header"> | ||||||
|                          AMSAT Status Upload |                          <?php echo lang('account_amsat_status_upload'); ?>
 | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="card-body"> |                     <div class="card-body"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <label for="amsatstatusupload">Upload status of SAT QSOs to <a href="https://www.amsat.org/status/" target="_blank">https://www.amsat.org/status/</a>.</label> |                             <label for="amsatstatusupload"><?php echo lang('account_upload_status_of_sat_qsos_to'); ?> <a href="https://www.amsat.org/status/" target="_blank">https://www.amsat.org/status/</a>.</label>
 | ||||||
|                             <select class="custom-select" id="amsatstatusupload" name="user_amsat_status_upload"> |                             <select class="custom-select" id="amsatstatusupload" name="user_amsat_status_upload"> | ||||||
|                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 |                                 <option value="0"><?php echo lang('general_word_no'); ?></option>
 | ||||||
|                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 |                                 <option value="1"><?php echo lang('general_word_yes'); ?></option>
 | ||||||
|  |  | ||||||
|  | @ -2,16 +2,16 @@ | ||||||
| <br> | <br> | ||||||
| 	<div class="card"> | 	<div class="card"> | ||||||
| 	  <div class="card-header"> | 	  <div class="card-header"> | ||||||
| 	    Delete User Account <?php echo $user_name; ?>
 | 	    <?php echo lang('account_delete_user_account'); ?> <?php echo $user_name; ?>
 | ||||||
| 	  </div> | 	  </div> | ||||||
| 	  <div class="card-body"> | 	  <div class="card-body"> | ||||||
| 	    <h5 class="card-title"></h5> | 	    <h5 class="card-title"></h5> | ||||||
| 
 | 
 | ||||||
| 	    <p class="card-text">Are you sure you want to delete the user account <b><?php echo $user_name; ?></b>?</p>
 | 	    <p class="card-text"><?php echo lang('account_are_you_sure_you_want_to_delete_the_user_account'); ?> <b><?php echo $user_name; ?></b>?</p>
 | ||||||
| 
 | 
 | ||||||
| 	    <form method="post" action="<?php echo site_url('user/delete')."/".$this->uri->segment(3); ?>" name="users"> | 	    <form method="post" action="<?php echo site_url('user/delete')."/".$this->uri->segment(3); ?>" name="users"> | ||||||
| 	    <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | 	    <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | ||||||
| 			<input class="btn btn-danger" type="submit" value="Yes, delete this user" /> <a href="<?php echo site_url('user'); ?>" class="btn btn-success">No, do not delete this user</a> | 			<input class="btn btn-danger" type="submit" value="<?php echo lang('account_yes_delete_this_user'); ?>" /> <a href="<?php echo site_url('user'); ?>" class="btn btn-success"><?php echo lang('account_no_do_not_delete_this_user'); ?></a>
 | ||||||
| 			</form> | 			</form> | ||||||
| 	  </div> | 	  </div> | ||||||
| 	</div> | 	</div> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <div class="container"> | <div class="container"> | ||||||
| 	<h3> | 	<h3> | ||||||
| 	  Edit Account | 	  <?php echo lang('account_edit_account'); ?>
 | ||||||
| 	  <small class="text-muted"><?php echo $user_name; ?></small>
 | 	  <small class="text-muted"><?php echo $user_name; ?></small>
 | ||||||
| 	</h3> | 	</h3> | ||||||
| 
 | 
 | ||||||
|  | @ -32,23 +32,23 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 	    	<div class="card"> | 	    	<div class="card"> | ||||||
| 		    	<div class="card-header"> | 		    	<div class="card-header"> | ||||||
| 				   	 Account Information | 				   	 <?php echo lang('account_account_information'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Username</label> | 						<label><?php echo lang('account_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" value="<?php if(isset($user_name)) { echo $user_name; } ?>" /> | ||||||
| 						<?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 | 						<?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Email</label> | 						<label><?php echo lang('account_email_address'); ?></label>
 | ||||||
| 						<input class="form-control" type="text" name="user_email" value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> | 						<input class="form-control" type="text" name="user_email" value="<?php if(isset($user_email)) { echo $user_email; } ?>" /> | ||||||
| 						<?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 | 						<?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Password</label> | 						<label><?php echo lang('account_password'); ?></label>
 | ||||||
| 						<input class="form-control" type="password" name="user_password" /> | 						<input class="form-control" type="password" name="user_password" /> | ||||||
| 						<?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } else { ?>
 | 						<?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } else { ?>
 | ||||||
| 						<div class="small form-text text-muted">Leave blank to keep existing password</div></td> | 						<div class="small form-text text-muted">Leave blank to keep existing password</div></td> | ||||||
|  | @ -61,11 +61,11 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 	    	<div class="card"> | 	    	<div class="card"> | ||||||
| 		    	<div class="card-header"> | 		    	<div class="card-header"> | ||||||
| 				   	 Roles | 				   	 <?php echo lang('account_roles'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Level</label> | 						<label><?php echo lang('account_user_role'); ?></label>
 | ||||||
| 
 | 
 | ||||||
| 						<?php if($this->session->userdata('user_type') == 99) { ?>
 | 						<?php if($this->session->userdata('user_type') == 99) { ?>
 | ||||||
| 						<select class="custom-select" name="user_type"> | 						<select class="custom-select" name="user_type"> | ||||||
|  | @ -92,11 +92,11 @@ | ||||||
|         <div class="col-md"> |         <div class="col-md"> | ||||||
|             <div class="card"> |             <div class="card"> | ||||||
|                 <div class="card-header"> |                 <div class="card-header"> | ||||||
|                     Theme |                     <?php echo lang('account_theme'); ?>
 | ||||||
|                 </div> |                 </div> | ||||||
|                 <div class="card-body"> |                 <div class="card-body"> | ||||||
|                     <div class="form-group"> |                     <div class="form-group"> | ||||||
|                         <label>Stylesheet</label> |                         <label><?php echo lang('account_stylesheet'); ?></label>
 | ||||||
|                         <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> |                         <select class="custom-select" id="user_stylesheet" name="user_stylesheet" required> | ||||||
| 							<?php | 							<?php | ||||||
| 							foreach ($themes as $theme) { | 							foreach ($themes as $theme) { | ||||||
|  | @ -120,32 +120,32 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 	    	<div class="card"> | 	    	<div class="card"> | ||||||
| 				<div class="card-header"> | 				<div class="card-header"> | ||||||
| 			   	 Personal Information | 			   	 <?php echo lang('account_personal_information'); ?>
 | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 							<label>First name</label> | 							<label><?php echo lang('account_first_name'); ?></label>
 | ||||||
| 							<input class="form-control" type="text" name="user_firstname" value="<?php if(isset($user_firstname)) { echo $user_firstname; } ?>" /> | 							<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>"; } else { ?>
 | 								<?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } else { ?>
 | ||||||
| 								<?php } ?>
 | 								<?php } ?>
 | ||||||
| 						</div> | 						</div> | ||||||
| 
 | 
 | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
| 							<label>Last name</label> | 							<label><?php echo lang('account_last_name'); ?></label>
 | ||||||
| 							<input class="form-control" type="text" name="user_lastname" value="<?php if(isset($user_lastname)) { echo $user_lastname; } ?>" /> | 							<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>"; } else { ?>
 | 								<?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } else { ?>
 | ||||||
| 								<?php } ?>
 | 								<?php } ?>
 | ||||||
| 						</div> | 						</div> | ||||||
| 
 | 
 | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
| 							<label>Callsign</label> | 							<label><?php echo lang('account_callsign'); ?></label>
 | ||||||
| 							<input class="form-control" type="text" name="user_callsign" value="<?php if(isset($user_callsign)) { echo $user_callsign; } ?>" /> | 							<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>"; } else { ?>
 | 								<?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } else { ?>
 | ||||||
| 								<?php } ?>
 | 								<?php } ?>
 | ||||||
| 						</div> | 						</div> | ||||||
| 
 | 
 | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
| 							<label>Gridsquare</label> | 							<label><?php echo lang('account_gridsquare'); ?></label>
 | ||||||
| 							<input class="form-control" type="text" name="user_locator" value="<?php if(isset($user_locator)) { echo $user_locator; } ?>" /> | 							<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>"; } else { ?>
 | 								<?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } else { ?>
 | ||||||
| 								<?php } ?>
 | 								<?php } ?>
 | ||||||
|  | @ -157,16 +157,16 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 	    	<div class="card"> | 	    	<div class="card"> | ||||||
| 				<div class="card-header"> | 				<div class="card-header"> | ||||||
| 			   	 Cloudlog Preferences | 			   	 <?php echo lang('account_cloudlog_preferences'); ?>
 | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Timezone</label> | 						<label><?php echo lang('account_timezone'); ?></label>
 | ||||||
| 						<?php echo form_dropdown('user_timezone', $timezones, $user_timezone); ?>
 | 						<?php echo form_dropdown('user_timezone', $timezones, $user_timezone); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 					<label for="SelectDateFormat">Date Format</label> | 					<label for="SelectDateFormat"><?php echo lang('account_date_format'); ?></label>
 | ||||||
| 						<select name="user_date_format" class="custom-select" id="SelectDateFormat" aria-describedby="SelectDateFormatHelp"> | 						<select name="user_date_format" class="custom-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="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>
 | ||||||
|  | @ -178,18 +178,18 @@ | ||||||
| 							<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="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> | 						</select> | ||||||
| 						<small id="SelectDateFormatHelp" class="form-text text-muted">Select how you would like dates shown when logged into your account.</small> | 						<small id="SelectDateFormatHelp" class="form-text text-muted"><?php echo lang('account_select_how_you_would_like_dates_shown_when_logged_into_your_account'); ?></small>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 		                <label for="user_measurement_base">Measurement preference</label> | 		                <label for="user_measurement_base"><?php echo lang('account_measurement_preferences'); ?></label>
 | ||||||
| 		                <select class="custom-select" id="user_measurement_base" name="user_measurement_base" aria-describedby="user_measurement_base_Help" required> | 		                <select class="custom-select" id="user_measurement_base" name="user_measurement_base" aria-describedby="user_measurement_base_Help" required> | ||||||
| 		                    <option value ''></option> | 		                    <option value ''></option> | ||||||
|                             <option value='K' <?php if($user_measurement_base == "K") { echo "selected=\"selected\""; } ?>>Kilometers</option>
 |                             <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='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>
 | 		                    <option value='N' <?php if($user_measurement_base == "N") { echo "selected=\"selected\""; } ?>>Nautical miles</option>
 | ||||||
| 		                </select> | 		                </select> | ||||||
| 		                <small id="user_measurement_base_Help" class="form-text text-muted">Choose which unit distances will be shown in.</small> | 		                <small id="user_measurement_base_Help" class="form-text text-muted"><?php echo lang('account_choose_which_unit_distances_will_be_shown_in'); ?></small>
 | ||||||
| 		            </div> | 		            </div> | ||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
|  | @ -202,20 +202,20 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 			<div class="card"> | 			<div class="card"> | ||||||
| 				<div class="card-header"> | 				<div class="card-header"> | ||||||
| 			   	 Logbook of the World | 			   	 <?php echo lang('account_logbook_of_the_world'); ?>
 | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Logbook of The World (LoTW) Username</label> | 						<label><?php echo lang('account_logbook_of_the_world_lotw_username'); ?></label>
 | ||||||
| 						<input class="form-control" type="text" name="user_lotw_name" value="<?php if(isset($user_lotw_name)) { echo $user_lotw_name; } ?>" /> | 						<input class="form-control" type="text" name="user_lotw_name" value="<?php if(isset($user_lotw_name)) { echo $user_lotw_name; } ?>" /> | ||||||
| 						<?php if(isset($userlotwname_error)) { echo "<div class=\"small error\">".$userlotwname_error."</div>"; } ?>
 | 						<?php if(isset($userlotwname_error)) { echo "<div class=\"small error\">".$userlotwname_error."</div>"; } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Logbook of The World (LoTW) Password</label> | 						<label><?php echo lang('account_logbook_of_the_world_lotw_password'); ?></label>
 | ||||||
| 						<input class="form-control" type="password" name="user_lotw_password" /> | 						<input class="form-control" type="password" name="user_lotw_password" /> | ||||||
| 							<?php if(isset($lotwpassword_error)) { echo "<div class=\"small error\">".$lotwpassword_error."</div>"; } else { ?>
 | 							<?php if(isset($lotwpassword_error)) { echo "<div class=\"small error\">".$lotwpassword_error."</div>"; } else { ?>
 | ||||||
| 							<div class="small form-text text-muted">Leave blank to keep existing password</div></td> | 							<div class="small form-text text-muted"><?php echo lang('account_leave_blank_to_keep_existing_password'); ?></div></td>
 | ||||||
| 							<?php } ?>
 | 							<?php } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
|  | @ -226,20 +226,20 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 			<div class="card"> | 			<div class="card"> | ||||||
| 				<div class="card-header"> | 				<div class="card-header"> | ||||||
| 			   	 eQSL | 			   	 <?php echo lang('account_eqsl'); ?>
 | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>eQSL.cc Username</label> | 						<label><?php echo lang('account_eqslcc_username'); ?></label>
 | ||||||
| 						<input class="form-control" type="text" name="user_eqsl_name" value="<?php if(isset($user_eqsl_name)) { echo $user_eqsl_name; } ?>" /> | 						<input class="form-control" type="text" name="user_eqsl_name" value="<?php if(isset($user_eqsl_name)) { echo $user_eqsl_name; } ?>" /> | ||||||
| 							<?php if(isset($eqslusername_error)) { echo "<div class=\"small error\">".$eqslusername_error."</div>"; } ?>
 | 							<?php if(isset($eqslusername_error)) { echo "<div class=\"small error\">".$eqslusername_error."</div>"; } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>eQSL.cc Password</label> | 						<label><?php echo lang('account_eqslcc_password'); ?></label>
 | ||||||
| 						<input class="form-control" type="password" name="user_eqsl_password" /> | 						<input class="form-control" type="password" name="user_eqsl_password" /> | ||||||
| 							<?php if(isset($eqslpassword_error)) { echo "<div class=\"small error\">".$eqslpassword_error."</div>"; } else { ?>
 | 							<?php if(isset($eqslpassword_error)) { echo "<div class=\"small error\">".$eqslpassword_error."</div>"; } else { ?>
 | ||||||
| 							<div class="small form-text text-muted">Leave blank to keep existing password</div></td> | 							<div class="small form-text text-muted"><?php echo lang('account_leave_blank_to_keep_existing_password'); ?></div></td>
 | ||||||
| 							<?php } ?>
 | 							<?php } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
|  | @ -253,22 +253,22 @@ | ||||||
| 	    <div class="col-md"> | 	    <div class="col-md"> | ||||||
| 	    	<div class="card"> | 	    	<div class="card"> | ||||||
| 				<div class="card-header"> | 				<div class="card-header"> | ||||||
| 			   		Club Log | 			   		<?php echo lang('account_clublog'); ?>
 | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="card-body"> | 				<div class="card-body"> | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Club Log Email/Callsign</label> | 						<label><?php echo lang('account_clublog_email_callsign'); ?></label>
 | ||||||
| 						<input class="form-control" type="text" name="user_clublog_name" value="<?php if(isset($user_clublog_name)) { echo $user_clublog_name; } ?>" /> | 						<input class="form-control" type="text" name="user_clublog_name" value="<?php if(isset($user_clublog_name)) { echo $user_clublog_name; } ?>" /> | ||||||
| 							<div class="small form-text text-muted">The Email or Callsign you use to login to Club Log</div></td> | 							<div class="small form-text text-muted"><?php echo lang('account_the_email_or_callsign_you_use_to_login_to_club_log'); ?></div></td>
 | ||||||
| 							<?php if(isset($userclublogname_error)) { echo "<div class=\"small error\">".$userclublogname_error."</div>"; } ?>
 | 							<?php if(isset($userclublogname_error)) { echo "<div class=\"small error\">".$userclublogname_error."</div>"; } ?>
 | ||||||
| 
 | 
 | ||||||
| 					</div> | 					</div> | ||||||
| 
 | 
 | ||||||
| 					<div class="form-group"> | 					<div class="form-group"> | ||||||
| 						<label>Club Log Password</label> | 						<label><?php echo lang('account_clublog_password'); ?></label>
 | ||||||
| 						<input class="form-control" type="password" name="user_clublog_password" /> | 						<input class="form-control" type="password" name="user_clublog_password" /> | ||||||
| 							<?php if(isset($clublogpassword_error)) { echo "<div class=\"small error\">".$clublogpassword_error."</div>"; } else { ?>
 | 							<?php if(isset($clublogpassword_error)) { echo "<div class=\"small error\">".$clublogpassword_error."</div>"; } else { ?>
 | ||||||
| 							<div class="small form-text text-muted">Leave blank to keep existing password</div></td> | 							<div class="small form-text text-muted"><?php echo lang('account_leave_blank_to_keep_existing_password'); ?></div></td>
 | ||||||
| 							<?php } ?>
 | 							<?php } ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
|  | @ -277,11 +277,11 @@ | ||||||
| 			<div class="col-md"> | 			<div class="col-md"> | ||||||
| 				<div class="card"> | 				<div class="card"> | ||||||
| 					<div class="card-header"> | 					<div class="card-header"> | ||||||
| 						Main menu | 						<?php echo lang('account_main_menu'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="card-body"> | 					<div class="card-body"> | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
| 							<label for="shownotes">Show notes in the main menu.</label> | 							<label for="shownotes"><?php echo lang('account_show_notes_in_the_main_menu'); ?></label>
 | ||||||
| 							<select class="custom-select" id="shownotes" name="user_show_notes"> | 							<select class="custom-select" id="shownotes" name="user_show_notes"> | ||||||
| 								<option value="1" <?php if ($user_show_notes == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 								<option value="1" <?php if ($user_show_notes == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 								<option value="0" <?php if ($user_show_notes == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 								<option value="0" <?php if ($user_show_notes == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
|  | @ -297,41 +297,41 @@ | ||||||
| 			<div class="col-md"> | 			<div class="col-md"> | ||||||
| 				<div class="card"> | 				<div class="card"> | ||||||
| 					<div class="card-header"> | 					<div class="card-header"> | ||||||
| 						Gridsquare and Location Autocomplete | 						<?php echo lang('account_gridsquare_and_location_autocomplete'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="card-body"> | 					<div class="card-body"> | ||||||
| 						<div class="form-row"> | 						<div class="form-row"> | ||||||
| 							<div class="form-group col-md-12"> | 							<div class="form-group col-md-12"> | ||||||
| 								<label for="qthlookup">Location auto lookup.</label> | 								<label for="qthlookup"><?php echo lang('account_location_auto_lookup'); ?></label>
 | ||||||
| 								<select class="custom-select" id="qthlookup" name="user_qth_lookup"> | 								<select class="custom-select" id="qthlookup" name="user_qth_lookup"> | ||||||
| 									<option value="1" <?php if ($user_qth_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 									<option value="1" <?php if ($user_qth_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 									<option value="0" <?php if ($user_qth_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 									<option value="0" <?php if ($user_qth_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
| 								</select> | 								</select> | ||||||
| 								<div class="small form-text text-muted">If set, gridsquare is fetched based on location name.</div></td> | 								<div class="small form-text text-muted"><?php echo lang('account_if_set_gridsquare_is_fetched_based_on_location_name'); ?></div></td>
 | ||||||
| 							</div> | 							</div> | ||||||
| 							<div class="form-group col-md-12"> | 							<div class="form-group col-md-12"> | ||||||
| 								<label for="sotalookup">SOTA auto lookup gridsquare and name for summit.</label> | 								<label for="sotalookup"><?php echo lang('account_sota_auto_lookup_gridsquare_and_name_for_summit'); ?></label>
 | ||||||
| 								<select class="custom-select" id="sotalookup" name="user_sota_lookup"> | 								<select class="custom-select" id="sotalookup" name="user_sota_lookup"> | ||||||
| 									<option value="1" <?php if ($user_sota_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 									<option value="1" <?php if ($user_sota_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 									<option value="0" <?php if ($user_sota_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 									<option value="0" <?php if ($user_sota_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
| 								</select> | 								</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 class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div></td>
 | ||||||
| 							</div> | 							</div> | ||||||
| 							<div class="form-group col-md-12"> | 							<div class="form-group col-md-12"> | ||||||
| 								<label for="wwfflookup">WWFF auto lookup gridsquare and name for reference.</label> | 								<label for="wwfflookup"><?php echo lang('account_wwff_auto_lookup_gridsquare_and_name_for_reference'); ?></label>
 | ||||||
| 								<select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> | 								<select class="custom-select" id="wwfflookup" name="user_wwff_lookup"> | ||||||
| 									<option value="1" <?php if ($user_wwff_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 									<option value="1" <?php if ($user_wwff_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 									<option value="0" <?php if ($user_wwff_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 									<option value="0" <?php if ($user_wwff_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
| 								</select> | 								</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 class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div></td>
 | ||||||
| 							</div> | 							</div> | ||||||
| 							<div class="form-group col-md-12"> | 							<div class="form-group col-md-12"> | ||||||
| 								<label for="potalookup">POTA auto lookup gridsquare and name for park.</label> | 								<label for="potalookup"><?php echo lang('account_pota_auto_lookup_gridsquare_and_name_for_park'); ?></label>
 | ||||||
| 								<select class="custom-select" id="potalookup" name="user_pota_lookup"> | 								<select class="custom-select" id="potalookup" name="user_pota_lookup"> | ||||||
| 									<option value="1" <?php if ($user_pota_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 									<option value="1" <?php if ($user_pota_lookup == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 									<option value="0" <?php if ($user_pota_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 									<option value="0" <?php if ($user_pota_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
| 								</select> | 								</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 class="small form-text text-muted"><?php echo lang('account_if_set_name_and_gridsquare_is_fetched_from_the_api_and_filled_in_location_and_locator'); ?></div></td>
 | ||||||
| 							</div> | 							</div> | ||||||
| 						</div> | 						</div> | ||||||
| 					</div> | 					</div> | ||||||
|  | @ -451,7 +451,7 @@ | ||||||
| 			<div class="col-md-6"> | 			<div class="col-md-6"> | ||||||
| 				<div class="card"> | 				<div class="card"> | ||||||
| 					<div class="card-header"> | 					<div class="card-header"> | ||||||
| 						Previous QSL Type | 						<?php echo lang('account_previous_qsl_type'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="card-body"> | 					<div class="card-body"> | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
|  | @ -471,16 +471,16 @@ | ||||||
| 			<div class="col-md-6"> | 			<div class="col-md-6"> | ||||||
| 				<div class="card"> | 				<div class="card"> | ||||||
| 					<div class="card-header"> | 					<div class="card-header"> | ||||||
| 						qrz.com/hamqth.com Images | 						<?php echo lang('account_previous_qsl_type'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="card-body"> | 					<div class="card-body"> | ||||||
| 						<div class="form-group"> | 						<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> | 							<label for="profileimages"><?php echo lang('account_show_profile_picture_of_qso_partner_from_qrzcom_hamqthcom_profile_in_the_log_qso_section'); ?></label>
 | ||||||
| 							<select class="custom-select" id="profileimages" name="user_show_profile_image"> | 							<select class="custom-select" id="profileimages" name="user_show_profile_image"> | ||||||
| 								<option value="1" <?php if ($user_show_profile_image == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 								<option value="1" <?php if ($user_show_profile_image == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 								<option value="0" <?php if ($user_show_profile_image == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 								<option value="0" <?php if ($user_show_profile_image == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
| 							</select> | 							</select> | ||||||
| 							<div class="small form-text text-muted">Please set your qrz.com/hamqth.com credentials in the general config file.</div></td> | 							<div class="small form-text text-muted"><?php echo lang('account_please_set_your_qrzcom_hamqthcom_credentials_in_the_general_config_file'); ?></div></td>
 | ||||||
| 						</div> | 						</div> | ||||||
| 
 | 
 | ||||||
| 					</div> | 					</div> | ||||||
|  | @ -493,11 +493,11 @@ | ||||||
| 			<div class="col-md"> | 			<div class="col-md"> | ||||||
| 				<div class="card"> | 				<div class="card"> | ||||||
| 					<div class="card-header"> | 					<div class="card-header"> | ||||||
| 						AMSAT Status Upload | 						<?php echo lang('account_amsat_status_upload'); ?>
 | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="card-body"> | 					<div class="card-body"> | ||||||
| 						<div class="form-group"> | 						<div class="form-group"> | ||||||
| 							<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> | 							<label for="amsatsatatusupload"><?php echo lang('account_upload_status_of_sat_qsos_to'); ?> <a href="https://www.amsat.org/status/" target="_blank">https://www.amsat.org/status/</a>.</label>
 | ||||||
| 							<select class="custom-select" id="amsatstatusupload" name="user_amsat_status_upload"> | 							<select class="custom-select" id="amsatstatusupload" name="user_amsat_status_upload"> | ||||||
| 								<option value="1" <?php if ($user_amsat_status_upload == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | 								<option value="1" <?php if ($user_amsat_status_upload == 1) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_yes'); ?></option>
 | ||||||
| 								<option value="0" <?php if ($user_amsat_status_upload == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | 								<option value="0" <?php if ($user_amsat_status_upload == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
 | ||||||
|  | @ -512,7 +512,7 @@ | ||||||
| 
 | 
 | ||||||
| 	<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | 	<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | ||||||
| 	<br> | 	<br> | ||||||
| 	<button type="submit" class="btn btn-primary"><i class="fas fa-save"></i> Save Account Changes</button> | 	<button type="submit" class="btn btn-primary"><i class="fas fa-save"></i> <?php echo lang('account_save_account_changes'); ?></button>
 | ||||||
| 	<br> | 	<br> | ||||||
| 	<br> | 	<br> | ||||||
| </form> | </form> | ||||||
|  |  | ||||||
|  | @ -30,8 +30,8 @@ input[type="email"] { | ||||||
|     <div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm"> |     <div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm"> | ||||||
|         <div class="card-body"> |         <div class="card-body"> | ||||||
|             <div class="text-center"> |             <div class="text-center"> | ||||||
|                         <h3 class="text-center">Forgot Password? <i class="fa fa-lock"></i></h3> |                         <h3 class="text-center"><?php echo lang('account_forgot_password'); ?> <i class="fa fa-lock"></i></h3>
 | ||||||
|                         <p>You can reset your password here.</p> |                         <p><?php echo lang('account_you_can_reset_your_password_here'); ?></p>
 | ||||||
|                 <div class="panel-body"> |                 <div class="panel-body"> | ||||||
| 
 | 
 | ||||||
|                     <?php if(validation_errors() != ''): ?>
 |                     <?php if(validation_errors() != ''): ?>
 | ||||||
|  | @ -44,11 +44,11 @@ input[type="email"] { | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <div class="input-group"> |                             <div class="input-group"> | ||||||
|                                 <span class="input-group-addon"><i class="glyphicon glyphicon-envelope color-blue"></i></span> |                                 <span class="input-group-addon"><i class="glyphicon glyphicon-envelope color-blue"></i></span> | ||||||
|                                 <input id="email" name="email" placeholder="email address" class="form-control" type="email"> |                                 <input id="email" name="email" placeholder="<?php echo lang('account_email_address'); ?>" class="form-control" type="email"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
|                         <div class="form-group"> |                         <div class="form-group"> | ||||||
|                             <input name="recover-submit" class="w-100 btn btn-primary btn-block" value="Reset Password" type="submit"> |                             <input name="recover-submit" class="w-100 btn btn-primary btn-block" value="<?php echo lang('account_reset_password'); ?>" type="submit"> | ||||||
|                         </div> |                         </div> | ||||||
|                         <input type="hidden" class="hide" name="token" id="token" value=""> |                         <input type="hidden" class="hide" name="token" id="token" value=""> | ||||||
|                     </form> |                     </form> | ||||||
|  |  | ||||||
|  | @ -33,26 +33,26 @@ body { | ||||||
|     <img src="<?php echo base_url()?>/CloudLog_logo.png" class="mx-auto d-block" alt="" style="width:100px;height:100px;"> |     <img src="<?php echo base_url()?>/CloudLog_logo.png" class="mx-auto d-block" alt="" style="width:100px;height:100px;"> | ||||||
|     <div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm"> |     <div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm"> | ||||||
|         <div class="card-body"> |         <div class="card-body"> | ||||||
|             <h3>Login to Cloudlog</h3> |             <h3><?php echo lang('account_login_to_cloudlog'); ?></h3>
 | ||||||
|             <form method="post" action="<?php echo site_url('user/login'); ?>" name="users"> |             <form method="post" action="<?php echo site_url('user/login'); ?>" name="users"> | ||||||
| 			<?php $this->form_validation->set_error_delimiters('', ''); ?>
 | 			<?php $this->form_validation->set_error_delimiters('', ''); ?>
 | ||||||
|                 <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> |                 <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | ||||||
|                 <div> |                 <div> | ||||||
|                     <label for="floatingInput"><strong>Username<strong></label> |                     <label for="floatingInput"><strong><?php echo lang('account_username'); ?></strong></label>
 | ||||||
|                     <input type="text" name="user_name" class="form-control" id="floatingInput" placeholder="Username" |                     <input type="text" name="user_name" class="form-control" id="floatingInput" placeholder="<?php echo lang('account_username'); ?>" | ||||||
|                         value="<?php echo $this->input->post('user_name'); ?>"> |                         value="<?php echo $this->input->post('user_name'); ?>"> | ||||||
|                 </div> |                 </div> | ||||||
|                 <div> |                 <div> | ||||||
|                     <label for="floatingPassword"><strong>Password</strong></label> |                     <label for="floatingPassword"><strong><?php echo lang('account_password'); ?></strong></label>
 | ||||||
|                     <input type="password" name="user_password" class="form-control" id="floatingPassword" |                     <input type="password" name="user_password" class="form-control" id="floatingPassword" | ||||||
|                         placeholder="Password"> |                         placeholder="<?php echo lang('account_password'); ?>"> | ||||||
|                 </div> |                 </div> | ||||||
| 
 | 
 | ||||||
|                 <div> |                 <div> | ||||||
|                     <p><small><a class="" href="<?php echo site_url('user/forgot_password'); ?>">Forgot your password?</a></small></p> |                     <p><small><a class="" href="<?php echo site_url('user/forgot_password'); ?>"><?php echo lang('account_forgot_your_password'); ?></a></small></p>
 | ||||||
|                 </div> |                 </div> | ||||||
| 					<?php $this->load->view('layout/messages'); ?>
 | 					<?php $this->load->view('layout/messages'); ?>
 | ||||||
|                 <button class="w-100 btn btn-info" type="submit">Login →</button> |                 <button class="w-100 btn btn-info" type="submit"><?php echo lang('account_login'); ?> →</button>
 | ||||||
|             </form> |             </form> | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|  | @ -14,20 +14,20 @@ | ||||||
| 
 | 
 | ||||||
| <div class="card"> | <div class="card"> | ||||||
|   <div class="card-header"> |   <div class="card-header"> | ||||||
|     User List |     <?php echo lang('admin_user_list'); ?>
 | ||||||
|   </div> |   </div> | ||||||
|   <div class="card-body"> |   <div class="card-body"> | ||||||
|     <p class="card-text">Cloudlog needs at least one user configured in order to operate.</p> |     <p class="card-text"><?php echo lang('admin_user_line1'); ?></p>
 | ||||||
|     <p class="card-text">Users can be assigned roles which give them different permissions, such as adding QSOs to the logbook and accessing Cloudlog APIs.</p> |     <p class="card-text"><?php echo lang('admin_user_line2'); ?></p>
 | ||||||
|     <p class="card-text">The currently logged-in user is displayed at the upper-right of each page.</p> |     <p class="card-text"><?php echo lang('admin_user_line3'); ?></p>
 | ||||||
|     <div class="table-responsive"> |     <div class="table-responsive"> | ||||||
| 		<table class="table table-striped"> | 		<table class="table table-striped"> | ||||||
| 		  <thead> | 		  <thead> | ||||||
| 		    <tr> | 		    <tr> | ||||||
| 		      <th scope="col">User</th> | 		      <th scope="col"><?php echo lang('admin_user'); ?></th>
 | ||||||
| 		      <th scope="col">E-mail</th> | 		      <th scope="col"><?php echo lang('admin_email'); ?></th>
 | ||||||
| 		      <th scope="col">Type</th> | 		      <th scope="col"><?php echo lang('admin_type'); ?></th>
 | ||||||
| 		      <th scope="col">Options</th> | 		      <th scope="col"><?php echo lang('admin_options'); ?></th>
 | ||||||
| 		    </tr> | 		    </tr> | ||||||
| 		  </thead> | 		  </thead> | ||||||
| 		  <tbody> | 		  <tbody> | ||||||
|  | @ -41,10 +41,10 @@ | ||||||
| 					<td><?php echo $row->user_email; ?></td>
 | 					<td><?php echo $row->user_email; ?></td>
 | ||||||
| 					<td><?php $l = $this->config->item('auth_level'); echo $l[$row->user_type]; ?></td>
 | 					<td><?php $l = $this->config->item('auth_level'); echo $l[$row->user_type]; ?></td>
 | ||||||
| 					<td> | 					<td> | ||||||
| 						<a href="<?php echo site_url('user/edit')."/".$row->user_id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-user-edit"></i> Edit</a> | 						<a href="<?php echo site_url('user/edit')."/".$row->user_id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-user-edit"></i> <?php echo lang('admin_edit'); ?></a>
 | ||||||
| 						<?php | 						<?php | ||||||
| 						if ($_SESSION['user_id'] != $row->user_id) { | 						if ($_SESSION['user_id'] != $row->user_id) { | ||||||
| 							echo "<a href=" . site_url('user/delete'). "/" . $row->user_id . " class=\"btn btn-danger btn-sm\"><i class=\"fas fa-user-minus\"></i> Delete</a>"; | 							echo "<a href=" . site_url('user/delete'). "/" . $row->user_id . " class=\"btn btn-danger btn-sm\"><i class=\"fas fa-user-minus\"></i> ".lang('admin_delete')."</a>"; | ||||||
| 						} | 						} | ||||||
| 						?>
 | 						?>
 | ||||||
| 					</td> | 					</td> | ||||||
|  | @ -54,7 +54,7 @@ | ||||||
| 		</table> | 		</table> | ||||||
| 	</div> | 	</div> | ||||||
| 		<p> | 		<p> | ||||||
| 			<a class="btn btn-primary" href="<?php echo site_url('user/add'); ?>"><i class="fas fa-user-plus"></i> Create user</a> | 			<a class="btn btn-primary" href="<?php echo site_url('user/add'); ?>"><i class="fas fa-user-plus"></i> <?php echo lang('admin_create_user'); ?></a>
 | ||||||
| 		</p> | 		</p> | ||||||
|   </div> |   </div> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -5,8 +5,8 @@ | ||||||
|               <div class="panel-body"> |               <div class="panel-body"> | ||||||
|                 <div class="text-center"> |                 <div class="text-center"> | ||||||
|                   <h3><i class="fa fa-lock fa-4x"></i></h3> |                   <h3><i class="fa fa-lock fa-4x"></i></h3> | ||||||
|                   <h2 class="text-center">Reset Password?</h2> |                   <h2 class="text-center"><?php echo lang('account_reset_password'); ?>?</h2>
 | ||||||
|                   <p>You can reset your password here.</p> |                   <p><?php echo lang('account_you_can_reset_your_password_here'); ?></p>
 | ||||||
|                   <div class="panel-body"> |                   <div class="panel-body"> | ||||||
|                      |                      | ||||||
|                     <?php if(validation_errors() != ''): ?>
 |                     <?php if(validation_errors() != ''): ?>
 | ||||||
|  | @ -18,21 +18,21 @@ | ||||||
|                     <form role="form" autocomplete="off" class="form" method="post" action="<?php echo site_url('user/reset_password'); ?>/<?php echo $reset_code; ?>"> |                     <form role="form" autocomplete="off" class="form" method="post" action="<?php echo site_url('user/reset_password'); ?>/<?php echo $reset_code; ?>"> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="inputPassword" class="col-sm-2 col-form-label">Password</label> |                             <label for="inputPassword" class="col-sm-2 col-form-label"><?php echo lang('account_password'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="password" name="password" class="form-control" id="inputPassword" placeholder="Password"> |                                 <input type="password" name="password" class="form-control" id="inputPassword" placeholder="<?php echo lang('account_password'); ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                         <div class="form-group row"> |                         <div class="form-group row"> | ||||||
|                             <label for="inputPassword" class="col-sm-2 col-form-label">Confirm Password</label> |                             <label for="inputPassword" class="col-sm-2 col-form-label"><?php echo lang('account_confirm_password'); ?></label>
 | ||||||
|                             <div class="col-sm-10"> |                             <div class="col-sm-10"> | ||||||
|                                 <input type="password" name="password_confirm" class="form-control" id="inputPassword" placeholder="Password"> |                                 <input type="password" name="password_confirm" class="form-control" id="inputPassword" placeholder="<?php echo lang('account_password'); ?>"> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                       <div class="form-group"> |                       <div class="form-group"> | ||||||
|                         <input name="recover-submit" class="btn btn-lg btn-primary btn-block" value="Reset Password" type="submit"> |                         <input name="recover-submit" class="btn btn-lg btn-primary btn-block" value="<?php echo lang('account_reset_password'); ?>" type="submit"> | ||||||
|                       </div> |                       </div> | ||||||
|                        |                        | ||||||
|                       <input type="hidden" class="hide" name="token" id="token" value="">  |                       <input type="hidden" class="hide" name="token" id="token" value="">  | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用