From d3c09f2801a972e7e1becc1cfdd859b2ca3e7dfd Mon Sep 17 00:00:00 2001 From: katagia Date: Fri, 12 Dec 2003 17:48:01 +0000 Subject: [PATCH] changes some warning. --- lam/templates/account/useredit.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lam/templates/account/useredit.php b/lam/templates/account/useredit.php index 3f6c33cc..92fadb28 100644 --- a/lam/templates/account/useredit.php +++ b/lam/templates/account/useredit.php @@ -220,7 +220,7 @@ switch ($_POST['select']) { case 'general': if (!$_POST['load']) { 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 $account_new->general_dn = $_POST['f_general_suffix']; $account_new->general_username = $_POST['f_general_username']; @@ -758,10 +758,12 @@ if (is_array($errors)) // print_r($account_new); //print_r($account_old); -//if (!isset($_SESSION['cache'])) $_SESSION['cache'] = new cache(); -//$temp = new accountContainer('user'); -//$temp->add_objectClass('inetOrgPerson'); -// print_r($temp->modules); +$_SESSION['cache'] = new cache(); +$temp = new accountContainer('user'); +$temp->add_objectClass('inetOrgPerson'); +$temp->module['inetOrgPerson']->display_html_attributes(); + +exit; switch ($select_local) { /* Select which part of page should be loaded and check values