index b308def3cf1f9ca5b62d6abfb7dc37817b687bf7..58cd27a8ee39639287d2c65264df8510381be70b 100644 (file)
function divListFai ($config,$parent)
{
- MultiSelectWindow::MultiSelectWindow($config,"Fai");
+ MultiSelectWindow::MultiSelectWindow($config, "Fai", "fai");
$this->parent = $parent;
$this->ui = get_userinfo();
/* Set list strings */
$this->SetTitle(_("List of FAI classes"));
- $this->SetSummary(_("This table displays all systems, in the selected tree."));
+ $this->SetSummary(_("This table displays all FAI classes in the selected tree."));
/* Result page will look like a headpage */
$this->SetHeadpageMode();
title='"._("New profile")."' name='Create_profile' alt='"._("P")."'> ".
"<img class='center' src=\"images/list_seperator.png\" alt=\"\" align=\"middle\" height=\"16\" width=\"1\"> ";
-
- if($this->parent->snapshotEnabled()){
- $listhead .= " <input class='center' type='image' align='middle' src='images/restore.png'
- title='"._("Restore snapshopts of already deleted objects")."' alt='"._("Restore")."' name='RestoreDeletedSnapShot'>".
- " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ";
- }
-
+ $listhead .= $this->get_snapshot_header($this->selectedBase);
$listhead .= " <input class='center' type='image' src='images/fai_new_partitionTable.png' align='middle'
title='"._("New partition table")."' name='Create_partition' alt='"._("PT")."'> ".
$desc= "";
}
- $action = $this->GetSnapShotActions($value['dn']);;
if($value['FAIstate'] == "freeze"){
- $action .= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
name='entry_edit_%KEY%' title='"._("Edit class")."'>";
$edi = $editlink;
$acti = $action;
}else{
- $action .= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
+ $action= "<input class='center' type='image' src='images/edit.png' alt='"._("edit")."'
name='entry_edit_%KEY%' title='"._("Edit class")."'>";
- $action .= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."'
+ $action.= $this->GetSnapShotActions($value['dn']);;
+ $action.= "<input class='center' type='image' src='images/edittrash.png' alt='"._("delete")."'
name='entry_delete_%KEY%' title='"._("Delete class")."'>";
$acti = $action;
$edi = $editlink;