summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 216867b)
raw | patch | inline | side by side (parent: 216867b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 14:08:03 +0000 (14:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 14:08:03 +0000 (14:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18980 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/acl/class_aclRole.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/acl/class_aclRole.inc b/gosa-core/plugins/admin/acl/class_aclRole.inc
index bac891352dea2bb554e75b248f953d377723ed6e..cd724226f82ea6ac21b13e68d13616cb3c6894f5 100644 (file)
/* Save common values */
foreach (array("aclType", "aclObject", "target") as $key){
if (isset($_POST[$key]) && $this->acl_is_writeable("gosaAclTemplate")){
- $this->$key= validate($_POST[$key]);
+ $this->$key= get_post($key);
}
}
/* Assign cn and decription if this is a role */
foreach(array("cn","description") as $name){
- $smarty->assign($name,$this->$name);
+ $smarty->assign($name,set_post($this->$name));
}
return ($smarty->fetch (get_template_path('acl_role.tpl',dirname(__FILE__))));
}
function saveCopyDialog()
{
if(isset($_POST['cn'])){
- $this->cn = $_POST['cn'];
+ $this->cn = get_post('cn');
}
}
function getCopyDialog()
{
$smarty = get_smarty();
- $smarty->assign("cn",$this->cn);
+ $smarty->assign("cn",set_post($this->cn));
$str = $smarty->fetch(get_template_path("paste_role.tpl",TRUE,dirname(__FILE__)));
$ret = array();
$ret['string'] = $str;