From: hickert Date: Mon, 24 Nov 2008 08:39:12 +0000 (+0000) Subject: Updated fai summary listing, fixed quoting. Closes #593 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9abb6cabef3f6603f03dd9b86a40a92712b91f7;p=gosa.git Updated fai summary listing, fixed quoting. Closes #593 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13013 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc index 6e897c156..f171d9c06 100644 --- a/gosa-plugins/fai/admin/fai/class_divListFai.inc +++ b/gosa-plugins/fai/admin/fai/class_divListFai.inc @@ -341,24 +341,33 @@ class divListFai extends MultiSelectWindow $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 = "\"".$profile_str."\" ".$cnts['FAIprofile']."    "; + $str.= "\"".$partition_str."\" ".$cnts['FAIpartitionTable']."    "; + $str.= "\"".$script_str."\" ".$cnts['FAIscript']."    "; + $str.= "\"".$hook_str."\" ".$cnts['FAIhook']."    "; + $str.= "\"".$variable_str."\" ".$cnts['FAIvariable']."    "; + $str.= "\"".$template_str."\" ".$cnts['FAItemplate']."    "; + $str.= "\"".$package_str."\" ".$cnts['FAIpackageList']."    "; + $str.= "\"".$dep_str."\" ".$num_deps."    "; - $str = "".$profile_str." ".$cnts['FAIprofile']."    "; - $str.= "".$partition_str." ".$cnts['FAIpartitionTable']."    "; - $str.= "".$script_str." ".$cnts['FAIscript']."    "; - $str.= "".$hook_str." ".$cnts['FAIhook']."    "; - $str.= "".$variable_str." ".$cnts['FAIvariable']."    "; - $str.= "".$template_str." ".$cnts['FAItemplate']."    "; - $str.= "".$package_str." ".$cnts['FAIpackageList']."    "; - $str.= "".$dep_str." ".$num_deps."    "; - $this->set_List_Bottom_Info($str); + if($this->parent->opsi instanceof opsi && $this->parent->opsi->enabled()){ + $str.= "\"".$opsi_netboot."\" ".$cnts['opsi_netboot']."    "; + $str.= "\"".$opsi_local."\" ".$cnts['opsi_local']."    "; + } + $this->set_List_Bottom_Info($str); } function Save()