From 9545997fda7fb8f3c586db338a4bdad09edf3234 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 4 Dec 2007 15:24:34 +0000 Subject: [PATCH] removed obsolete table around reset button --- lam/lib/modules.inc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index f6345f88..469b5a11 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -839,7 +839,9 @@ class accountContainer { } else { // change dn suffix - if (isset($_REQUEST['suffix']) && ($_REQUEST['suffix'] != '')) $this->dn = $_REQUEST['suffix']; + if (isset($_REQUEST['accountContainerSuffix']) && ($_REQUEST['accountContainerSuffix'] != '')) { + $this->dn = $_REQUEST['accountContainerSuffix']; + } if ($this->current_page==0) { if ($this->subpage=='attributes') { // change RDN @@ -1027,17 +1029,19 @@ class accountContainer { $x++; } echo " \n"; - echo "type . "list\">\n"; + echo "type . "list\">\n"; + // left controls + echo "\n"; + // reset button if ($this->dn_orig!='') { - echo ""; - echo "'; - echo "
\n"; echo "subpage == 'finish') echo " disabled"; - echo ">
\n"; - echo '
"; + echo ">\n"; + echo "
\n"; } - echo ""; + // profile selection + // content area + echo ""; $this->printContentHeader(); // display html-code from modules $return = array(); @@ -1129,7 +1133,7 @@ class accountContainer { echo "\n"; echo "\n"; echo _('Suffix') . ": "; - echo "\n"; // loop through all suffixes $rootsuffix = $_SESSION['config']->get_Suffix($this->type); foreach ($_SESSION['ldap']->search_units($rootsuffix) as $suffix) {