diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
commit | 621177abc2bc60e9edb3ca723a4afaa9d9e713ef (patch) | |
tree | d6064f1fe767d042ea41e4adea88e57b8e5138ff /views/rss/object/image.php | |
parent | b40060fafaba46e2fb8800b2c2e557a8c6bde9db (diff) | |
download | elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.gz elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.bz2 |
convert line endings to Unix
Diffstat (limited to 'views/rss/object/image.php')
-rw-r--r-- | views/rss/object/image.php | 36 |
1 files changed, 18 insertions, 18 deletions
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 @@ -<?php
-
-$title = $vars['entity']->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=';
-?>
-
- <item>
- <title><?php echo $title; ?></title>
- <link><?php echo $base_url . $vars['entity']->guid . '&size=large'; ?></link>
- <description><?php echo htmlentities($descr, ENT_QUOTES); ?></description>
- <pubDate><?php echo date("r", $vars['entity']->time_created); ?></pubDate>
- <guid isPermaLink="true"><?php echo $vars['entity']->getURL(); ?></guid>
- <media:content url="<?php echo $download; ?>" medium="image" type="<?php echo $vars['entity']->getMimeType(); ?>" />
- <media:title><?php echo $title; ?></media:title>
- <media:description><?php echo htmlentities($descr); ?></media:description>
- <media:thumbnail url="<?php echo $base_url . $vars['entity']->guid . '&size=thumb'; ?>"></media:thumbnail>
+<?php + +$title = $vars['entity']->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='; +?> + + <item> + <title><?php echo $title; ?></title> + <link><?php echo $base_url . $vars['entity']->guid . '&size=large'; ?></link> + <description><?php echo htmlentities($descr, ENT_QUOTES); ?></description> + <pubDate><?php echo date("r", $vars['entity']->time_created); ?></pubDate> + <guid isPermaLink="true"><?php echo $vars['entity']->getURL(); ?></guid> + <media:content url="<?php echo $download; ?>" medium="image" type="<?php echo $vars['entity']->getMimeType(); ?>" /> + <media:title><?php echo $title; ?></media:title> + <media:description><?php echo htmlentities($descr); ?></media:description> + <media:thumbnail url="<?php echo $base_url . $vars['entity']->guid . '&size=thumb'; ?>"></media:thumbnail> </item>
\ No newline at end of file |