summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dfda654)
raw | patch | inline | side by side (parent: dfda654)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 May 2011 09:21:26 +0000 (09:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 May 2011 09:21:26 +0000 (09:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20881 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateEngine.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateEngine.inc
index 978fc5f611bc7a467f4b0c904ccd91d3c5f35dbb..b88c03a5ee28e728e43e614956a966372f5cf821 100644 (file)
$providedValues);
// Get Permissions
- $writeable = preg_match("/w/", $acl);
- $readable = preg_match("/w/", $acl);
+ $writeable = preg_match("/w/", $acl);
+ $readable = preg_match("/r/", $acl);
// Check if we've to disable this item.
if(isset($item['disable']) && $item['disable'] ||
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_textEditor.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_textEditor.inc
index b052507e93ea31a6f634d7d2e1a953fb9edb8daa..532677f35822307fff58d76ae95b2a8de9993050 100644 (file)
--- a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_textEditor.inc
+++ b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_textEditor.inc
$smarty->assign("postName", set_post($this->postName));
$smarty->assign("write_protect", set_post($this->write_protect));
$smarty->assign("value", set_post($this->value));
- $smarty->assign("enabled", set_post($this->enabled));
- $smarty->assign("readable", set_post($this->readable));
- $smarty->assign("writeable", set_post($this->writeable));
+ $smarty->assign("enabled", $this->enabled);
+ $smarty->assign("readable", $this->readable);
+ $smarty->assign("writeable", $this->writeable);
return($smarty->fetch(get_template_path("TemplateWidget_textEditor.tpl", TRUE, dirname(__FILE__))));
}