summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e26529)
raw | patch | inline | side by side (parent: 4e26529)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 14:12:35 +0000 (14:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 14:12:35 +0000 (14:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17401 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_debconfTemplate.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc b/gosa-plugins/fai/admin/fai/class_debconfTemplate.inc
index 40bd0137299e39145a064efbfd56623ec52a7181..ef20d1346adf2f91a7c01a1508c1390ef5aadbe7 100644 (file)
/* Display all possible options in html*/
function get_dialog()
{
- if ($this->loaded_template) {
+ if ($this->loaded_template && count($this->template)) {
$result= "<table summary=''>";
foreach ($this->template as $post_name => $entry){
//php_error(E_WARNING, "An unknown type has been specified in the debconf template. Please fix.");
}
}
+ $result.="</table>";
- $result .= "<input type='hidden' post_name='check_post' value='1'></table>";
+ $result .= "<input type='hidden' post_name='check_post' value='1'>";
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 40490524c5899731f315e4873f040eeef78cf951..79a5390828dd3f48cfa0e4fc863a50619a2d99a4 100644 (file)
-<h1>
-{image path="images/forward.png" title="{t}Package{/t}"}
-{$headline}</h1>
+<h3>{$headline}</h3>
{$Config}
<hr>
-<br>
-<div align="right" style="align:right;">
- <button type='submit' name='SaveObjectConfig'>
- {msgPool type=applyButton}</button>
- <button type='submit' name='CancelObjectConfig'>
- {msgPool type=cancelButton}</button>
-</div>
\ No newline at end of file
+<div class="plugin-actions">
+ <button type='submit' name='SaveObjectConfig'>{msgPool type=applyButton}</button>
+ <button type='submit' name='CancelObjectConfig'>{msgPool type=cancelButton}</button>
+</div>