diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 19:16:31 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 19:16:31 +0000 |
commit | d6b8eb0766aa3c3b5c09c58f117ca35a68e04303 (patch) | |
tree | ddada028c95540e8afadf514bc07aee25c85f5e2 /mod/riverdashboard | |
parent | da127e1bc7bb7fe58daabd06ce2aad1163cd7ef1 (diff) | |
download | elgg-d6b8eb0766aa3c3b5c09c58f117ca35a68e04303.tar.gz elgg-d6b8eb0766aa3c3b5c09c58f117ca35a68e04303.tar.bz2 |
Adding "twitter_anywhere" class to Conversation and Riverdashboard posts.
git-svn-id: http://code.elgg.org/elgg/trunk@6445 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard')
-rw-r--r-- | mod/riverdashboard/endpoint/get_comments.php | 2 | ||||
-rw-r--r-- | mod/riverdashboard/views/default/river/item/wrapper.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/riverdashboard/endpoint/get_comments.php b/mod/riverdashboard/endpoint/get_comments.php index 59ff3d785..b6f4b565a 100644 --- a/mod/riverdashboard/endpoint/get_comments.php +++ b/mod/riverdashboard/endpoint/get_comments.php @@ -34,7 +34,7 @@ foreach ($comments as $comment) { $contents = elgg_make_excerpt($comment->value, 150); echo "<div class='river_comment_contents'>"; - echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . "</a> " . parse_urls($contents); + echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . '</a> <span class="twitter_anywhere">' . parse_urls($contents) . '</span>'; echo "<span class='entity_subtext'>" . friendly_time($comment->time_created) . "</span>"; echo "</div></div>"; }
\ No newline at end of file diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php index 6e106529e..57b241114 100644 --- a/mod/riverdashboard/views/default/river/item/wrapper.php +++ b/mod/riverdashboard/views/default/river/item/wrapper.php @@ -102,7 +102,7 @@ if ($comments){ $contents = elgg_make_excerpt($comment->value, 150); echo "<div class='river_comment_contents'>"; - echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . "</a> " . parse_urls($contents); + echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . '</a> <span class="twitter_anywhere">' . parse_urls($contents) . '</span>'; echo "<span class='entity_subtext'>" . friendly_time($comment->time_created) . "</span>"; echo "</div></div>"; $counter++; |