index fcbb7246872740921a01dd2b8c973421e6ed82d5..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")."'> ".