diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-15 11:16:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-15 11:16:39 +0000 |
commit | 9979aceab035616297b1ba95ec33c9905a4fed2b (patch) | |
tree | 37679df887bb271ddee3ba22f91a305c9ad6b40f /modules/queue.module | |
parent | c13abe16555a8a7f70021dae0cf9f3dd20e6c83d (diff) | |
download | brdo-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.module | 6 |
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">'; |