From c41553d5e532ca86070d511d50d150d97869bb84 Mon Sep 17 00:00:00 2001 From: pete Date: Fri, 12 Mar 2010 15:53:03 +0000 Subject: Updated/cleaned-up generic comments with new UI. git-svn-id: http://code.elgg.org/elgg/trunk@5377 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/annotation/annotate.php | 2 +- views/default/annotation/generic_comment.php | 55 +++++++++++++--------------- views/default/annotation/latest_comments.php | 7 +--- 3 files changed, 29 insertions(+), 35 deletions(-) (limited to 'views/default/annotation') diff --git a/views/default/annotation/annotate.php b/views/default/annotation/annotate.php index a1940bed7..e66035204 100644 --- a/views/default/annotation/annotate.php +++ b/views/default/annotation/annotate.php @@ -14,7 +14,7 @@ $string = sprintf(elgg_echo("river:posted:generic"),$url) . " "; $string .= elgg_echo("{$subtype}:river:annotate") . " getURL()}\">" . $title . " " . friendly_time($object->time_created); if(get_context() != 'riverdashboard'){ - $string .= "
"; + $string .= "
"; if($comment){ $contents = strip_tags($comment);//this is so we don't get large images etc in the activity river if(strlen($contents) > 200) diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php index c747120be..ebcae0f97 100644 --- a/views/default/annotation/generic_comment.php +++ b/views/default/annotation/generic_comment.php @@ -6,44 +6,41 @@ $owner = get_user($vars['annotation']->owner_guid); ?> -
- +
$owner, - 'size' => 'small' - ) - ); + 'size' => 'tiny' + )); ?>
+
canEdit()) { - - ?> - - $vars['url'] . "action/comments/delete?annotation_id=" . $vars['annotation']->id, - 'text' => elgg_echo('delete'), - 'confirm' => elgg_echo('deleteconfirm'), - )); - - ?> - - - canEdit()) { + ?> + + $vars['url'] . "action/comments/delete?annotation_id=" . $vars['annotation']->id, + 'text' => elgg_echo('delete'), + 'confirm' => elgg_echo('deleteconfirm') + )); + ?> + +

- name; ?> time_created); ?> + name; ?> + + time_created); ?> +

-
$vars['annotation']->value)); ?>
-
-
\ No newline at end of file +
+ $vars['annotation']->value)); ?> +
+
+
\ No newline at end of file diff --git a/views/default/annotation/latest_comments.php b/views/default/annotation/latest_comments.php index 85ddfab7b..6ab7163ed 100644 --- a/views/default/annotation/latest_comments.php +++ b/views/default/annotation/latest_comments.php @@ -5,8 +5,6 @@ if($vars['comments']){ global $CONFIG; - - echo ""; } \ No newline at end of file -- cgit v1.2.3