fixed wrong suffix and wrong error message

This commit is contained in:
Roland Gruber 2003-07-02 16:39:59 +00:00
parent 9f9641160a
commit d41fd04c95
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ if (!$sortattrib)
// check search suffix // check search suffix
if ($_POST['usr_suffix']) $usr_suffix = $_POST['usr_suffix']; // new suffix selected via combobox if ($_POST['usr_suffix']) $usr_suffix = $_POST['usr_suffix']; // new suffix selected via combobox
elseif ($_SESSION['usr_suffix']) $usr_suffix = $_SESSION['usr_suffix']; // old suffix from session elseif ($_SESSION['usr_suffix']) $usr_suffix = $_SESSION['usr_suffix']; // old suffix from session
else $usr_suffix = $_SESSION["config"]->get_GroupSuffix(); // default suffix else $usr_suffix = $_SESSION["config"]->get_UserSuffix(); // default suffix
session_register('usr_suffix'); session_register('usr_suffix');
@ -166,7 +166,7 @@ if ($_SESSION["userlist"] && $_GET["norefresh"]) {
else else
StatusMessage("ERROR", StatusMessage("ERROR",
_("LDAP Search failed! Please check your preferences."), _("LDAP Search failed! Please check your preferences."),
_("No Groups found!")); _("No Users found!"));
} }
$user_count = sizeof ($_SESSION["userlist"]); $user_count = sizeof ($_SESSION["userlist"]);
@ -301,7 +301,7 @@ function draw_navigation_bar ($user_count) {
echo ("=>"); echo ("=>");
echo ("</td>"); echo ("</td>");
echo ("<td class=\"userlist-navbartext\">"); echo ("<td class=\"userlist-navbartext\">");
echo "&nbsp;" . $user_count . " " . _("Users found"); echo "&nbsp;" . $user_count . " " . _("User(s) found");
echo ("</td>"); echo ("</td>");