summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-13 08:02:38 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-13 08:02:38 +0000
commita5adbe4636816846cf35ed05c90eac35bbf8995e (patch)
tree219cb2a382cfb53d9bcac293947313474f06d73e /modules/aggregator/aggregator.module
parenteddb278a0a4dd0ccbfc0370349d2a9f9cd97fea6 (diff)
downloadbrdo-a5adbe4636816846cf35ed05c90eac35bbf8995e.tar.gz
brdo-a5adbe4636816846cf35ed05c90eac35bbf8995e.tar.bz2
#173082 by dvessel: tplify aggregator module, make more stuff themeable
Diffstat (limited to 'modules/aggregator/aggregator.module')
-rw-r--r--modules/aggregator/aggregator.module27
1 files changed, 24 insertions, 3 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 281f4df95..6015d3b6e 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -30,24 +30,45 @@ function aggregator_help($path, $arg) {
*/
function aggregator_theme() {
return array(
- 'aggregator_page_list' => array(
+ 'aggregator_wrapper' => array(
+ 'arguments' => array('content' => NULL),
+ 'file' => 'aggregator.pages.inc',
+ 'template' => 'aggregator-wrapper',
+ ),
+ 'aggregator_categorize_items' => array(
'arguments' => array('form' => NULL),
'file' => 'aggregator.pages.inc',
),
- 'aggregator_feed' => array(
+ 'aggregator_feed_source' => array(
'arguments' => array('feed' => NULL),
'file' => 'aggregator.pages.inc',
+ 'template' => 'aggregator-feed-source',
),
'aggregator_block_item' => array(
'arguments' => array('item' => NULL, 'feed' => 0),
),
+ 'aggregator_summary_items' => array(
+ 'arguments' => array('summary_items' => NULL, 'source' => NULL),
+ 'file' => 'aggregator.pages.inc',
+ 'template' => 'aggregator-summary-items',
+ ),
'aggregator_summary_item' => array(
'arguments' => array('item' => NULL),
'file' => 'aggregator.pages.inc',
+ 'template' => 'aggregator-summary-item',
),
- 'aggregator_page_item' => array(
+ 'aggregator_item' => array(
'arguments' => array('item' => NULL),
'file' => 'aggregator.pages.inc',
+ 'template' => 'aggregator-item',
+ ),
+ 'aggregator_page_opml' => array(
+ 'arguments' => array('feeds' => NULL),
+ 'file' => 'aggregator.pages.inc',
+ ),
+ 'aggregator_page_rss' => array(
+ 'arguments' => array('feeds' => NULL, 'category' => NULL),
+ 'file' => 'aggregator.pages.inc',
),
);
}