diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 5972053e..d3758b44 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -137,6 +137,9 @@ if ($_GET["modulesback"] == "true") { } } +// index for tab order +$tabindex = 1; + echo $_SESSION['header']; echo ("" . _("LDAP Account Manager Configuration") . "\n"); @@ -154,9 +157,10 @@ echo (""); // serverURL echo ("". "\n"); echo ("\n"); +$tabindex++; // new line echo (""); @@ -164,23 +168,27 @@ echo (""); // user suffix echo ("". - "\n"); + "\n"); echo ("\n"); +$tabindex++; // group suffix echo ("". - "\n"); + "\n"); echo ("\n"); +$tabindex++; // host suffix echo ("". - "\n"); + "\n"); echo ("\n"); +$tabindex++; // domain suffix echo ("". - "\n"); + "\n"); echo ("\n"); +$tabindex++; // new line echo (""); @@ -188,7 +196,7 @@ echo (""); // LDAP cache timeout echo ("". - "\n"); +$tabindex++; echo ("\n"); echo ("
" . _("Server address") . " *: ". - "get_ServerURL() . "\">". + "get_ServerURL() . "\">". "" . _("Help") . "
 
 
". _("UserSuffix") . " *: get_UserSuffix() . "\">get_UserSuffix() . "\">" . _("Help") . "
". _("GroupSuffix") . " *: get_GroupSuffix() . "\">get_GroupSuffix() . "\">" . _("Help") . "
". _("HostSuffix") . " **: get_HostSuffix() . "\">get_HostSuffix() . "\">" . _("Help") . "
". _("DomainSuffix") . " ***: get_DomainSuffix() . "\">get_DomainSuffix() . "\">" . _("Help") . "
 
 
". _("Cache timeout") . ": " . _("Help") . "
"); @@ -211,8 +220,9 @@ echo "" . _("User modules") . ": " . implode(", ", $conf->get_Use echo "" . _("Group modules") . ": " . implode(", ", $conf->get_GroupModules()) . "\n"; echo "" . _("Host modules") . ": " . implode(", ", $conf->get_HostModules()) . "\n"; echo " \n"; -echo "  " . +echo "  " . "" . _("Help") . "\n"; +$tabindex++; echo (""); echo (""); @@ -241,9 +251,6 @@ $moduleDescriptions = getConfigDescriptions(); // save scopes $_SESSION['config_scopes'] = $scopes; -// index for tab order (1 is LDAP suffix) -$tabindex = 2; - // display module boxes $modules = array_keys($options); for ($m = 0; $m < sizeof($modules); $m++) { @@ -277,25 +284,28 @@ echo ("\n"); // user list attributes echo ("". - ""); + ""); echo ("\n"); +$tabindex++; // group list attributes echo ("". - ""); + ""); echo ("\n"); +$tabindex++; // host list attributes echo ("". - ""); + ""); echo ("\n"); +$tabindex++; echo ("\n"); // maximum list entries echo ("". - "\n"); +$tabindex++; echo ("\n"); echo ("
". _("Attributes in User List") . " *:get_userlistAttributes() . "\">get_userlistAttributes() . "\">" . _("Help") . "
". _("Attributes in Group List") . " *:get_grouplistAttributes() . "\">get_grouplistAttributes() . "\">" . _("Help") . "
". _("Attributes in Host List") . " **:get_hostlistAttributes() . "\">get_hostlistAttributes() . "\">" . _("Help") . "
 
". _("Maximum list entries") . " : " . _("Help") . "
\n"); @@ -330,13 +341,14 @@ if(is_file($languagefile)) } fclose($file); // generate language list -echo (""); for ($i = 0; $i < sizeof($languages); $i++) { $entry = explode(":", $languages[$i]); if ($conf->get_defaultLanguage() != $languages[$i]) echo("\n"); else echo("\n"); } echo ("\n"); +$tabindex++; } else { @@ -356,11 +368,13 @@ echo ("\n"); echo ("". - "\n"); + "\n"); +$tabindex++; echo ("\n"); echo ("". - "\n"); + "\n"); +$tabindex++; echo ("\n"); echo ("
". _("Server of external script") . ": get_scriptServer() . "\">get_scriptServer() . "\">" . _("Help") . "
". _("Path to external script") . ": get_scriptPath() . "\">get_scriptPath() . "\">" . _("Help") . "
\n"); @@ -374,20 +388,23 @@ echo ("\n"); // admin list echo ("". - "\n"); + "\n"); echo ("\n"); +$tabindex++; echo ("\n"); // new password echo ("". - "\n"); + "\n"); +$tabindex++; echo ("\n"); // reenter password echo ("". - "\n"); + "\n"); +$tabindex++; echo ("
". _("List of valid users") . " *: get_Adminstring() . "\">get_Adminstring() . "\">" . _("Help") . "
 
". _("New Password") . ": " . _("Help") . "
". _("Reenter Password") . ":
\n"); echo ("\n"); echo ("

\n"); @@ -396,10 +413,14 @@ echo ("

\n"); // buttons echo ("\n"); -echo ("\n");
".
-	"".
-	"".
-	"";
+echo "
";
+	echo "";
+	$tabindex++;
+	echo "";
+	$tabindex++;
+	echo "