kopia lustrzana https://github.com/magicbug/Cloudlog
adapted visible conditions for lotw arrows to be consistent to eqsl
arrowspull/1493/head
rodzic
e2b6a71d7c
commit
98ca1ffc92
|
@ -2415,16 +2415,16 @@ class Logbook_model extends CI_Model {
|
|||
if (isset($record['lotw_qsl_rcvd'])){
|
||||
$input_lotw_qsl_rcvd = mb_strimwidth($record['lotw_qsl_rcvd'], 0, 1);
|
||||
} else {
|
||||
$input_lotw_qsl_rcvd = "";
|
||||
$input_lotw_qsl_rcvd = NULL;
|
||||
}
|
||||
|
||||
if (isset($record['lotw_qsl_sent'])){
|
||||
$input_lotw_qsl_sent = mb_strimwidth($record['lotw_qsl_sent'], 0, 1);
|
||||
} else if ($markLotw != NULL) {
|
||||
$input_lotw_qsl_sent = "Y";
|
||||
} else {
|
||||
$input_lotw_qsl_sent = "";
|
||||
}
|
||||
$input_lotw_qsl_sent = mb_strimwidth($record['lotw_qsl_sent'], 0, 1);
|
||||
} else if ($markLotw != NULL) {
|
||||
$input_lotw_qsl_sent = "Y";
|
||||
} else {
|
||||
$input_lotw_qsl_sent = NULL;
|
||||
}
|
||||
|
||||
if (isset($record['lotw_qslrdate'])){
|
||||
if(validateADIFDate($record['lotw_qslrdate']) == true){
|
||||
|
|
|
@ -57,10 +57,8 @@
|
|||
|
||||
<?php if($this->session->userdata('user_lotw_name') != "") { ?>
|
||||
<td class="lotw">
|
||||
<?php if ($row->COL_LOTW_QSL_SENT != ''){ ?>
|
||||
<span class="lotw-<?php echo ($row->COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span class="lotw-<?php echo ($row->COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼</span>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -107,10 +107,8 @@
|
|||
|
||||
<?php if($this->session->userdata('user_lotw_name') != "") { ?>
|
||||
<td class="lotw">
|
||||
<?php if ($row->COL_LOTW_QSL_SENT != ''){ ?>
|
||||
<span class="lotw-<?php echo ($row->COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span class="lotw-<?php echo ($row->COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼</span>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -188,10 +188,8 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
|
|||
|
||||
<?php if($this->session->userdata('user_lotw_name') != "") { ?>
|
||||
<td class="lotw">
|
||||
<?php if ($row->COL_LOTW_QSL_SENT != ''){ ?>
|
||||
<span <?php if ($row->COL_LOTW_QSL_SENT == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLSDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_sent')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-<?php echo ($row->COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span <?php if ($row->COL_LOTW_QSL_RCVD == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLRDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_received')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-<?php echo ($row->COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼</span>
|
||||
<?php } ?>
|
||||
<span <?php if ($row->COL_LOTW_QSL_SENT == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLSDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_sent')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-<?php echo ($row->COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲</span>
|
||||
<span <?php if ($row->COL_LOTW_QSL_RCVD == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLRDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_received')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-<?php echo ($row->COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼</span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue