From 7c5aa0d66296f004dd04f823c01bbfd260b9fab6 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Apr 2007 10:50:19 +0000 Subject: [PATCH] Moved account_expiration from step2 to step1 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6121 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Config1.inc | 4 ++-- setup/class_setupStep_Config2.inc | 3 +-- setup/setup_config1.tpl | 12 ++++++++++++ setup/setup_config2.tpl | 13 ------------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/setup/class_setupStep_Config1.inc b/setup/class_setupStep_Config1.inc index 10e780669..6a5e8e2ea 100644 --- a/setup/class_setupStep_Config1.inc +++ b/setup/class_setupStep_Config1.inc @@ -28,7 +28,7 @@ class Step_Config1 extends setup_step var $peopledn = "cn"; var $uidbase = 1000; var $header_image = "images/ldapserver.png"; - + var $account_expiration =FALSE; var $base_hook = "/usr/bin/sudo myscript"; var $base_hook_active = FALSE; @@ -51,7 +51,7 @@ class Step_Config1 extends setup_step var $crypt_methods = array(); var $attributes = array("peopleou","groupou","peopledn","uidbase","encryption","theme","errorlvl", - "base_hook","base_hook_active"); + "base_hook","base_hook_active","account_expiration"); function Step_Config1() { diff --git a/setup/class_setupStep_Config2.inc b/setup/class_setupStep_Config2.inc index 259e10430..5023cec51 100644 --- a/setup/class_setupStep_Config2.inc +++ b/setup/class_setupStep_Config2.inc @@ -25,7 +25,6 @@ class Step_Config2 extends setup_step var $governmentmode = FALSE; var $sambaidmapping = FALSE; var $strict = TRUE; - var $account_expiration =FALSE; var $header_image = "images/ldapserver.png"; var $cyrusunixstyle = FALSE; @@ -48,7 +47,7 @@ class Step_Config2 extends setup_step "samba_rid" => 1000, "samba_rid_active" => FALSE); - var $attributes = array("strict","governmentmode","sambaidmapping","account_expiration","cyrusunixstyle","mail"); + var $attributes = array("strict","governmentmode","sambaidmapping","cyrusunixstyle","mail"); function Step_Config2() { diff --git a/setup/setup_config1.tpl b/setup/setup_config1.tpl index e61893bfd..4a658a463 100644 --- a/setup/setup_config1.tpl +++ b/setup/setup_config1.tpl @@ -166,6 +166,18 @@ {/if} +
+
+ {t}Use account expiration{/t} +
+
+ +
+
+ +