From: hickert Date: Tue, 30 Mar 2010 14:12:35 +0000 (+0000) Subject: Updated package config X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc5653e970157f5177834ecdd86d9b1544d882b2;p=gosa.git Updated package config git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17401 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc b/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc index 40bd01372..ef20d1346 100644 --- a/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc +++ b/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc @@ -178,7 +178,7 @@ class debconf /* Display all possible options in html*/ function get_dialog() { - if ($this->loaded_template) { + if ($this->loaded_template && count($this->template)) { $result= ""; foreach ($this->template as $post_name => $entry){ @@ -199,9 +199,10 @@ class debconf //php_error(E_WARNING, "An unknown type has been specified in the debconf template. Please fix."); } } + $result.="
"; - $result .= ""; + $result .= ""; return ($result); } else { return _("This package has no debconf options."); diff --git a/gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl b/gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl index 40490524c..79a539082 100644 --- a/gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl +++ b/gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl @@ -1,12 +1,7 @@ -

-{image path="images/forward.png" title="{t}Package{/t}"}  -{$headline}

+

{$headline}

{$Config}
-
-
- - -
\ No newline at end of file +
+ + +