[Translation][Russian] Statistics (partially), User views

这个提交包含在:
cats-shadow 2023-05-17 17:01:55 +03:00
父节点 7e7f1c5474
当前提交 d181c20730
共有 15 个文件被更改,包括 338 次插入143 次删除

查看文件

@ -11,6 +11,7 @@ class User extends CI_Controller {
'account',
'lotw',
'eqsl',
'admin',
));
}
@ -21,7 +22,7 @@ class User extends CI_Controller {
$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('user/main');

查看文件

@ -8,3 +8,84 @@ $lang['account_column2_text'] = 'Choose column 2';
$lang['account_column3_text'] = 'Choose column 3';
$lang['account_column4_text'] = 'Choose column 4';
$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';

查看文件

@ -10,4 +10,6 @@ $lang['statistics_bands'] = 'Bands';
$lang['statistics_qsos'] = 'QSOs';
$lang['statistics_unique_callsigns'] = 'Unique callsigns';
$lang['statistics_total'] = 'Total';
$lang['statistics_total'] = 'Total';
$lang['statistics_year'] = 'Year';

查看文件

@ -8,3 +8,84 @@ $lang['account_column2_text'] = 'Выберите столбец 2';
$lang['account_column3_text'] = 'Выберите столбец 3';
$lang['account_column4_text'] = 'Выберите столбец 4';
$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,10 +4,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$lang['statistics_explore_the_logbook'] = 'Исследуем журнал.';
$lang['statistics_years'] = 'Годы';
$lang['statistics_mode'] = 'Виды модуляции';
$lang['statistics_bands'] = 'Диапазоны';
$lang['statistics_qsos'] = 'QSO';
$lang['statistics_unique_callsigns'] = 'Уникальные позывные';
$lang['statistics_years'] = 'по годам';
$lang['statistics_mode'] = 'по видам модуляции';
$lang['statistics_bands'] = 'по диапазонам';
$lang['statistics_qsos'] = 'по QSO';
$lang['statistics_unique_callsigns'] = 'по уникальным позывным';
$lang['statistics_total'] = 'Всего';
$lang['statistics_total'] = 'Всего';
$lang['statistics_year'] = 'Год';

查看文件

@ -1,6 +1,6 @@
<div class="container">
<h3>
Create User Account
<?php echo lang('account_create_user_account'); ?>
</h3>
<?php if($this->session->flashdata('notice')) { ?>
<div id="message">
@ -16,26 +16,26 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Account Information
<?php echo lang('account_account_information'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
</div>
<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"
value="<?php if(isset($user_email)) { echo $user_email; } ?>" />
<?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
</div>
<div class="form-group">
<label>Password</label>
<label><?php echo lang('account_password'); ?></label>
<input class="form-control" type="password" name="user_password"
value="<?php if(isset($user_password)) { echo $user_password; } ?>" />
<?php if(isset($password_error)) { echo "<div class=\"small error\">".$password_error."</div>"; } ?>
@ -48,11 +48,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Roles
<?php echo lang('account_roles'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label>User Role</label>
<label><?php echo lang('account_user_role'); ?></label>
<select class="custom-select" name="user_type">
<?php
$levels = $this->config->item('auth_level');
@ -77,12 +77,12 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Theme
<?php echo lang('account_theme'); ?>
</div>
<div class="card-body">
<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>
<?php
foreach ($themes as $theme) {
@ -105,32 +105,32 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Personal Information
<?php echo lang('account_personal_information'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } ?>
</div>
<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; } ?>" />
<?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } ?>
</div>
<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; } ?>" />
<?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } ?>
</div>
<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; } ?>" />
<?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } ?>
@ -144,12 +144,12 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Cloudlog Preferences
<?php echo lang('account_cloudlog_preferences'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label>Timezone</label>
<label><?php echo lang('account_timezone'); ?></label>
<?php
if(!isset($user_timezone)) { $user_timezone = 0; }
echo form_dropdown('user_timezone', $timezones, $user_timezone);
@ -157,7 +157,7 @@
</div>
<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">
<option value="">Select Format</option>
@ -169,13 +169,12 @@
<option value="Y-m-d"><?php echo date('Y-m-d'); ?></option>
</select>
<small id="SelectDateFormatHelp" class="form-text text-muted">Select how you would
like dates shown when logged into your account.</small>
<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 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"
required>
<option value=''></option>
@ -189,8 +188,7 @@
<?php if($measurement_base == "N") { echo "selected=\"selected\""; } ?>>
Nautical miles</option>
</select>
<small id="user_measurement_base_Help" class="form-text text-muted">Choose which
unit distances will be shown in.</small>
<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>
@ -203,11 +201,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Main Menu
<?php echo lang('account_main_menu'); ?>
</div>
<div class="card-body">
<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">
<option value="0"><?php echo lang('general_word_no'); ?></option>
<option value="1"><?php echo lang('general_word_yes'); ?></option>
@ -223,62 +221,56 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Gridsquare and Location Autocomplete
<?php echo lang('account_gridsquare_and_location_autocomplete'); ?>
</div>
<div class="card-body">
<div class="form-row">
<div class="form-group col-md-12">
<label for="qthlookup">Location auto lookup.</label>
<label for="qthlookup"><?php echo lang('account_location_auto_lookup'); ?></label>
<select class="custom-select" id="qthlookup" name="user_qth_lookup">
<option value="0"><?php echo lang('general_word_no'); ?>
</option>
<option value="1"><?php echo lang('general_word_yes'); ?>
</option>
</select>
<div class="small form-text text-muted">If set, gridsquare is fetched based on
location name.</div>
<div class="small form-text text-muted"><?php echo lang('account_if_set_gridsquare_is_fetched_based_on_location_name'); ?></div>
</td>
</div>
<div class="form-group col-md-12">
<label for="sotalookup">SOTA auto lookup gridsquare and name for summit.</label>
<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">
<option value="0"><?php echo lang('general_word_no'); ?>
</option>
<option value="1"><?php echo lang('general_word_yes'); ?>
</option>
</select>
<div class="small form-text text-muted">If set, name and gridsquare is fetched
from the API and filled in location and locator.</div>
<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 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">
<option value="0"><?php echo lang('general_word_no'); ?>
</option>
<option value="1"><?php echo lang('general_word_yes'); ?>
</option>
</select>
<div class="small form-text text-muted">If set, name and gridsquare is fetched
from the API and filled in location and locator.</div>
<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 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">
<option value="0"><?php echo lang('general_word_no'); ?>
</option>
<option value="1"><?php echo lang('general_word_yes'); ?>
</option>
</select>
<div class="small form-text text-muted">If set, name and gridsquare is fetched
from the API and filled in location and locator.</div>
<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>
@ -291,7 +283,7 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Logbook fields
<?php echo lang('account_logbook_fields'); ?>
</div>
<div class="card-body">
<div class="form-row">
@ -456,13 +448,12 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Previous QSL Type
<?php echo lang('account_previous_qsl_type'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label for="previousqsltype">Select the type of QSL to show in the previous QSOs
section.</label>
<label for="previousqsltype"><?php echo lang('account_select_the_type_of_qsl_to_show_in_the_previous_qsos_section'); ?></label>
<select class="custom-select" id="previousqsltype" name="user_previous_qsl_type">
<option value="0"><?php echo lang('gen_hamradio_qsl'); ?></option>
<option value="1"><?php echo lang('lotw_short'); ?></option>
@ -476,19 +467,17 @@
<div class="col-md">
<div class="card">
<div class="card-header">
qrz.com/hamqth.com Images
<?php echo lang('account_qrzcom_hamqthcom_images'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label for="profileimages">Show profile picture of QSO partner from
qrz.com/hamqth.com profile in the log QSO section.</label>
<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">
<option value="0"><?php echo lang('general_word_no'); ?></option>
<option value="1"><?php echo lang('general_word_yes'); ?></option>
</select>
<div class="small form-text text-muted">Please set your qrz.com/hamqth.com
credentials in the general config file.</div>
<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>
@ -501,12 +490,12 @@
<div class="col-md">
<div class="card">
<div class="card-header">
AMSAT Status Upload
<?php echo lang('account_amsat_status_upload'); ?>
</div>
<div class="card-body">
<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">
<option value="0"><?php echo lang('general_word_no'); ?></option>
<option value="1"><?php echo lang('general_word_yes'); ?></option>

查看文件

@ -2,16 +2,16 @@
<br>
<div class="card">
<div class="card-header">
Delete User Account <?php echo $user_name; ?>
<?php echo lang('account_delete_user_account'); ?> <?php echo $user_name; ?>
</div>
<div class="card-body">
<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">
<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>
</div>
</div>

查看文件

@ -1,6 +1,6 @@
<div class="container">
<h3>
Edit Account
<?php echo lang('account_edit_account'); ?>
<small class="text-muted"><?php echo $user_name; ?></small>
</h3>
@ -32,23 +32,23 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Account Information
<?php echo lang('account_account_information'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($username_error)) { echo "<div class=\"small error\">".$username_error."</div>"; } ?>
</div>
<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; } ?>" />
<?php if(isset($email_error)) { echo "<div class=\"small error\">".$email_error."</div>"; } ?>
</div>
<div class="form-group">
<label>Password</label>
<label><?php echo lang('account_password'); ?></label>
<input class="form-control" type="password" name="user_password" />
<?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>
@ -61,11 +61,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Roles
<?php echo lang('account_roles'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label>Level</label>
<label><?php echo lang('account_user_role'); ?></label>
<?php if($this->session->userdata('user_type') == 99) { ?>
<select class="custom-select" name="user_type">
@ -92,11 +92,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Theme
<?php echo lang('account_theme'); ?>
</div>
<div class="card-body">
<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>
<?php
foreach ($themes as $theme) {
@ -120,32 +120,32 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Personal Information
<?php echo lang('account_personal_information'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($firstname_error)) { echo "<div class=\"small error\">".$firstname_error."</div>"; } else { ?>
<?php } ?>
</div>
<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; } ?>" />
<?php if(isset($lastname_error)) { echo "<div class=\"small error\">".$lastname_error."</div>"; } else { ?>
<?php } ?>
</div>
<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; } ?>" />
<?php if(isset($callsign_error)) { echo "<div class=\"small error\">".$callsign_error."</div>"; } else { ?>
<?php } ?>
</div>
<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; } ?>" />
<?php if(isset($locator_error)) { echo "<div class=\"small error\">".$locator_error."</div>"; } else { ?>
<?php } ?>
@ -157,16 +157,16 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Cloudlog Preferences
<?php echo lang('account_cloudlog_preferences'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label>Timezone</label>
<label><?php echo lang('account_timezone'); ?></label>
<?php echo form_dropdown('user_timezone', $timezones, $user_timezone); ?>
</div>
<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">
<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>
</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 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>
<option value ''></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='N' <?php if($user_measurement_base == "N") { echo "selected=\"selected\""; } ?>>Nautical miles</option>
</select>
<small id="user_measurement_base_Help" class="form-text text-muted">Choose which unit distances will be shown in.</small>
<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>
@ -202,20 +202,20 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Logbook of the World
<?php echo lang('account_logbook_of_the_world'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($userlotwname_error)) { echo "<div class=\"small error\">".$userlotwname_error."</div>"; } ?>
</div>
<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" />
<?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 } ?>
</div>
</div>
@ -226,20 +226,20 @@
<div class="col-md">
<div class="card">
<div class="card-header">
eQSL
<?php echo lang('account_eqsl'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<?php if(isset($eqslusername_error)) { echo "<div class=\"small error\">".$eqslusername_error."</div>"; } ?>
</div>
<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" />
<?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 } ?>
</div>
</div>
@ -253,22 +253,22 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Club Log
<?php echo lang('account_clublog'); ?>
</div>
<div class="card-body">
<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; } ?>" />
<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>"; } ?>
</div>
<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" />
<?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 } ?>
</div>
</div>
@ -277,11 +277,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Main menu
<?php echo lang('account_main_menu'); ?>
</div>
<div class="card-body">
<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">
<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>
@ -297,41 +297,41 @@
<div class="col-md">
<div class="card">
<div class="card-header">
Gridsquare and Location Autocomplete
<?php echo lang('account_gridsquare_and_location_autocomplete'); ?>
</div>
<div class="card-body">
<div class="form-row">
<div class="form-group col-md-12">
<label for="qthlookup">Location auto lookup.</label>
<label for="qthlookup"><?php echo lang('account_location_auto_lookup'); ?></label>
<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="0" <?php if ($user_qth_lookup == 0) { echo " selected =\"selected\""; } ?>><?php echo lang('general_word_no'); ?></option>
</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 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">
<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>
</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 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">
<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>
</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 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">
<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>
</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>
@ -451,7 +451,7 @@
<div class="col-md-6">
<div class="card">
<div class="card-header">
Previous QSL Type
<?php echo lang('account_previous_qsl_type'); ?>
</div>
<div class="card-body">
<div class="form-group">
@ -471,16 +471,16 @@
<div class="col-md-6">
<div class="card">
<div class="card-header">
qrz.com/hamqth.com Images
<?php echo lang('account_previous_qsl_type'); ?>
</div>
<div class="card-body">
<div class="form-group">
<label for="profileimages">Show profile picture of QSO partner from qrz.com/hamqth.com profile in the log QSO section.</label>
<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">
<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>
</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>
@ -493,11 +493,11 @@
<div class="col-md">
<div class="card">
<div class="card-header">
AMSAT Status Upload
<?php echo lang('account_amsat_status_upload'); ?>
</div>
<div class="card-body">
<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">
<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>
@ -512,7 +512,7 @@
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
<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>
</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="card-body">
<div class="text-center">
<h3 class="text-center">Forgot Password? <i class="fa fa-lock"></i></h3>
<p>You can reset your password here.</p>
<h3 class="text-center"><?php echo lang('account_forgot_password'); ?> <i class="fa fa-lock"></i></h3>
<p><?php echo lang('account_you_can_reset_your_password_here'); ?></p>
<div class="panel-body">
<?php if(validation_errors() != ''): ?>
@ -44,11 +44,11 @@ input[type="email"] {
<div class="form-group">
<div class="input-group">
<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 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>
<input type="hidden" class="hide" name="token" id="token" value="">
</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;">
<div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm">
<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">
<?php $this->form_validation->set_error_delimiters('', ''); ?>
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
<div>
<label for="floatingInput"><strong>Username<strong></label>
<input type="text" name="user_name" class="form-control" id="floatingInput" placeholder="Username"
<label for="floatingInput"><strong><?php echo lang('account_username'); ?></strong></label>
<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'); ?>">
</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"
placeholder="Password">
placeholder="<?php echo lang('account_password'); ?>">
</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>
<?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>
</div>
</div>

查看文件

@ -14,20 +14,20 @@
<div class="card">
<div class="card-header">
User List
<?php echo lang('admin_user_list'); ?>
</div>
<div class="card-body">
<p class="card-text">Cloudlog needs at least one user configured in order to operate.</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">The currently logged-in user is displayed at the upper-right of each page.</p>
<p class="card-text"><?php echo lang('admin_user_line1'); ?></p>
<p class="card-text"><?php echo lang('admin_user_line2'); ?></p>
<p class="card-text"><?php echo lang('admin_user_line3'); ?></p>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">User</th>
<th scope="col">E-mail</th>
<th scope="col">Type</th>
<th scope="col">Options</th>
<th scope="col"><?php echo lang('admin_user'); ?></th>
<th scope="col"><?php echo lang('admin_email'); ?></th>
<th scope="col"><?php echo lang('admin_type'); ?></th>
<th scope="col"><?php echo lang('admin_options'); ?></th>
</tr>
</thead>
<tbody>
@ -41,10 +41,10 @@
<td><?php echo $row->user_email; ?></td>
<td><?php $l = $this->config->item('auth_level'); echo $l[$row->user_type]; ?></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
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>
@ -54,7 +54,7 @@
</table>
</div>
<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>
</div>
</div>

查看文件

@ -5,8 +5,8 @@
<div class="panel-body">
<div class="text-center">
<h3><i class="fa fa-lock fa-4x"></i></h3>
<h2 class="text-center">Reset Password?</h2>
<p>You can reset your password here.</p>
<h2 class="text-center"><?php echo lang('account_reset_password'); ?>?</h2>
<p><?php echo lang('account_you_can_reset_your_password_here'); ?></p>
<div class="panel-body">
<?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; ?>">
<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">
<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 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">
<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 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>
<input type="hidden" class="hide" name="token" id="token" value="">

查看文件

@ -64,14 +64,14 @@ function totalQsosPerYear() {
success: function (data) {
if (data.length > 0) {
$(".years").append('<h2>Years</h2><div id="yearContainer"></div><div id="yearTable"></div>');
$(".years").append('<h2>Year</h2><div id="yearContainer"></div><div id="yearTable"></div>');
$("#yearContainer").append("<canvas id=\"yearChart\" width=\"400\" height=\"100\"></canvas>");
// appending table to hold the data
$("#yearTable").append('<table style="width:100%" class="yeartable table table-sm table-bordered table-hover table-striped table-condensed text-center"><thead>' +
'<tr>' +
'<td>#</td>' +
'<td>Year</td>' +
'<td>'+'Year'+'</td>' +
'<td># of QSO\'s worked </td>' +
'</tr>' +
'</thead>' +