diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-15 03:09:47 +0800 |
---|---|---|
committer | <unostar@danalan.info> | 2009-06-15 04:26:03 +0800 |
commit | 6007843c4acf3a83580989351de73ae64a2e61ed (patch) | |
tree | 2529f14ad07c942fffd4127af4a1c3f7e785db1d /modules/gallery/helpers | |
parent | fdbffc870d84ec035068420f5a8b4292d7aade13 (diff) |
Remove the sidebar flag from the feed definition returned by available_feeds and
replace with a type field with one of two values (head and block). We need to
do this to determine what fields go in the rss block so we can ignore the
definitions that are related to the page head when creating the rss block that
goes into the sidebar.
Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_rss.php b/modules/gallery/helpers/gallery_rss.php index 6e722ff6..455e210f 100644 --- a/modules/gallery/helpers/gallery_rss.php +++ b/modules/gallery/helpers/gallery_rss.php @@ -21,10 +21,10 @@ class gallery_rss_Core { static function available_feeds($item) { return array(array("description" => t("New photos or movies"), - "sidebar" => true, + "type" => "block", "uri" => "updates"), array("description" => t("Album feed"), - "sidebar" => false, + "type" => "head", "uri" => "albums")); } |