From b397effa3b4d7dccb6c9debbf46838f4c189eec1 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 4 May 2010 10:41:38 +0000 Subject: [PATCH] Updated configViewer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18037 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/addons/configViewer/class_configViewer.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc index 04977ec3b..489b4f7af 100644 --- a/gosa-core/plugins/addons/configViewer/class_configViewer.inc +++ b/gosa-core/plugins/addons/configViewer/class_configViewer.inc @@ -24,7 +24,7 @@ class configViewer extends plugin $this->propertyList->setDeleteable(false); $this->propertyList->setEditable(false); $this->propertyList->setWidth("100%"); - $this->propertyList->setHeight("600px"); + $this->propertyList->setHeight("500px"); $this->propertyList->setHeader(array(_("Group"),_("Class"),_("Name"),_("Value"), _("Status"))); $this->propertyList->setDefaultSortColumn(0); $this->propertyList->setAcl('rwcdm'); @@ -35,12 +35,14 @@ class configViewer extends plugin $all = $this->configRegistry->getAllProperties(); $data = $lData = array(); foreach($all as $id => $p){ + + $value = htmlentities($p->getValue(), ENT_COMPAT, 'UTF-8'); $data[$id] = $p; $lData[$id] = array('data' => array( $p->getGroup(), $this->configRegistry->classToName[$p->getClass()], $p->getName(), - $p->getValue(), + "", $p->getStatus() )); } -- 2.30.2