summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58e4a62)
raw | patch | inline | side by side (parent: 58e4a62)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 May 2010 10:41:38 +0000 (10:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 May 2010 10:41:38 +0000 (10:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18037 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/configViewer/class_configViewer.inc | patch | blob | history |
diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc
index 04977ec3b3f9cd5182314e581245bdbe782ac103..489b4f7af5087ec6b8b769cf579e867c4b024562 100644 (file)
$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');
$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(),
+ "<input type='text' value=\"{$value}\" name='{$p->getClass()}:{$p->getName()}'>",
$p->getStatus()
));
}