]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Adding "twitter_anywhere" class to Conversation and Riverdashboard posts.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 10 Jun 2010 19:16:31 +0000 (19:16 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 10 Jun 2010 19:16:31 +0000 (19:16 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6445 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/riverdashboard/endpoint/get_comments.php
mod/riverdashboard/views/default/river/item/wrapper.php

index 59ff3d78546fb847461d381907a231c203341845..b6f4b565a539cea42201ffe1d17842e6dd5acbfe 100644 (file)
@@ -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
index 6e106529eee23f9c233829b258332047e199bc7b..57b24111494d9dc0d9b76c25c54d072169c5f506 100644 (file)
@@ -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++;