summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5639965)
raw | patch | inline | side by side (parent: 5639965)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 13:39:56 +0000 (13:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 13:39:56 +0000 (13:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19851 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl b/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl
index 65ea81a699a8a78a50ca69b03995abddf295fced..e4693688e852c2889f8f8588a3d2a9a3ea134e7f 100644 (file)
<table>
<tr>
- <td><LABEL for="kickstartTimeUTC">{t}UTC Time{/t}</LABEL></td>
<td>
- <input type='text' name="kickstartTimeUTC" id="kickstartTimeUTC" value="{$kickstartTimeUTC}">
+ <input type='checkbox' name="kickstartTimeUTC" id="kickstartTimeUTC"
+ {if $kickstartTimeUTC} checked {/if}>
+ <LABEL for="kickstartTimeUTC">{t}Use UTC{/t}</LABEL>
</td>
</tr>
<tr>
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc
index 64bdd2029d1835994bc23a7be539d6b23e7e37b8..40cdc4289decd61a703c250836ec05eefe0737a2 100644 (file)
if(isset($_POST['InstallRecipePosted'])){
plugin::save_object();
$this->kickstartRootEnabled = isset($_POST['kickstartRootEnabled']);
+ $this->kickstartTimeUTC = isset($_POST['kickstartTimeUTC']);
if(isset($_POST['setKickstartRootPasswordHash'])){
//
if(!$this->kickstartRootEnabled) $this->kickstartRootPasswordHash = "";
$this->kickstartRootEnabled = ($this->kickstartRootEnabled)?'TRUE':'FALSE';
+ $this->kickstartTimeUTC = ($this->kickstartTimeUTC)?'TRUE':'FALSE';
plugin::save();