summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: edf87b6)
raw | patch | inline | side by side (parent: edf87b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 10:39:42 +0000 (10:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 10:39:42 +0000 (10:39 +0000) |
ihtml/themes/default/setup_step4.tpl | patch | blob | history | |
include/setup_checks.inc | patch | blob | history |
index dd9d4ce31d29899d8b5c0eb577e0422f7f7a93d8..194b40cd4e332bc2c6144d2dc0e1660618032b4d 100644 (file)
</p>
<table>
+ <tr>
+ <td>{t}Base {/t}</td>
+ <td><input type='text' name='base' maxlength='40' size='20' value='{$base}'></td>
+ </tr>
<tr>
<td>{t}People storage ou{/t}</td>
<td><input type='text' name='peopleou' maxlength='40' size='20' value='{$peopleou}'></td>
index 5dedce74791cae3e02d944fe313f35f63851ea22..eb9138db75d15f2f80d9ed7917ce1b5464b4cd16 100644 (file)
--- a/include/setup_checks.inc
+++ b/include/setup_checks.inc
{
+
+ 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);
$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']))
}
-
+ 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']);
// Get ldapconf
$ldapconf= $_SESSION['ldapconf'];
+ print_a($_SESSION);
+
// get smarty
$smarty = get_smarty();