summaryrefslogtreecommitdiff
path: root/modules/queue.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
committerDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
commit9979aceab035616297b1ba95ec33c9905a4fed2b (patch)
tree37679df887bb271ddee3ba22f91a305c9ad6b40f /modules/queue.module
parentc13abe16555a8a7f70021dae0cf9f3dd20e6c83d (diff)
downloadbrdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.gz
brdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.bz2
- Patch #12783 by Stefan: various small consistency/usability improvements.
Diffstat (limited to 'modules/queue.module')
-rw-r--r--modules/queue.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/queue.module b/modules/queue.module
index 891457380..934881e92 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -136,7 +136,11 @@ function queue_overview() {
}
if ($pager = theme('pager', NULL, 10, 0, tablesort_pager())) {
- $rows[] = array(array('data' => $pager, 'colspan' => 4));
+ $rows[] = array(array('data' => $pager, 'colspan' => '4'));
+ }
+
+ if (!$rows) {
+ $rows[] = array(array('data' => t('No posts available in queue.'), 'colspan' => '4'));
}
$output = '<div id="queue">';