X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fgroups%2Fclass_divListGroup.inc;h=4459ee926dbc890682aed4023c5c424b68c92fd6;hb=cf072aa1522578f398a10c523ae5bb628f174d9b;hp=577f0603301183c7a6b3bc094c836cbaafbb1e33;hpb=98a77c367b9a646d723e8253ed28142bc9dabb0c;p=gosa.git diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc index 577f06033..4459ee926 100644 --- a/gosa-core/plugins/admin/groups/class_divListGroup.inc +++ b/gosa-core/plugins/admin/groups/class_divListGroup.inc @@ -81,15 +81,20 @@ class divListGroup extends MultiSelectWindow $this->AddHeader(array("string"=>_("Actions"),"attach"=>"style='width:".$action_col_size."px;border-right:0px;'")); /* Text ,Value ,Name ,Is selected */ - $this->AddCheckBox("ShowPrimaryGroups", _("Select to see groups that are primary groups of users"), _("Show primary groups"), true); - $this->AddCheckBox("ShowSambaGroups", _("Select to see groups that have samba groups mappings"), _("Show samba groups"), true); - $this->AddCheckBox("ShowApplicationGroups", _("Select to see groups that have applications configured"), _("Show application groups"),true); - $this->AddCheckBox("ShowMailGroups", _("Select to see groups that have mail settings"), _("Show mail groups"), true); - $this->AddCheckBox("ShowFunctionalGroups", _("Select to see normal groups that have only functional aspects"), _("Show functional groups"), true); + $this->AddCheckBox("ShowPrimaryGroups", _("Select to see groups that are primary groups of users"), + sprintf(_("Show %s"),_("primary groups")), true); + $this->AddCheckBox("ShowSambaGroups", msgPool::selectToView(_("samba groups mappings"),"enabled"), + sprintf(_("Show %s"),_("samba groups")), true); + $this->AddCheckBox("ShowApplicationGroups", msgPool::selectToView(_("application settings"),"enabled"), + sprintf(_("Show %s"),_("application groups")), true); + $this->AddCheckBox("ShowMailGroups", msgPool::selectToView(_("mail settings"),"enabled"), + sprintf(_("Show %s"),_("mail groups")), true); + $this->AddCheckBox("ShowFunctionalGroups", _("Select to see normal groups that have only functional aspects"), + sprintf(_("Show %s"),_("functional groups")), true); $this->AddCheckBox(SEPERATOR); /* Add SubSearch checkbox */ - $this->AddCheckBox("SubSearch", _("Select to search within subtrees"), _("Search in subtrees"), false); + $this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"),msgPool::selectToView("","subsearch_small"), false); /* Name ,Text ,Default , Connect with alphabet */ $this->AddRegex ("Regex", _("Regular expression for matching group names"), "*" , true); @@ -168,27 +173,27 @@ class divListGroup extends MultiSelectWindow /* Add department selection */ $listhead .= _("Base")." ". - "  "; /* Create Layers menu */ $s = ".|"._("Actions")."|\n"; - $s .= "..|". + $s .= "..|". " "._("Create")."|\n"; /* Append create options */ if(preg_match("/c/",$acl_all)) { - $s.= "...|". + $s.= "...|". " "._("Group")."|group_new|\n"; } /* Multiple options */ $s.= "..|---|\n"; - $s.= "..|". + $s.= "..|". " "._("Edit")."|"."multiple_edit|\n"; - $s.= "..|". + $s.= "..|". " "._("Remove")."|"."remove_multiple|\n"; /* Add event tag */ @@ -205,16 +210,16 @@ class divListGroup extends MultiSelectWindow /* Add multiple copy & cut icons */ if(is_object($this->parent->CopyPasteHandler) && preg_match("/(c.*w|w.*c)/",$acl_all)){ $s.= "..|---|\n"; - $s.= "..|". + $s.= "..|". " "._("Copy")."|"."multiple_copy_systems|\n"; - $s.= "..|". + $s.= "..|". " "._("Cut")."|"."multiple_cut_systems|\n"; if($this->parent->CopyPasteHandler->entries_queued()){ - $img = ""; + $img = ""; $s.="..|".$img." "._("Paste")."|editPaste|\n"; }else{ - $img = ""; + $img = ""; $s.="..|".$img." "._("Paste")."\n"; } } @@ -243,7 +248,7 @@ class divListGroup extends MultiSelectWindow // image Buttons $editlink = "%s"; - $userimg = "User"; + $userimg = "User"; /* Dynamic action col, depending on snapshot icons */ $action_col_size = 80; @@ -252,7 +257,7 @@ class divListGroup extends MultiSelectWindow } /* Assign extension images */ - $posiximg = ""; $mailimg = ""; @@ -283,14 +288,14 @@ class divListGroup extends MultiSelectWindow $actions= ""; if(($this->parent->CopyPasteHandler) && preg_match("/(c.*w|w.*c)/",$acl_all)){ $actions.= " "; + src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> "; $actions.= " "; + src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> "; } /* Add edit icon */ $actions.= ""; + src='images/lists/edit.png' alt='"._("edit")."' name='group_edit_%KEY%' title='"._("Edit this entry")."'>"; /* Add snapshot functionality */ if(preg_match("/(c.*w|w.*c)/", $acl_all)){ @@ -299,7 +304,7 @@ class divListGroup extends MultiSelectWindow if(preg_match("/d/",$acl)){ $actions.= ""; + src='images/lists/trash.png' alt='"._("delete")."' name='group_del_%KEY%' title='"._("Delete this entry")."'>"; } @@ -359,9 +364,9 @@ class divListGroup extends MultiSelectWindow $num_grp_str = _("Number of listed groups"); $num_dep_str = _("Number of listed departments"); - $str = "".$num_grp_str." ".$num_grps."    "; - $str.= "".$num_dep_str." ".$num_deps."    "; $this->set_List_Bottom_Info($str);