diff options
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r-- | modules/locale/locale.module | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index b4f254cc0..065468e9c 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -66,7 +66,7 @@ function locale_languages($translation) { function locale_overview() { if (variable_get("locale", 0)) { $result = db_query("SELECT * FROM locales ORDER BY string"); - + $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"2\" CELLSPACING=\"2\">\n"; $output .= " <TR><TH>string</TH><TH>languages</TH><TH COLSPAN=\"2\">operations</TH><TR>\n"; while ($locale = db_fetch_object($result)) { @@ -74,10 +74,12 @@ function locale_overview() { $output .= " <TR><TD>". check_output($locale->string) ."<BR><SMALL><I>$locale->location</I></SMALL></TD><TD ALIGN=\"center\">$languages</TD><TD><A HREF=\"admin.php?mod=locale&op=edit&id=$locale->id\">edit</A></TD><TD><A HREF=\"admin.php?mod=locale&op=delete&id=$locale->id\">delete</A></TD></TR>"; } $output .= "</TABLE>\n"; - + return $output; } - return "Locale disabled."; + else { + return status("locale disabled."); + } } function locale_admin() { |