summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92a5476)
raw | patch | inline | side by side (parent: 92a5476)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Nov 2007 06:55:23 +0000 (06:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Nov 2007 06:55:23 +0000 (06:55 +0000) |
Added remove too, ogroup layer menu
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7817 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7817 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/ogroups/class_divListOGroup.inc | patch | blob | history | |
plugins/admin/ogroups/tabs_ogroups.inc | patch | blob | history |
diff --git a/plugins/admin/ogroups/class_divListOGroup.inc b/plugins/admin/ogroups/class_divListOGroup.inc
index 720f7530feed95fe3838e53339f66b65da7b0e4c..c0e96a7c99ae1c5d3117fc3799a0a721424c57a1 100755 (executable)
/* Multiple options */
$s.= "..|---|\n";
- $s.= "..|<img src='images/edit.png' alt='' border='0' class='center'>".
- " "._("Edit")."|"."multiple_edit|\n";
+# $s.= "..|<img src='images/edit.png' alt='' border='0' class='center'>".
+# " "._("Edit")."|"."multiple_edit|\n";
+
+ $s.= "..|<img src='images/edittrash.png' alt='' border='0' class='center'>".
+ " "._("Remove")."|"."remove_multiple_ogroups/|\n";
/* Add multiple copy & cut icons */
if(is_object($this->parent->CopyPasteHandler) && preg_match("/(c.*w|w.*c)/",$acl_all)){
index d820aa5b8fda87ae75e8830eeb19cac56f70573b..3485bb79f6f9462bd603abc451b67f9658e5ffeb 100644 (file)
$usePhoneTab = false;
foreach($this->by_object['ogroup']->memberList as $dn => $val){
- $obj = $this->by_object['ogroup']->objcache[$dn];
- if(isset($obj['objectClass'])){
- if(in_array("goFonAccount",$obj['objectClass'])){
- $usePhoneTab = true;
+ if(isset($this->by_object['ogroup']->objcache[$dn])){
+ $obj = $this->by_object['ogroup']->objcache[$dn];
+ if(isset($obj['objectClass'])){
+ if(in_array("goFonAccount",$obj['objectClass'])){
+ $usePhoneTab = true;
+ }
}
}
}
if(!isset($this->by_object['phonequeue'])){
foreach($this->by_object['ogroup']->memberList as $dn => $val){
- $obj = $this->by_object['ogroup']->objcache[$dn];
-
- if(isset($obj['objectClass'])){
- if(in_array("goFonAccount",$obj['objectClass'])){
- $this->by_name['phonequeue']= _("Phone queue");
- $this->by_object['phonequeue']= new phonequeue($this->config, $this->dn);
- $this->by_object['phonequeue']->parent= &$this;
- break;
+ if(isset($this->by_object['ogroup']->objcache[$dn])){
+ $obj = $this->by_object['ogroup']->objcache[$dn];
+
+ if(isset($obj['objectClass'])){
+ if(in_array("goFonAccount",$obj['objectClass'])){
+ $this->by_name['phonequeue']= _("Phone queue");
+ $this->by_object['phonequeue']= new phonequeue($this->config, $this->dn);
+ $this->by_object['phonequeue']->parent= &$this;
+ break;
+ }
}
}
}