From: hickert Date: Tue, 4 May 2010 10:41:38 +0000 (+0000) Subject: Updated configViewer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b397effa3b4d7dccb6c9debbf46838f4c189eec1;p=gosa.git Updated configViewer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18037 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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() )); }