summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d662368)
raw | patch | inline | side by side (parent: d662368)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Nov 2008 08:39:12 +0000 (08:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 24 Nov 2008 08:39:12 +0000 (08:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13013 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_divListFai.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc
index 6e897c156e13f39916239844d8090962b3844178..f171d9c0655394c665cdec7be0d473340f13db80 100644 (file)
$template_str = sprintf(_("Number of listed '%s'"),_("templates"));
$package_str = sprintf(_("Number of listed '%s'"),_("packages"));
$dep_str = sprintf(_("Number of listed '%s'"),_("departments"));
+ $opsi_netboot = sprintf(_("Number of listed '%s'"),_("netboot products"));
+ $opsi_local = sprintf(_("Number of listed '%s'"),_("local products"));
+
+ $str = "<img class=\"center\" src=\"".$objects['FAIprofile']['IMG']."\"
+ title=\"".$profile_str."\" alt=\"".$profile_str."\"> ".$cnts['FAIprofile']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAIpartitionTable']['IMG']."\"
+ title=\"".$partition_str."\" alt=\"".$partition_str."\"> ".$cnts['FAIpartitionTable']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAIscript']['IMG']."\"
+ title=\"".$script_str."\" alt=\"".$script_str."\"> ".$cnts['FAIscript']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAIhook']['IMG']."\"
+ title=\"".$hook_str."\" alt=\"".$hook_str."\"> ".$cnts['FAIhook']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAIvariable']['IMG']."\"
+ title=\"".$variable_str."\" alt=\"".$variable_str."\"> ".$cnts['FAIvariable']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAItemplate']['IMG']."\"
+ title=\"".$template_str."\" alt=\"".$template_str."\"> ".$cnts['FAItemplate']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['FAIpackageList']['IMG']."\"
+ title=\"".$package_str."\" alt=\"".$package_str."\"> ".$cnts['FAIpackageList']." ";
+ $str.= "<img class=\"center\" src='images/lists/folder.png'
+ title=\"".$dep_str."\" alt=\"".$dep_str."\"> ".$num_deps." ";
- $str = "<img class='center' src='".$objects['FAIprofile']['IMG']."'
- title='".$profile_str."' alt='".$profile_str."'> ".$cnts['FAIprofile']." ";
- $str.= "<img class='center' src='".$objects['FAIpartitionTable']['IMG']."'
- title='".$partition_str."' alt='".$partition_str."'> ".$cnts['FAIpartitionTable']." ";
- $str.= "<img class='center' src='".$objects['FAIscript']['IMG']."'
- title='".$script_str."' alt='".$script_str."'> ".$cnts['FAIscript']." ";
- $str.= "<img class='center' src='".$objects['FAIhook']['IMG']."'
- title='".$hook_str."' alt='".$hook_str."'> ".$cnts['FAIhook']." ";
- $str.= "<img class='center' src='".$objects['FAIvariable']['IMG']."'
- title='".$variable_str."' alt='".$variable_str."'> ".$cnts['FAIvariable']." ";
- $str.= "<img class='center' src='".$objects['FAItemplate']['IMG']."'
- title='".$template_str."' alt='".$template_str."'> ".$cnts['FAItemplate']." ";
- $str.= "<img class='center' src='".$objects['FAIpackageList']['IMG']."'
- title='".$package_str."' alt='".$package_str."'> ".$cnts['FAIpackageList']." ";
- $str.= "<img class='center' src='images/lists/folder.png'
- title='".$dep_str."' alt='".$dep_str."'> ".$num_deps." ";
- $this->set_List_Bottom_Info($str);
+ if($this->parent->opsi instanceof opsi && $this->parent->opsi->enabled()){
+ $str.= "<img class=\"center\" src=\"".$objects['opsi_netboot']['IMG']."\"
+ title=\"".$opsi_netboot."\" alt=\"".$opsi_netboot."\"> ".$cnts['opsi_netboot']." ";
+ $str.= "<img class=\"center\" src=\"".$objects['opsi_local']['IMG']."\"
+ title=\"".$opsi_local."\" alt=\"".$opsi_local."\"> ".$cnts['opsi_local']." ";
+ }
+ $this->set_List_Bottom_Info($str);
}
function Save()