From f7751d09a110127d10e57949b5fa3b891e600bdc Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 May 2005 10:39:42 +0000 Subject: [PATCH] setup asks for base git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@373 594d385d-05f5-0310-b6e9-bd551577e9d8 --- ihtml/themes/default/setup_step4.tpl | 4 ++++ include/setup_checks.inc | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ihtml/themes/default/setup_step4.tpl b/ihtml/themes/default/setup_step4.tpl index dd9d4ce31..194b40cd4 100644 --- a/ihtml/themes/default/setup_step4.tpl +++ b/ihtml/themes/default/setup_step4.tpl @@ -35,6 +35,10 @@

+ + + + diff --git a/include/setup_checks.inc b/include/setup_checks.inc index 5dedce747..eb9138db7 100644 --- a/include/setup_checks.inc +++ b/include/setup_checks.inc @@ -764,6 +764,10 @@ function show_setup_page4($withoutput = true) { + + if(!isset($_SESSION['ldapconf']['base'])) $_SESSION['ldapconf']['base'] = $base; + + if(!isset($_SESSION['ldapconf']['base'])) $_SESSION['ldapconf']['base'] = $base; require_once("class_password-methods.inc"); error_reporting(E_ALL); @@ -777,7 +781,7 @@ function show_setup_page4($withoutput = true) $ldapconf = $_SESSION['ldapconf']; // The ldap Configuration informations, we collected while setup $arr_crypts = array(); // array which includes contains all possible password crypting methods $temp = ""; // Temp - $checkvars = array("location","admin","password","peopleou","peopledn","arr_crypts","mail","uidbase"); + $checkvars = array("location","admin","password","peopleou","peopledn","arr_crypts","mail","uidbase","base"); if(!isset($_SESSION['ldapconf']['arr_cryptkeys'])) @@ -888,7 +892,8 @@ function show_setup_page4($withoutput = true) } - + if(isset($_POST['base'])) + $_SESSION['ldapconf']['base']= $_POST['base']; $smarty->assign("arr_cryptkeys",$_SESSION['ldapconf']['arr_cryptkeys']); $smarty->assign("mail_methods", $_SESSION['ldapconf']['mail_methods']); @@ -947,6 +952,8 @@ function show_setup_page5($withoutput=true) // Get ldapconf $ldapconf= $_SESSION['ldapconf']; + print_a($_SESSION); + // get smarty $smarty = get_smarty(); -- 2.30.2
{t}Base {/t}
{t}People storage ou{/t}