summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-11 19:44:24 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-11 19:44:24 +0000
commit4711869f52897077b52f76b54a74982de3ff0e9b (patch)
treef2633c6f760e9faba9a825d5feb1a30af566f955 /modules/locale
parentdc93ff3260b15f4660ea40901a9ea227e60b43f1 (diff)
downloadbrdo-4711869f52897077b52f76b54a74982de3ff0e9b.tar.gz
brdo-4711869f52897077b52f76b54a74982de3ff0e9b.tar.bz2
- fixed a small SQL bug in page.module
- slightly improved story.module, node.module and book.module - made the "default theme" a setting from the setting page - polished a bit on the export function: we can now export the book or parts thereof through the following url: 1. http://drop.org/export/book/ (full book) 2. http://drop.org/export/book/nid (where nid is the node id to start with) The export routine demonstrates how it can be done yet the output is too basic and can only improve over time.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index da09f8fd6..5fd20b48e 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -65,7 +65,7 @@ function locale_languages($translation) {
return $output;
}
-function locale_display() {
+function locale_overview() {
$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";
@@ -85,7 +85,7 @@ function locale_admin() {
switch ($op) {
case "delete":
locale_delete(check_input($id));
- locale_display();
+ locale_overview();
break;
case "help":
locale_help();
@@ -97,7 +97,7 @@ function locale_admin() {
locale_save(check_input($id), $edit);
// fall through
default:
- locale_display();
+ locale_overview();
}
}