diff options
Diffstat (limited to 'mod/riverdashboard/endpoint')
-rw-r--r-- | mod/riverdashboard/endpoint/get_comments.php | 8 | ||||
-rw-r--r-- | mod/riverdashboard/endpoint/ping.php | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/mod/riverdashboard/endpoint/get_comments.php b/mod/riverdashboard/endpoint/get_comments.php index 22d89bcfd..f130cfd3c 100644 --- a/mod/riverdashboard/endpoint/get_comments.php +++ b/mod/riverdashboard/endpoint/get_comments.php @@ -25,16 +25,16 @@ foreach ($comments as $comment) { $comment_owner_url = $comment_owner->getURL(); //display comment - echo "<div class='river_comment clearfix'>"; - echo "<span class='river_comment_owner_icon'>"; + echo "<div class='river-comment 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> <span class="twitter_anywhere">' . 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>"; }
\ No newline at end of file diff --git a/mod/riverdashboard/endpoint/ping.php b/mod/riverdashboard/endpoint/ping.php index 5dd3bff5e..239582bf2 100644 --- a/mod/riverdashboard/endpoint/ping.php +++ b/mod/riverdashboard/endpoint/ping.php @@ -17,8 +17,8 @@ $last_reload = time() - $seconds_passed; // This entire system is driven by the river table. // There is no core interface to simply grab the number of entries in the table. -// In order for something to count as an update, you must put a call to add_river_item(). -// @todo Remove this when elgg_get_river_items() supports 1.7-style API and count => TRUE and not group by object_guid +// In order for something to count as an update, you must put a call to add_river-item(). +// @todo Remove this when elgg_get_river-items() supports 1.7-style API and count => TRUE and not group by object_guid // river table does not have columns expected by get_access_sql_suffix so we modify its output $access = str_replace("and enabled='yes'", '', str_replace('owner_guid', 'subject_guid', get_access_sql_suffix_new('r', 'e'))); @@ -34,7 +34,7 @@ if ($d = get_data($q)) { if ($all_activity > 0) { $s = ($all_activity == 1) ? '' : 's'; - echo "<a href='' onClick=\"window.location.reload();\" class='update_link'>$all_activity update$s!</a>"; + echo "<a href='' onClick=\"window.location.reload();\" class='update-link'>$all_activity update$s!</a>"; ?> <script type="text/javascript"> $(document).ready(function(){ |