summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 434844d)
raw | patch | inline | side by side (parent: 434844d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Nov 2007 12:27:49 +0000 (12:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Nov 2007 12:27:49 +0000 (12:27 +0000) |
- Some minor changes
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7852 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7852 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupMail.inc | patch | blob | history |
index fb5e15ba0a56ae1abe68706144af56b370f36550..3dbdf1b6265d52b427af43d320e252e48d39b1ea 100644 (file)
}
/* Add ACL? */
+ if (isset($_POST["add_acl"])){
+ $this->imapacl[""]= "l";
+ }
foreach ($this->indexed_user as $nr => $user){
- if (isset($_POST["add_$nr"])){
- $this->imapacl[""]= "l";
- }
if (isset($_POST["del_$nr"])){
unset ($this->imapacl[$user]);
}
}
$tmp.= "</select> ";
if ($nr == $count - 1){
- $tmp.= "<input type=submit value=\""._("Add")."\" ".
- "name=\"add_$nr\" $perm>";
}
if ($count > 3){
$tmp.= "<input type=submit value=\""._("Remove")."\" ".
$this->indexed_user[$nr]= $user;
$this->indexed_acl[$nr++]= $acl;
}
+ $tmp.= "<tr><td></td><td></td><td><input type=submit value='"._("Add")."' name='add_acl' $perm>";
$smarty->assign("plusattributes", $tmp);
/* Show main page */
*/
foreach ($this->imapacl as $user => $acl){
+ if (empty($user) || $user == ""){
+ unset($this->imapacl[$user]);
+ }
+
/* Skip placeholder */
- if ($user == "" || preg_match("/%members%/",$user)){
+ if (empty($user) || $user == "" || preg_match("/%members%/",$user)){
continue;
}