diff --git a/www/client/index.php b/www/client/index.php index aecc9a3624..030cd94adc 100644 --- a/www/client/index.php +++ b/www/client/index.php @@ -358,7 +358,7 @@ if ($cssfile) get_sbas_id()); + $status = $databox->get_statusbits(); $sbFilters = ''; $dateFilters = $fieldsFilters = ''; @@ -366,7 +366,8 @@ if ($cssfile) { $imgoff = ''; $imgon = ''; - + if(!$datas['searchable']) + continue; if ($datas['img_off']) $imgoff = ''; @@ -395,49 +396,7 @@ if ($cssfile) $sxe = $databox->get_sxml_structure(); if ($sxe) { - $sbFilters = ''; $dateFilters = $fieldsFilters = ''; - if ($sxe->statbits->bit) - { - foreach ($sxe->statbits->bit as $sb) - { - if ($sb['searchclient'] && $sb['searchclient'] == '1') - { - - - $sb_pathOff = '/status/' . $databox->get_host() . "-" . $databox->get_port() . "-" . $databox->get_dbname() . '-' . 'stat_' . $sb['n'] . '_0.gif'; - $sb_pathOn = '/status/' . $databox->get_host() . "-" . $databox->get_port() . "-" . $databox->get_dbname() . '-' . 'stat_' . $sb['n'] . '_1.gif'; - - $imgoff = ''; - $imgon = ''; - - if (is_file($registry->get('GV_RootPath') . 'config/' . $sb_pathOff)) - $imgoff = ''; - - - if (is_file($registry->get('GV_RootPath') . 'config/' . $sb_pathOn)) - $imgon = ''; - - $labeloff = $sb['labelOff']; - $labelon = $sb['labelOn']; - - $sbFilters .= '
' . - '' . - '' . - '' . - '' . - '' . - '
' . - '' . - '' . - '' . - '' . - '' . - '
' . - '
'; - } - } - } if ($sxe->description) { foreach ($sxe->description->children() as $f => $field)