diff --git a/application/config/autoload.php b/application/config/autoload.php index 7fe52ac0..64ea515d 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.php @@ -80,7 +80,7 @@ $autoload['helper'] = array('url'); | */ -$autoload['config'] = array(); +$autoload['config'] = array('cloudlog'); /* diff --git a/application/config/cloudlog.php b/application/config/cloudlog.php index e41f7e4b..aa128665 100644 --- a/application/config/cloudlog.php +++ b/application/config/cloudlog.php @@ -5,4 +5,15 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * * Config file for storing fixed variables * -*/ \ No newline at end of file +*/ + +/* +|-------------------------------------------------------------------------- +| Show time on dashboard and QSO-details if not logged in +|-------------------------------------------------------------------------- +| +| If you want to show QSO-times (additional to the date) on the dashboard +| and on QSO-detail-view, set this to TRUE, otherwise set it to FALSE +| +*/ +$config['show_time'] = FALSE; \ No newline at end of file diff --git a/application/views/dashboard/index.php b/application/views/dashboard/index.php index 40d9ff46..a3824165 100644 --- a/application/views/dashboard/index.php +++ b/application/views/dashboard/index.php @@ -38,7 +38,11 @@ foreach ($last_five_qsos->result() as $row) { ?> '; ?>
| Date/Time | + config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>COL_TIME_ON); echo date('d/m/y', $timestamp); $timestamp = strtotime($row->COL_TIME_ON); echo " at ".date('H:i', $timestamp); ?> | + +COL_TIME_ON); echo date('d/m/y', $timestamp); $timestamp = strtotime($row->COL_TIME_ON); echo " at **:**"; ?> | +