diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index abb09c7e..52c67baf 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -161,6 +161,47 @@ elseif (isset($_GET['edit'])) { // display formular echo ("
\n"); +$tabindex = 1; + +// profile name and submit/abort buttons +echo "
"; +echo _("Profile name"); +$profName = ''; +if (isset($_GET['edit'])) { + $profName = $_GET['edit']; +} +echo (" \n"); +$tabindex++; +printHelpLink(getHelp('', '360'), '360'); +echo ""; +echo ""; +$tabindex++; +echo " "; +echo ""; +$tabindex++; +echo "\n"; +echo "
"; +echo "

\n"; + +?> + + + +get_Suffix($type); @@ -177,9 +218,10 @@ echo "\"logo"; echo ""; // LDAP suffix - echo _("LDAP suffix") . ":"; + echo _("LDAP suffix"); echo ""; - echo ""; + $tabindex++; for ($i = 0; $i < sizeof($suffixes); $i++) { if (isset($old_options['ldap_suffix']) && ($old_options['ldap_suffix'][0] == $suffixes[$i])) { echo "\n"; @@ -197,9 +239,10 @@ echo "\"logo"; // LDAP RDN echo ""; - echo _("RDN identifier") . ":"; + echo _("RDN identifier"); echo ""; - echo ""; + $tabindex++; for ($i = 0; $i < sizeof($rdns); $i++) { if (isset($old_options['ldap_rdn']) && ($old_options['ldap_rdn'][0] == $rdns[$i])) { echo "\n"; @@ -220,9 +263,6 @@ echo "\n
\n"; $_SESSION['profile_types']['ldap_suffix'] = 'select'; $_SESSION['profile_types']['ldap_rdn'] = 'select'; -// index for tab order (1 is LDAP suffix) -$tabindex = 2; - // display module options $modules = array_keys($options); for ($m = 0; $m < sizeof($modules); $m++) { @@ -242,25 +282,6 @@ for ($m = 0; $m < sizeof($modules); $m++) { echo "
"; } -// profile name and submit/abort buttons -echo ("" . _("Profile name") . ": \n"); -$tabindex++; -$profName = ''; -if (isset($_GET['edit'])) { - $profName = $_GET['edit']; -} -echo ("\n"); -printHelpLink(getHelp('', '360'), '360'); -echo "

\n"; -$tabindex++; -echo ("\n"); -$tabindex++; -echo ("\n"); -$tabindex++; -echo ("\n"); -echo "\n"; -echo "



\n"; - echo ("\n"); include '../main_footer.php';