diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-15 02:39:53 +0800 |
|---|---|---|
| committer | <unostar@danalan.info> | 2009-06-15 04:26:01 +0800 |
| commit | fdbffc870d84ec035068420f5a8b4292d7aade13 (patch) | |
| tree | 8976399ba14ce71b80682390c8e3574e3167dca1 /modules/gallery/helpers | |
| parent | 879e81f0a1fc4477a8e563d45348330706b6da8a (diff) | |
Remove rss:item_feed, rss::tag_fead and rss_theme::head and move that
functionality in the <module_name>_theme::head function. Created rss::feed_link
to wrap the module supplied uri in the html link element.
Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index f955e8f7..290434ed 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -42,6 +42,10 @@ class gallery_theme_Core { $buf .= html::script("modules/gallery/js/fullsize.js"); } + if ($theme->item()) { + $buf .= rss::feed_link("albums/{$theme->item()->id}"); + } + if ($session->get("l10n_mode", false)) { $buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . url::file("modules/gallery/css/l10n_client.css") . "\" />"; |
