- locale.module:

+ fixed typo: 'return' -> 'print'
3-00
Dries Buytaert 2001-07-08 15:34:10 +00:00
parent 4ac70d708f
commit 7db59b2bba
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ function locale_admin() {
global $id, $edit, $op, $lang;
if (!variable_get("locale", 0)) {
return status("locale disabled.");
print status("locale disabled.");
}
else if (user_access("administer locales")) {
print "<SMALL>". locale_links(1) . locale_links(0) ."<A HREF=\"admin.php?mod=locale\">overview</A> | <A HREF=\"admin.php?mod=locale&op=help\">help</A></SMALL><HR>\n";

View File

@ -142,7 +142,7 @@ function locale_admin() {
global $id, $edit, $op, $lang;
if (!variable_get("locale", 0)) {
return status("locale disabled.");
print status("locale disabled.");
}
else if (user_access("administer locales")) {
print "<SMALL>". locale_links(1) . locale_links(0) ."<A HREF=\"admin.php?mod=locale\">overview</A> | <A HREF=\"admin.php?mod=locale&op=help\">help</A></SMALL><HR>\n";