diff --git a/gosa-plugins/gofax/gofax/blocklists/class_divListBlocklists.inc b/gosa-plugins/gofax/gofax/blocklists/class_divListBlocklists.inc
index a8479864968db69c97379bf3b8f1143bc0833193..ab0db911af710014eb91f6fa5b2ec0f49483ad25 100644 (file)
$this->AddHeader(array("string" => _("Actions"), "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'" ));
/* Add Checkboxes / SubSearch checkbox */
- $this->AddCheckBox("ShowSendBocklists" , msgPool::selectToView(_("Send blocklist"), _("Show send blocklists"),true));
- $this->AddCheckBox("ShowReceiveBlocklists" , msgPool::selectToView(_("Receive blocklist"), _("Show receive blocklists"),true));
+ $this->AddCheckBox("ShowSendBocklists" , msgPool::selectToView(_("Send blocklist")), _("Show send blocklists"),true);
+ $this->AddCheckBox("ShowReceiveBlocklists" , msgPool::selectToView(_("Receive blocklist")), _("Show receive blocklists"),true);
$this->AddCheckBox(SEPERATOR);
- $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 list names"),"*" , true);
/* Multiple options */
$s.= "..|---|\n";
- $s.= "..|<img src='images/edittrash.png' alt='' border='0' class='center'>".
+ $s.= "..|<img src='images/lists/trash.png' alt='' border='0' class='center'>".
" "._("Remove")."|"."remove_multiple|\n";
/* Add multiple copy & cut icons */
if(is_object($this->parent->CopyPasteHandler) && preg_match("/(c.*w|w.*c)/",$acl_all)){
$s.= "..|---|\n";
- $s.= "..|<img src='images/editcopy.png' alt='' border='0' class='center'>".
+ $s.= "..|<img src='images/lists/copy.png' alt='' border='0' class='center'>".
" "._("Copy")."|"."multiple_copy_systems|\n";
- $s.= "..|<img src='images/editcut.png' alt='' border='0' class='center'>".
+ $s.= "..|<img src='images/lists/cut.png' alt='' border='0' class='center'>".
" "._("Cut")."|"."multiple_cut_systems|\n";
if($this->parent->CopyPasteHandler->entries_queued()){
- $img = "<img border='0' class='center' src='images/editpaste.png' alt=''>";
+ $img = "<img border='0' class='center' src='images/lists/paste.png' alt=''>";
$s.="..|".$img." "._("Paste")."|editPaste|\n";
}else{
- $img = "<img border='0' class='center' src='images/cant_editpaste.png' alt=''>";
+ $img = "<img border='0' class='center' src='images/lists/paste.png' alt=''>";
$s.="..|".$img." "._("Paste")."\n";
}
}
/* Add copy & cut icons */
if(preg_match("/(c.*w|w.*c)/",$acl) && $this->parent->CopyPasteHandler){
$action .= "<input class='center' type='image'
- src='images/editcut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
+ src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
$action.= "<input class='center' type='image'
- src='images/editcopy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
+ src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
}
/* Delete entry ; requires remove access */
if(preg_match("/d/",$acl)){
- $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."' name='goFaxBlocklist_del_%KEY%' title='"._("Delete user")."'>";
+ $action.= "<input class='center' type='image' src='images/lists/trash.png' alt='"._("delete")."' name='goFaxBlocklist_del_%KEY%' title='"._("Delete user")."'>";
}
// Generate Array to Add
}
$num_objs = count($list);
- $num_obj_str = sprintf(_("Number of listed %s"),_("blocklists"));
- $num_dep_str = sprintf(_("Number of listed %s"),_("departments"));
+ $num_obj_str = sprintf(_("Number of listed '%s'"),_("blocklists"));
+ $num_dep_str = sprintf(_("Number of listed '%s'"),_("departments"));
$str = "<img class='center' src='images/list_blocklist.png'
title='".$num_obj_str."' alt='".$num_obj_str."'> ".$num_objs." ";