summaryrefslogtreecommitdiff
path: root/modules/media_rss/helpers/media_rss_block.php
AgeCommit message (Collapse)Author
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2008-11-28Create media_rss helper and move feed generation in there, so that weBharat Mediratta
can get to the feed from other parts of the code.
2008-11-28Add a media_rss feed for tag views.Bharat Mediratta
When visiting a photo, show the feed for the parent album.
2008-11-26Add a new "tag" page type.Bharat Mediratta
Create the concept of "page types" which let us specify the kind of page that we're rendering in high level terms. Currently there are three page types: album, photo and tag. The tag page type uses slightly different variables. It has a $tag but no $item. Adjust all sidebar_block() functions to avoid printing stuff that's dependent on the item if there is no item. Simplify the tag code to stop trying to fake an item. Update the theme slightly to use $item and $tag where appropriate (notably, for making the <title> element).
2008-11-212nd attempt at inserting html by modules.Tim Almdal