aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default/river/item/wrapper.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
commit4d80bc33b8924038bd1ca57d548828afe661bb42 (patch)
tree600b8a2d46ea899d35582667ed00049a0a4367cc /mod/riverdashboard/views/default/river/item/wrapper.php
parent89ded32abebd0f2100e0014249df54bde7a44258 (diff)
downloadelgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.gz
elgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.bz2
Refs #2700 replaced most underscores with hyphens - there may be broken display code due to extent of this change
git-svn-id: http://code.elgg.org/elgg/trunk@7493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default/river/item/wrapper.php')
-rw-r--r--mod/riverdashboard/views/default/river/item/wrapper.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php
index 0413775d6..8e93b25b5 100644
--- a/mod/riverdashboard/views/default/river/item/wrapper.php
+++ b/mod/riverdashboard/views/default/river/item/wrapper.php
@@ -41,12 +41,12 @@ if ($comment_count < 3) {
}
?>
-<div class="river_item riverdashboard" id="river_entity_<?php echo $object->guid; ?>">
- <span class="river_item_useravatar">
+<div class="river-item riverdashboard" id="river_entity_<?php echo $object->guid; ?>">
+ <span class="river-item-useravatar">
<?php echo elgg_view("profile/icon",array('entity' => $user, 'size' => 'small')); ?>
</span>
- <div class="river_item_contents clearfix">
+ <div class="river-item-contents clearfix">
<?php
// body contents, generated by the river view in each plugin
@@ -56,30 +56,30 @@ echo $vars['body'];
if ($comments){
$counter = 0;
- echo "<div class='river_comments_tabs clearfix'>";
- echo "<a class='river_more_comments show_comments_button link'>" . elgg_echo('comments') . '</a>';
+ echo "<div class='river-comments-tabs clearfix'>";
+ echo "<a class='river-more-comments show_comments_button link'>" . elgg_echo('comments') . '</a>';
if ($likes_count != 0) {
echo elgg_view('likes/forms/display', array('entity' => $object));
}
- echo "</div>"; // close river_comments_tabs
+ echo "</div>"; // close river-comments-tabs
- echo "<div class='river_comments'>";
+ echo "<div class='river-comments'>";
if ($likes_count != 0) {
//show the users who liked the object
// this is loaded via ajax to avoid pounding the server with avatar requests.
- echo "<div class='likes_list hidden'></div>";
+ echo "<div class='likes-list hidden'></div>";
}
echo "<div class=\"comments_container\">";
// display appropriate comment link
if ($more_comments_count > 0) {
- echo "<a class=\"river_more_comments show_more_button link\">" .
+ echo "<a class=\"river-more-comments show_more_button link\">" .
elgg_echo('riverdashboard:n_more_comments', array($more_comments_count)) . '</a>';
- echo "<a style=\"display: none\" class=\"river_more_comments show_less_button link\">" . elgg_echo('riverdashboard:show_less') . '</a>';
+ echo "<a style=\"display: none\" class=\"river-more-comments show_less_button link\">" . elgg_echo('riverdashboard:show_less') . '</a>';
}
echo "<div class=\"comments_list\">";
foreach ($comments as $comment) {
@@ -95,27 +95,27 @@ if ($comments){
$alt = 'penultimate';
}
//display comment
- echo "<div class='river_comment $alt clearfix'>";
- echo "<span class='river_comment_owner_icon'>";
+ echo "<div class='river-comment $alt clearfix'>";
+ echo "<span class='river-comment-owner-icon'>";
echo elgg_view("profile/icon", array('entity' => $comment_owner, 'size' => 'tiny'));
echo "</span>";
//truncate comment to 150 characters and strip tags
$contents = elgg_get_excerpt($comment->value, 150);
- echo "<div class='river_comment_contents'>";
+ echo "<div class='river-comment-contents'>";
echo "<a href=\"{$comment_owner_url}\">" . $comment_owner->name . '</a>&nbsp;<span class="elgg_excerpt">' . parse_urls($contents) . '</span>';
- echo "<span class='entity_subtext'>" . elgg_view_friendly_time($comment->time_created) . "</span>";
+ echo "<span class='entity-subtext'>" . elgg_view_friendly_time($comment->time_created) . "</span>";
echo "</div></div>";
$counter++;
}
- // close comments_list, comments_container and river_comments
- echo '</div></div>' . elgg_make_river_comment($object) . '</div>';
+ // close comments_list, comments_container and river-comments
+ echo '</div></div>' . elgg_make_river-comment($object) . '</div>';
} else {
// tab bar nav - for users that liked object
if ($vars['item']->type != 'user' && $likes_count != 0) {
- echo "<div class='river_comments_tabs clearfix'>";
+ echo "<div class='river-comments-tabs clearfix'>";
}
if ($likes_count != 0) {
@@ -123,15 +123,15 @@ if ($comments){
}
if ($vars['item']->type != 'user' && $likes_count != 0) {
- echo "</div>"; // close river_comments_tabs
+ echo "</div>"; // close river-comments-tabs
}
if ($vars['item']->type != 'user') {
- echo "<div class='river_comments'>";
+ echo "<div class='river-comments'>";
}
if ($likes_count != 0) {
//show the users who liked the object
- echo "<div class='likes_list hidden'>";
+ echo "<div class='likes-list hidden'>";
echo list_annotations($object->getGUID(), 'likes', 99);
echo "</div>";
}
@@ -139,7 +139,7 @@ if ($comments){
// if there are no comments to display
// and this is not a user - include the inline comment form
if ($vars['item']->type != 'user') {
- echo elgg_make_river_comment($object);
+ echo elgg_make_river-comment($object);
}
if ($vars['item']->type != 'user') {
echo "</div>";