- made the selection box translatable (patch by Gerhard)

4.0.x
Dries Buytaert 2001-09-28 14:09:59 +00:00
parent f1ebe411be
commit b2d0c5c104
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if (user_access("post content")) {
}
else {
foreach (module_list() as $name) {
if (module_hook($name, "user")) $options .= "<option value=\"$name\">$name</option>";
if (module_hook($name, "user")) $options .= "<option value=\"$name\">". t($name) ."</option>";
}
$form .= form_item(t("Submission type"), "<SELECT NAME=\"mod\">$options</SELECT>");