summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-06 13:27:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-06 13:27:23 +0000
commit5bbbf10ba84042b8576d67576d98922c0063c6d6 (patch)
treea2eef7bccd7d5289426b3c8edc23f52bc9f6e2ed /modules/aggregator
parent21c5b71795aec277a8b01ecea74e809a24be0229 (diff)
downloadbrdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.gz
brdo-5bbbf10ba84042b8576d67576d98922c0063c6d6.tar.bz2
- Patch #130987 by merlinofchaos: added theme registry for easier themability.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 230810bd6..e4ce0cc1f 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -26,6 +26,29 @@ function aggregator_help($section) {
}
/**
+ * Implementation of hook_theme()
+ */
+function aggregator_theme() {
+ return array(
+ 'aggregator_page_list' => array(
+ 'arguments' => array('form' => NULL),
+ ),
+ 'aggregator_feed' => array(
+ 'arguments' => array('feed' => NULL),
+ ),
+ 'aggregator_block_item' => array(
+ 'arguments' => array('item' => NULL, 'feed' => 0),
+ ),
+ 'aggregator_summary_item' => array(
+ 'arguments' => array('item' => NULL),
+ ),
+ 'aggregator_page_item' => array(
+ 'arguments' => array('item' => NULL),
+ ),
+
+ );
+
+/**
* Implementation of hook_menu().
*/
function aggregator_menu() {