X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_acl.inc;h=0c3448e09f2a086c79025df542b1aa1eceec9de3;hb=9c309d6fc3d3ff65caf535b6f53ea3177433d29b;hp=73d4784c7d3535d8fb6357d0cc3cff87eac3e4a1;hpb=db8d0613cf421a60ed04bed88e206bd5c6d4d47c;p=gosa.git
diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc
index 73d4784c7..0c3448e09 100644
--- a/gosa-core/include/class_acl.inc
+++ b/gosa-core/include/class_acl.inc
@@ -520,7 +520,7 @@ class acl extends plugin
/* Create templating instance */
$smarty= get_smarty();
- $smarty->assign("usePrototype", "true");
+
$smarty->assign("acl_readable",$this->acl_is_readable(""));
if(!$this->acl_is_readable("")){
return ($smarty->fetch (get_template_path('acl.tpl')));
@@ -571,7 +571,7 @@ class acl extends plugin
$summary= ''._("No ACL settings for this category!").'';
} else {
$summary= trim($summary,", ");
- $summary= " ".sprintf(_("Contains ACLs for these objects: %s"), $summary);
+ $summary= " ".sprintf(_("ACLs for: %s"), $summary);
}
$actions ="";
@@ -628,13 +628,12 @@ class acl extends plugin
/* Role selector if scope is base */
if ($this->aclType == 'role'){
- $smarty->assign('roleSelector', "Role selector");#, $this->buildRoleSelector($this->myAclObjects));
$smarty->assign('roleSelector', $this->buildRoleSelector($this->roles));
}
}
if ($this->dialogState == 'edit'){
- $smarty->assign('headline', sprintf(_("Edit ACL for '%s' - scope is '%s'"), $this->aclObjects[$this->aclObject], $this->aclTypes[$this->aclType]));
+ $smarty->assign('headline', sprintf(_("Edit ACL for '%s' with scope '%s'"), $this->aclObjects[$this->aclObject], $this->aclTypes[$this->aclType]));
/* Collect objects for selected category */
foreach ($this->ocMapping[$this->aclObject] as $idx => $class){
@@ -1087,9 +1086,9 @@ class acl extends plugin
if($entry['type'] == "role"){
if(isset($this->roles[$entry['acl']])){
- $summary.= sprintf(_("Role: %s"), $this->roles[$entry['acl']]['cn']);
+ $summary.= sprintf(_("ACL role: %s"), $this->roles[$entry['acl']]['cn']);
}else{
- $summary.= sprintf(_("Role: %s"), ""._("unknown role")."");
+ $summary.= sprintf(_("ACL role: %s"), ""._("unknown ACL role")."");
}
}else{
foreach ($entry['acl'] as $name => $object){
@@ -1294,7 +1293,6 @@ class acl extends plugin
"objectClass" => array("gosaAcl","gosaRole"))),
"plProvidedAcls"=> array(
"gosaAclEntry" => _("ACL Entries")
-// "description" => _("Role description")
)
));