From 621177abc2bc60e9edb3ca723a4afaa9d9e713ef Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 12 Dec 2009 19:51:49 +0000 Subject: convert line endings to Unix --- views/rss/object/album.php | 88 +++++++++++++++++++++++----------------------- views/rss/object/file.php | 46 ++++++++++++------------ views/rss/object/image.php | 36 +++++++++---------- 3 files changed, 85 insertions(+), 85 deletions(-) (limited to 'views/rss/object') diff --git a/views/rss/object/album.php b/views/rss/object/album.php index 990322baf..2ad4ed9f7 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -1,45 +1,45 @@ -cover) { - // Set title - $vars['title'] = $album->title; - if (empty($vars['title'])) { - $title = $vars['config']->sitename; - } else if (empty($vars['config']->sitename)) { - $title = $vars['title']; - } else { - $title = $vars['config']->sitename . ": " . $vars['title']; - } - $album_cover_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb'; -?> - - <![CDATA[<?php echo $title; ?>]]> - getURL() . '?view=rss'; ?> - -guid); - - - foreach ($images as $image) { - echo elgg_view_entity($image); - } - -} +cover) { + // Set title + $vars['title'] = $album->title; + if (empty($vars['title'])) { + $title = $vars['config']->sitename; + } else if (empty($vars['config']->sitename)) { + $title = $vars['title']; + } else { + $title = $vars['config']->sitename . ": " . $vars['title']; + } + $album_cover_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb'; +?> + + <![CDATA[<?php echo $title; ?>]]> + getURL() . '?view=rss'; ?> + +guid); + + + foreach ($images as $image) { + echo elgg_view_entity($image); + } + +} ?> \ No newline at end of file diff --git a/views/rss/object/file.php b/views/rss/object/file.php index e40da4f69..36740f003 100644 --- a/views/rss/object/file.php +++ b/views/rss/object/file.php @@ -1,23 +1,23 @@ -title; - if (empty($title)) { - $title = substr($vars['entity']->description,0,32); - if (strlen($vars['entity']->description) > 32) - $title .= " ..."; - } - -?> - - - getURL(); ?> - time_created) ?> - getURL(); ?> - <![CDATA[<?php echo $title; ?>]]> - description)); ?>]]> - - +title; + if (empty($title)) { + $title = substr($vars['entity']->description,0,32); + if (strlen($vars['entity']->description) > 32) + $title .= " ..."; + } + +?> + + + getURL(); ?> + time_created) ?> + getURL(); ?> + <![CDATA[<?php echo $title; ?>]]> + description)); ?>]]> + + diff --git a/views/rss/object/image.php b/views/rss/object/image.php index dafc05f45..b93592081 100644 --- a/views/rss/object/image.php +++ b/views/rss/object/image.php @@ -1,19 +1,19 @@ -title; -$descr = $vars['entity']->description; -$download = $vars['url'] . 'pg/photos/download/' . $vars['entity']->guid . '/inline/'; -$base_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid='; -?> - - - <?php echo $title; ?> - guid . '&size=large'; ?> - - time_created); ?> - getURL(); ?> - - - - +title; +$descr = $vars['entity']->description; +$download = $vars['url'] . 'pg/photos/download/' . $vars['entity']->guid . '/inline/'; +$base_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid='; +?> + + + <?php echo $title; ?> + guid . '&size=large'; ?> + + time_created); ?> + getURL(); ?> + + + + \ No newline at end of file -- cgit v1.2.3