changes some warning.

This commit is contained in:
katagia 2003-12-12 17:48:01 +00:00
parent 3a902f2fb4
commit d3c09f2801
1 changed files with 7 additions and 5 deletions

View File

@ -220,7 +220,7 @@ switch ($_POST['select']) {
case 'general': case 'general':
if (!$_POST['load']) { if (!$_POST['load']) {
if (($account_new->general_username != $_POST['f_general_username']) && ereg('[A-Z]$', $_POST['f_general_username'])) if (($account_new->general_username != $_POST['f_general_username']) && ereg('[A-Z]$', $_POST['f_general_username']))
$errors[] = array('WARN', _('Username'), _('You are using a capital letters. This can cause problems because user and user could have the same mail-address.')); $errors[] = array('WARN', _('Username'), _('You are using a capital letters. This can cause problems because windows isn\'t case-sensitive.'));
// Write all general values into $account_new if no profile should be loaded // Write all general values into $account_new if no profile should be loaded
$account_new->general_dn = $_POST['f_general_suffix']; $account_new->general_dn = $_POST['f_general_suffix'];
$account_new->general_username = $_POST['f_general_username']; $account_new->general_username = $_POST['f_general_username'];
@ -758,10 +758,12 @@ if (is_array($errors))
// print_r($account_new); // print_r($account_new);
//print_r($account_old); //print_r($account_old);
//if (!isset($_SESSION['cache'])) $_SESSION['cache'] = new cache(); $_SESSION['cache'] = new cache();
//$temp = new accountContainer('user'); $temp = new accountContainer('user');
//$temp->add_objectClass('inetOrgPerson'); $temp->add_objectClass('inetOrgPerson');
// print_r($temp->modules); $temp->module['inetOrgPerson']->display_html_attributes();
exit;
switch ($select_local) { switch ($select_local) {
/* Select which part of page should be loaded and check values /* Select which part of page should be loaded and check values