diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc
index f5c4fd45fb37f2d3157a30dd11a15185c4092af5..5505fe28f2595834687c7a981dc93b0f461c6afe 100644 (file)
$smarty = get_smarty();
$releases = $this->parent->getBranches();
+
$smarty->assign("allow_create", $c);
$smarty->assign("allow_remove", $r);
$smarty->assign("fai_release" , $releases[$this->parent->fai_release]);
$acl_all = $ui->has_complete_category_acls($this->parent->fai_base,$this->module);
/* Add default header */
- $listhead = MultiSelectWindow::get_default_header();
+ $listhead = MultiSelectWindow::get_default_header(false);
/* Add additional seperator */
if($add_sep){
- $listhead .=" <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
+ $listhead .=" <img class='center' src='images/lists/seperator.png' align='middle' alt='' height='16' width='1'> ";
}
$s = ".|"._("Actions")."|\n";
- $s .= "..|<img src='images/list_new.png' alt='' border='0' class='center'>".
+ $s .= "..|<img src='images/lists/new.png' alt='' border='0' class='center'>".
" "._("Create")."|\n";
$acl = $ui->get_permissions($this->parent->fai_base,"fai/faiProfile");
$s.= "..|---|\n";
$s.= "..|<img src='images/lists/copy.png' alt='' border='0' class='center'>".
" "._("Copy")."|"."multiple_copy_systems|\n";
- $s.= "..|<img src='images/lists/cut.png' alt='' border='0' class='center'>".
- " "._("Cut")."|"."multiple_cut_systems|\n";
}
/* Add copy & paste icons, currently disabled, this ability is not implemeneted yet */
$acl_all = $ui->has_complete_category_acls($this->parent->fai_base,$this->module);
if(preg_match("/(c.*w|w.*c)/",$acl_all) && $this->parent->CopyPasteHandler){
$action .= "<input class='center' type='image'
- src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
- $action.= "<input class='center' type='image'
src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
}
if(preg_match("/^freeze/", $value['FAIstate'])){
$editlink ="<a href='?plug=".$_GET['plug']."&edit_freeze_entry=%KEY%' title='%TITLE%'>%NAME%</a>";
- $action.= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
+ $action.= "<input class='center' type='image' src='images/lists/edit.png' alt='"._("edit")."'
name='entry_freeze_edit_%KEY%' title='"._("Edit class")."'>";
$action.= "<img src='images/lists/locked.png' alt='F' class='center'>";
}else{
$editlink ="<a href='?plug=".$_GET['plug']."&edit_entry=%KEY%' title='%TITLE%'>%NAME%</a>";
- $action.= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
+ $action.= "<input class='center' type='image' src='images/lists/edit.png' alt='"._("edit")."'
name='entry_edit_%KEY%' title='"._("Edit class")."'>";
if(preg_match("/d/",$value['acl'])){
$action.= "<input class='center' type='image' src='images/lists/trash.png' alt='"._("delete")."'