From: hickert Date: Wed, 22 Aug 2007 09:23:45 +0000 (+0000) Subject: Updated acls, fixed typo. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=36738ad20112d5c06489ef5bf3843847d0826b65;p=gosa.git Updated acls, fixed typo. Updated post handling for gotomasses git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7105 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/gotomasses/class_goto_task.inc b/plugins/addons/gotomasses/class_goto_task.inc index a92b93ead..bc2a18263 100644 --- a/plugins/addons/gotomasses/class_goto_task.inc +++ b/plugins/addons/gotomasses/class_goto_task.inc @@ -247,6 +247,14 @@ class goto_task extends plugin { if(isset($_POST['goto_task_posted'])){ plugin::save_object(); + foreach($this->attributes as $attr){ + if(in_array($attr,array("Initial_Target","Target"))){ + continue; + } + if(isset($_POST[$attr])){ + $this->$attr = get_post($attr); + } + } } } diff --git a/plugins/admin/groups/acl_definition.inc b/plugins/admin/groups/acl_definition.inc index c992a9b4e..c0fe178f8 100644 --- a/plugins/admin/groups/acl_definition.inc +++ b/plugins/admin/groups/acl_definition.inc @@ -454,6 +454,6 @@ $ACLD['scalix'] = array( "scalixLimitInboundMail" => _("Limit inbound"), "scalixLimitNotifyUser" => _("Notify user"), "scalixEmailAddress" => _("Scalix email addresses")); -$ACLD['gotomasses'] array("create" => _("Create/edit new task"),"remove" => _("Remove tasks")); +$ACLD['gotomasses']=array("create" => _("Create/edit new task"),"remove" => _("Remove tasks")); $ACLD['mimetype'] = array("create","remove","cn","gotoMimeApplication","gotoMimeLeftClickAction","gotoMimeIcon","description","gotoMimeFilePattern","gotoMimeEmbeddedApplication","gotoMimeGroup","gotoMimeFilePattern","gotoMimeApplication","gotoMimeEmbeddedApplication"); ?>