Remove status bit name, use only labels

This commit is contained in:
Romain Neutron
2013-06-13 10:17:09 +02:00
parent a7c4739797
commit 1a13d02c2a
8 changed files with 92 additions and 45 deletions

View File

@@ -430,17 +430,11 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$status .= '<img style="margin:1px;' . $style1 . '" ' .
'class="STAT_' . $this->base_id . '_'
. $this->record_id . '_' . $n . '_1" ' .
'src="' . $source1 . '" title="' .
(isset($statbit["labelon"]) ?
$statbit["labelon"] :
$statbit["lib"]) . '"/>';
'src="' . $source1 . '" title="' . $statbit["labelon"] . '"/>';
$status .= '<img style="margin:1px;' . $style0 . '" ' .
'class="STAT_' . $this->base_id . '_'
. $this->record_id . '_' . $n . '_0" ' .
'src="' . $source0 . '" title="' .
(isset($statbit["labeloff"]) ?
$statbit["labeloff"] :
("non-" . $statbit["lib"])) . '"/>';
'src="' . $source0 . '" title="' . $statbit["labeloff"] . '"/>';
}
}