Changeset 1168
- Timestamp:
- 06/26/07 10:17:13 (1 year ago)
- Files:
-
- devel/mod/generic_comments/comments_actions.php (modified) (2 diffs)
- devel/mod/generic_comments/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/generic_comments/comments_actions.php
r1158 r1168 64 64 if (function_exists('river_save_event')) 65 65 { 66 $commenturl = $CFG->wwwroot."mod/generic_comments/comment_page.php?object_id={$comment->object_id}&object_type={$comment->object_type}&comment_sort=DESC"; 66 67 $username = "<a href=\"" . river_get_userurl($comment->owner) . "\">" . user_info("username", $comment->owner) . "</a>"; 67 68 if (!isset($comment->owner)) … … 71 72 } 72 73 73 river_save_event($comment->owner, $comment->object_id, $comment->owner, $comment->object_type, $username . " " . __gettext("commented on") . "'" . river_get_friendly_id($comment->object_type, $comment->object_id) . "'");74 river_save_event($comment->owner, $comment->object_id, $comment->owner, $comment->object_type, $username . " <a href=\"$commenturl\">" . __gettext("commented on") . "</a> '" . river_get_friendly_id($comment->object_type, $comment->object_id) . "'"); 74 75 75 76 } devel/mod/generic_comments/lib.php
r1146 r1168 24 24 // Add annotation support 25 25 display_set_display_annotation_function("file::file", "generic_comments_displayobjectannotations"); 26 display_set_display_annotation_function("mediastream::media", "generic_comments_displayobjectannotations"); 26 27 27 28 // Register file river hook (if there)
