Cleaned up code formatting
这个提交包含在:
父节点
a5cf402827
当前提交
d853963384
共有 9 个文件被更改,包括 239 次插入 和 212 次删除
|
|
@ -61,5 +61,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -296,27 +296,37 @@
|
|||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<div class="form-check form-switch">
|
||||
<input name="user_dashboard_enable_dxpedition_card" class="form-check-input" type="checkbox" role="switch" id="DashboardUpcomingDXpeditionCheck" <?php if ($dashboard_upcoming_dx_card) { echo 'checked'; } ?>>
|
||||
<input name="user_dashboard_enable_dxpedition_card" class="form-check-input" type="checkbox" role="switch" id="DashboardUpcomingDXpeditionCheck" <?php if ($dashboard_upcoming_dx_card) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="DashboardUpcomingDXpeditionCheck">Enable Upcoming DXPedition Card</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input name="user_dashboard_enable_qslcards_card" class="form-check-input" type="checkbox" role="switch" id="DashboardQSLCardCheck" <?php if ($dashboard_qslcard_card) { echo 'checked'; } ?>>
|
||||
<input name="user_dashboard_enable_qslcards_card" class="form-check-input" type="checkbox" role="switch" id="DashboardQSLCardCheck" <?php if ($dashboard_qslcard_card) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="DashboardQSLCardCheck">Enable QSL Cards Card</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input name="user_dashboard_enable_eqslcards_card" class="form-check-input" type="checkbox" role="switch" id="DashboardeQSLCardCheck" <?php if ($dashboard_eqslcard_card) { echo 'checked'; } ?>>
|
||||
<input name="user_dashboard_enable_eqslcards_card" class="form-check-input" type="checkbox" role="switch" id="DashboardeQSLCardCheck" <?php if ($dashboard_eqslcard_card) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="DashboardeQSLCardCheck">Enable eQSL Cards Card</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input name="user_dashboard_enable_lotw_card" class="form-check-input" type="checkbox" role="switch" id="DashboardlotwCardCheck" <?php if ($dashboard_lotw_card) { echo 'checked'; } ?>>
|
||||
<input name="user_dashboard_enable_lotw_card" class="form-check-input" type="checkbox" role="switch" id="DashboardlotwCardCheck" <?php if ($dashboard_lotw_card) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="DashboardlotwCardCheck">Enable Logbook of the World Card</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input name="user_dashboard_enable_vuccgrids_card" class="form-check-input" type="checkbox" role="switch" id="DashboardvuccgridsCardCheck" <?php if ($dashboard_vuccgrids_card) { echo 'checked'; } ?>>
|
||||
<input name="user_dashboard_enable_vuccgrids_card" class="form-check-input" type="checkbox" role="switch" id="DashboardvuccgridsCardCheck" <?php if ($dashboard_vuccgrids_card) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="DashboardvuccgridsCardCheck">Enable VUCC-Grids Card</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1177,13 +1187,17 @@
|
|||
|
||||
<!-- Winkeyer -->
|
||||
<div class="col-md">
|
||||
<div class="card"> <div class="card-header"><?php echo lang('account_winkeyer'); ?> <span class="badge text-bg-danger float-end"><?php echo lang('admin_experimental'); ?></span></div>
|
||||
<div class="card-body"> <div class="mb-3">
|
||||
<div class="card">
|
||||
<div class="card-header"><?php echo lang('account_winkeyer'); ?> <span class="badge text-bg-danger float-end"><?php echo lang('admin_experimental'); ?></span></div>
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<div class="form-check form-switch">
|
||||
<?php if (!isset($user_winkey)) {
|
||||
$user_winkey = '0';
|
||||
} ?>
|
||||
<input name="user_winkey" class="form-check-input" type="checkbox" role="switch" id="user_winkeyer" value="1" <?php if ($user_winkey == 1) { echo 'checked'; } ?>>
|
||||
<input name="user_winkey" class="form-check-input" type="checkbox" role="switch" id="user_winkeyer" value="1" <?php if ($user_winkey == 1) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="user_winkeyer"><?php echo lang('account_winkeyer_enabled'); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1194,7 +1208,9 @@
|
|||
<?php if (!isset($user_winkey_websocket)) {
|
||||
$user_winkey_websocket = '0';
|
||||
} ?>
|
||||
<input name="user_winkey_websocket" class="form-check-input" type="checkbox" role="switch" id="user_winkey_websocket" value="1" <?php if (isset($user_winkey_websocket) && $user_winkey_websocket == 1) { echo 'checked'; } ?>>
|
||||
<input name="user_winkey_websocket" class="form-check-input" type="checkbox" role="switch" id="user_winkey_websocket" value="1" <?php if (isset($user_winkey_websocket) && $user_winkey_websocket == 1) {
|
||||
echo 'checked';
|
||||
} ?>>
|
||||
<label class="form-check-label" for="user_winkey_websocket">Winkey Web Sockets</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,37 +12,50 @@
|
|||
<table class="profile">
|
||||
<tr>
|
||||
<td width="100px">Username</td>
|
||||
<td><?php if(isset($user_name)) { echo $user_name; } ?></td>
|
||||
<td><?php if (isset($user_name)) {
|
||||
echo $user_name;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Level</td>
|
||||
<td><?php $l = $this->config->item('auth_level'); echo $l[$user_type]; ?></td>
|
||||
<td><?php $l = $this->config->item('auth_level');
|
||||
echo $l[$user_type]; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>E-mail</td>
|
||||
<td><?php if(isset($user_email)) { echo $user_email; } ?></td>
|
||||
<td><?php if (isset($user_email)) {
|
||||
echo $user_email;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Callsign</td>
|
||||
<td><?php if(isset($user_callsign)) { echo $user_callsign; } ?></td>
|
||||
<td><?php if (isset($user_callsign)) {
|
||||
echo $user_callsign;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Gridsquare</td>
|
||||
<td><?php if(isset($user_locator)) { echo $user_locator; } ?></td>
|
||||
<td><?php if (isset($user_locator)) {
|
||||
echo $user_locator;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>First name</td>
|
||||
<td><?php if(isset($user_firstname)) { echo $user_firstname; } ?></td>
|
||||
<td><?php if (isset($user_firstname)) {
|
||||
echo $user_firstname;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Last name</td>
|
||||
<td><?php if(isset($user_lastname)) { echo $user_lastname; } ?></td>
|
||||
<td><?php if (isset($user_lastname)) {
|
||||
echo $user_lastname;
|
||||
} ?></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
|
|
|||
正在加载…
在新工单中引用