diff options
Diffstat (limited to 'views/rss/object')
-rw-r--r-- | views/rss/object/album.php | 1 | ||||
-rw-r--r-- | views/rss/object/file.php | 18 |
2 files changed, 9 insertions, 10 deletions
diff --git a/views/rss/object/album.php b/views/rss/object/album.php index 8542b95f4..34cf58395 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -51,4 +51,3 @@ if (get_context() == "search" && get_input('search_viewtype') == "gallery") { } } -?>
\ No newline at end of file diff --git a/views/rss/object/file.php b/views/rss/object/file.php index 36740f003..1ede661ad 100644 --- a/views/rss/object/file.php +++ b/views/rss/object/file.php @@ -1,16 +1,16 @@ <?php - /** - * Tidypics RSS file object view - need to look into removing download link based on settings - */ +/** + * Tidypics RSS file object view - need to look into removing download link based on settings + */ - $title = $vars['entity']->title; - if (empty($title)) { - $title = substr($vars['entity']->description,0,32); - if (strlen($vars['entity']->description) > 32) - $title .= " ..."; +$title = $vars['entity']->title; +if (empty($title)) { + $title = substr($vars['entity']->description,0,32); + if (strlen($vars['entity']->description) > 32) { + $title .= " ..."; } - +} ?> <item> |