From 9ff03c0462aa6689a20812daeee5ad5e7293b475 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 28 Dec 2007 09:10:07 +0000 Subject: [PATCH] fixed success page --- lam/lib/modules.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 8c031b17..3d7cc02d 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -858,7 +858,7 @@ class accountContainer { if (isset($_POST['accountContainerCreateAgain'])) { // open fresh account page unset($_SESSION[$this->base]); - metaRefresh("edit.php?type=" . $this->type); + metaRefresh("edit.php?type=" . $this->type . "&suffix=" . $this->dn); exit(); } // back to account list @@ -1059,9 +1059,10 @@ class accountContainer { StatusMessage('INFO', _('LDAP operation successful.'), $text); echo "
\n"; + echo "type."list\" width=\"100%\" style=\"border-width:0px;\">
\n"; echo " \n"; - echo " \n"; + echo " \n"; echo "    "; echo "\n"; echo "\n"; echo "\""\n"; + echo "
\n"; $this->printPageFooter(); } @@ -1163,7 +1165,7 @@ class accountContainer { } echo ">" . $suffix . "\n"; } - if (!in_array($this->dn, $_SESSION['ldap']->search_units($rootsuffix))) { + if (!($this->dn == '') && !in_array($this->dn, $_SESSION['ldap']->search_units($rootsuffix))) { echo "\n";; } echo "\n";