summaryrefslogtreecommitdiff
path: root/modules/dblog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-25 10:43:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-25 10:43:54 +0000
commit76957a25e6eb2ce82fc3f52f6f4f97be4748f6e6 (patch)
tree1014be2886f06d9c43ee127d1de2fb0e82f6d5e5 /modules/dblog
parent12024dbca416e8071dc34fb941e4970c150b0f47 (diff)
downloadbrdo-76957a25e6eb2ce82fc3f52f6f4f97be4748f6e6.tar.gz
brdo-76957a25e6eb2ce82fc3f52f6f4f97be4748f6e6.tar.bz2
- Patch #470594 by Moshe: convert more pages and blocks to return arrays.
Diffstat (limited to 'modules/dblog')
-rw-r--r--modules/dblog/dblog.admin.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc
index 0e83e2a2c..ace38c616 100644
--- a/modules/dblog/dblog.admin.inc
+++ b/modules/dblog/dblog.admin.inc
@@ -47,8 +47,8 @@ function dblog_overview() {
WATCHDOG_EMERG => 'dblog-emerg',
);
- $output = drupal_render(drupal_get_form('dblog_filter_form'));
- $output .= drupal_render(drupal_get_form('dblog_clear_log_form'));
+ $build['dblog_filter_form'] = drupal_get_form('dblog_filter_form');
+ $build['dblog_clear_log_form'] = drupal_get_form('dblog_clear_log_form');
$header = array(
' ',
@@ -100,10 +100,10 @@ function dblog_overview() {
$rows[] = array(array('data' => t('No log messages available.'), 'colspan' => 6));
}
- $output .= theme('table', $header, $rows, array('id' => 'admin-dblog'));
- $output .= theme('pager', NULL);
+ $build['dblog_table'] = array('#markup' => theme('table', $header, $rows, array('id' => 'admin-dblog')));
+ $build['dblog_pager'] = array('#markup' => theme('pager', NULL));
- return $output;
+ return $build;
}
/**