aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 19:16:31 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-10 19:16:31 +0000
commitd6b8eb0766aa3c3b5c09c58f117ca35a68e04303 (patch)
treeddada028c95540e8afadf514bc07aee25c85f5e2 /mod
parentda127e1bc7bb7fe58daabd06ce2aad1163cd7ef1 (diff)
downloadelgg-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')
-rw-r--r--mod/riverdashboard/endpoint/get_comments.php2
-rw-r--r--mod/riverdashboard/views/default/river/item/wrapper.php2
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>&nbsp;<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>&nbsp;<span class="twitter_anywhere">' . parse_urls($contents) . '</span>';
echo "<span class='entity_subtext'>" . friendly_time($comment->time_created) . "</span>";
echo "</div></div>";
$counter++;