diff --git a/application/views/awards/wwff/index.php b/application/views/awards/wwff/index.php index df98c4e3..eb33579f 100644 --- a/application/views/awards/wwff/index.php +++ b/application/views/awards/wwff/index.php @@ -4,39 +4,50 @@ session->userdata('user_date_format')) { + // If Logged in and session exists + $custom_date_format = $this->session->userdata('user_date_format'); + } else { + // Get Default date format from /config/cloudlog.php + $custom_date_format = $this->config->item('qso_date_format'); + } ?> -
Reference | -Date/Time | -Callsign | -Band | -RST Sent | -RST Received | +lang->line('gen_hamradio_wwff_reference') ?> | +lang->line('general_word_date') ?> | +lang->line('general_word_time') ?> | +lang->line('gen_hamradio_callsign') ?> | +lang->line('gen_hamradio_band') ?> | +lang->line('gen_hamradio_rsts') ?> | +lang->line('gen_hamradio_rstr') ?> |
---|---|---|---|---|---|---|---|---|---|---|---|---|
- COL_WWFF_REF; ?> - | -COL_TIME_ON); echo date('d/m/y', $timestamp); ?> - COL_TIME_ON); echo date('H:i', $timestamp); ?> | -COL_CALL; ?> | -COL_BAND; ?> | -COL_RST_SENT; ?> | -COL_RST_RCVD; ?> | +COL_WWFF_REF; ?> | +COL_TIME_ON); echo date($custom_date_format, $timestamp); ?> | +COL_TIME_ON); echo date('H:i', $timestamp); ?> | +COL_CALL; ?> | +COL_SAT_NAME != null) { echo $row->COL_SAT_NAME; } else { echo $row->COL_BAND; } ?> | +COL_RST_SENT; ?> | +COL_RST_RCVD; ?> |