Reduce code and captions to UPLOAD only (1st iteration)

This commit is contained in:
int2001
2025-08-21 14:22:51 +00:00
parent 60878b0f44
commit cae240920c
3 changed files with 11 additions and 4 deletions

View File

@@ -4,10 +4,10 @@ class Dcl_model extends CI_Model {
/*
|--------------------------------------------------------------------------
| Function: lotw_certs
| Function: dcl_keys
|--------------------------------------------------------------------------
|
| Returns all lotw_certs for a selected user via the $user_id parameter
| Returns all dcl_keys for a selected user via the $user_id parameter
|
*/
function dcl_keys($user_id) {
@@ -15,6 +15,14 @@ class Dcl_model extends CI_Model {
return $this->user_options_model->get_options('dcl', array('option_name'=>'dcl_key'), $user_id)->result();
}
/*
|--------------------------------------------------------------------------
| Function: find_key
|--------------------------------------------------------------------------
|
| Returns all dcl_keys for a selected user via the $user_id parameter which match also to the $callsign
|
*/
function find_key($callsign, $user_id) {
$this->load->model('user_options_model');

View File

@@ -1,6 +1,5 @@
<div class="container dcl">
<br>
<a class="btn btn-outline-primary btn-sm float-end" href="<?php echo site_url('/dcl/import'); ?>" role="button"><i class="fas fa-cloud-download-alt"></i> <?= __("DCL Import"); ?></a>
<h2><?= __("DCL"); ?></h2>
<!-- Card Starts -->

View File

@@ -497,7 +497,7 @@
<li><a class="dropdown-item" href="<?php echo site_url('qrz/export'); ?>" title="Upload to QRZ.com logbook"><i class="fas fa-sync"></i> <?= __("QRZ Logbook"); ?></a></li>
<li><a class="dropdown-item" href="<?php echo site_url('webadif/export'); ?>" title="Upload to webADIF"><i class="fas fa-sync"></i> <?= __("QO-100 Dx Club Upload"); ?></a></li>
<li><a class="dropdown-item" href="<?php echo site_url('clublog/export'); ?>" title="Upload to Clublog"><i class="fas fa-sync"></i> <?= __("Clublog Import / Export"); ?></a></li>
<li><a class="dropdown-item" href="<?php echo site_url('dcl'); ?>" title="Upload to DCL"><i class="fas fa-sync"></i> <?= __("DCL Import / Export"); ?></a></li>
<li><a class="dropdown-item" href="<?php echo site_url('dcl'); ?>" title="Upload to DCL"><i class="fas fa-sync"></i> <?= __("DCL Export"); ?></a></li>
</ul>
</li>
<div class="dropdown-divider"></div>