From 841593596829d860f3acf145bbf187767d0dcf7a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Apr 2007 12:23:24 +0000 Subject: [PATCH] Added include_personal_title option to step 1 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6127 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 3 +++ setup/class_setupStep_Config1.inc | 4 +++- setup/setup_config1.tpl | 11 +++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 0232dd5b2..37bb18559 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -329,6 +329,9 @@ groups="{$cv.groupou}" gidbase="{$cv.uidbase}" uidbase="{$cv.uidbase}" +{if $cv.include_personal_title} + include_personal_title="true" +{/if} {if $cv.optional.notifydir_active } notifydir="{$cv.optional.notifydir}" {/if} diff --git a/setup/class_setupStep_Config1.inc b/setup/class_setupStep_Config1.inc index f51e9cab9..6531f3685 100644 --- a/setup/class_setupStep_Config1.inc +++ b/setup/class_setupStep_Config1.inc @@ -39,6 +39,8 @@ class Step_Config1 extends setup_step var $theme = "default"; var $errorlvl = FALSE; + var $include_personal_title = FALSE; + var $pwd_rules = array("pwminlen" => 6, "pwminlen_active" => FALSE, "pwdiffer" => 5, @@ -54,7 +56,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","account_expiration","strict"); + "base_hook","base_hook_active","account_expiration","strict","include_personal_title"); function Step_Config1() { diff --git a/setup/setup_config1.tpl b/setup/setup_config1.tpl index 695259da5..d5a372fc5 100644 --- a/setup/setup_config1.tpl +++ b/setup/setup_config1.tpl @@ -52,6 +52,17 @@ +
+
+ {t}Personal title in user dn{/t} +
+
+ +
+
+
{t}Relaxed naming policies{/t} -- 2.30.2