From 694781d190fba09437a37983f077d0381a56050b Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 16 Oct 2009 21:25:25 +0000 Subject: Finished standardizing seconday views. git-svn-id: http://code.elgg.org/elgg/trunk@3559 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/rss/annotation/default.php | 80 +++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 42 deletions(-) (limited to 'views/rss/annotation') diff --git a/views/rss/annotation/default.php b/views/rss/annotation/default.php index 1433ba9b0..8ff34b7fa 100644 --- a/views/rss/annotation/default.php +++ b/views/rss/annotation/default.php @@ -1,50 +1,46 @@ entity_guid); +$title = substr($vars['annotation']->value, 0, 32); +if (strlen($vars['annotation']->value) > 32) { + $title .= " ..."; +} - * @author Curverider Ltd - - * @link http://elgg.org/ - * - */ - - - $vars['entity'] = get_entity($vars['annotation']->entity_guid); - $title = substr($vars['annotation']->value,0,32); - if (strlen($vars['annotation']->value) > 32) - $title .= " ..."; - ?> - getURL(); ?>#id; ?> - time_created) ?> - getURL(); ?>#id; ?> - <![CDATA[<?php echo $title; ?>]]> - value)); ?>]]> - owner); - if ($owner) - { + getURL(); ?>#id; ?> + time_created) ?> + getURL(); ?>#id; ?> + <![CDATA[<?php echo $title; ?>]]> + value)); ?>]]> + owner); + if ($owner) { ?> - name; ?> + name; ?> - getLongitude()) && - ($vars['entity']->getLatitude()) - ) { - ?> - getLatitude(); ?> getLongitude(); ?> - - - + } + ?> + getLongitude()) && + ($vars['entity']->getLatitude()) + ) { + ?> + getLatitude(); ?> getLongitude(); ?> + + + \ No newline at end of file -- cgit v1.2.3