From: hickert Date: Fri, 31 Aug 2007 07:03:13 +0000 (+0000) Subject: Updated department list, allow editing entries with / in base64_encoded POST id X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e78da8b11a54549a389360f75785f38c420b7d26;p=gosa.git Updated department list, allow editing entries with / in base64_encoded POST id git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7173 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 7c580063c..05aa89ebc 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -492,7 +492,7 @@ class departmentManagement extends plugin { $ids = array(); foreach($_POST as $name => $value){ - if(preg_match("/^item_selected_[a-z0-9\=]*$/i",$name)){ + if(preg_match("/^item_selected_[a-z0-9\\/\=]*$/i",$name)){ $id = preg_replace("/^item_selected_/","",$name); $ids[$id] = $id; } diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc index 6d6595ace..6e1c66765 100755 --- a/plugins/admin/departments/class_divListDepartment.inc +++ b/plugins/admin/departments/class_divListDepartment.inc @@ -40,7 +40,7 @@ class divListDepartment extends MultiSelectWindow /* Toggle all selected / deselected */ $chk = ""; + onClick='toggle_all_(\"^item_selected_[a-zA-Z0-9\\/\=]*$\",\"select_all\");' >"; /* set Page header */ $this->AddHeader(array("string"=> $chk, "attach"=>"style='width:20px;'"));