fixed group alias display and translation of submit button

This commit is contained in:
Roland Gruber 2004-12-31 13:07:46 +00:00
parent 670f4f142d
commit 236b7d288c
1 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ echo "<table border=0 width=\"100%\">\n";
if (! in_array($available_groups[$i], $selected_groups)) { // display non-selected modules
if (is_base_module($available_groups[$i], "group")) { // mark base modules
echo "<option value=\"" . $available_groups[$i] . "\">";
echo $available_users[$i] . "(" . getModuleAlias($available_groups[$i], "group") . ")(" . _("base module") . ")";
echo $available_groups[$i] . "(" . getModuleAlias($available_groups[$i], "group") . ")(" . _("base module") . ")";
echo "</option>\n";
}
else {
@ -490,7 +490,7 @@ echo "<p>\n";
if ($no_conflicts_user && $no_depends_user && $no_missing_basemodule_user &&
$no_conflicts_group && $no_depends_group && $no_missing_basemodule_group &&
$no_conflicts_host && $no_depends_host && $no_missing_basemodule_host) {
echo "<input type=\"submit\" value=\"Submit\" name=\"submit\">\n";
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\">\n";
}
else {
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\" disabled>\n";