diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-19 07:41:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-19 07:41:55 +0000 |
commit | 2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389 (patch) | |
tree | 2035e2cd3eaff49f7179cb7b05bf9fe31dcc634d /modules/locale | |
parent | e4695fd5edd0d2da9f92845ea3868bb03e75f630 (diff) | |
download | brdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.gz brdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.bz2 |
- Committed a partial administration page integration patch.
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.module | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 9fbb3d38b..a79f33918 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -241,22 +241,22 @@ function locale_admin() { switch ($op) { case "delete": - print status(locale_delete(check_query(arg(3)))); - print locale_seek(); + $output = status(locale_delete(check_query(arg(3)))); + $output .= locale_seek(); break; case "edit": - print locale_edit(check_query(arg(3))); + $output = locale_edit(check_query(arg(3))); break; case "search": - print locale_seek_form(); + $output = locale_seek_form(); break; case t("Search"): - print locale_seek(); - print locale_seek_form(); + $output = locale_seek(); + $output .= locale_seek_form(); break; case t("Save translations"): - print status(locale_save(check_query(arg(3)))); - print locale_seek(); + $output = status(locale_save(check_query(arg(3)))); + $output .= locale_seek(); break; default: if (arg(3) == "translated") { @@ -267,12 +267,13 @@ function locale_admin() { $edit["status"] = 2; $edit["language"] = arg(2); } - print locale_seek(); - print locale_seek_form(); + $output = locale_seek(); + $output .= locale_seek_form(); } + return $output; } else { - print message_access(); + return message_access(); } } |