X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fgroups%2Fclass_divListGroup.inc;h=4459ee926dbc890682aed4023c5c424b68c92fd6;hb=cf072aa1522578f398a10c523ae5bb628f174d9b;hp=802f19f1060a5f279787ae866080045016b72413;hpb=f2c9444994de1dd404c6cd3e5d2d18b4423f3397;p=gosa.git
diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc
index 802f19f10..4459ee926 100644
--- a/gosa-core/plugins/admin/groups/class_divListGroup.inc
+++ b/gosa-core/plugins/admin/groups/class_divListGroup.inc
@@ -58,7 +58,6 @@ class divListGroup extends MultiSelectWindow
/* Result page will look like a headpage */
$this->SetHeadpageMode();
- $this->SetInformation(_("This menu allows you to add, edit and remove selected groups. You may want to use the range selector on top of the group listbox, when working with a large number of groups."));
/* Disable buttonsm */
$this->EnableCloseButton(false);
@@ -77,20 +76,25 @@ class divListGroup extends MultiSelectWindow
/* set Page header */
$this->AddHeader(array("string"=> $chk, "attach"=>"style='width:20px;'"));
$this->AddHeader(array("string"=>" ","attach"=>"style='width:20px;'"));
- $this->AddHeader(array("string"=>_("Groupname / Department")));
+ $this->AddHeader(array("string"=>_("Name")." / "._("Department")));
$this->AddHeader(array("string"=>_("Properties"),"attach"=>"style='width:136px;'"));
$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);
@@ -169,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 */
@@ -206,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";
}
}
@@ -244,7 +248,7 @@ class divListGroup extends MultiSelectWindow
// image Buttons
$editlink = "%s";
- $userimg = "";
+ $userimg = "";
/* Dynamic action col, depending on snapshot icons */
$action_col_size = 80;
@@ -253,7 +257,7 @@ class divListGroup extends MultiSelectWindow
}
/* Assign extension images */
- $posiximg = "";
$mailimg = "";
@@ -284,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)){
@@ -300,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")."'>";
}
@@ -360,9 +364,9 @@ class divListGroup extends MultiSelectWindow
$num_grp_str = _("Number of listed groups");
$num_dep_str = _("Number of listed departments");
- $str = " ".$num_grps." ";
- $str.= " ".$num_deps." ";
$this->set_List_Bottom_Info($str);