Changeset 1175
- Timestamp:
- 06/28/07 11:16:13 (1 year ago)
- Files:
-
- devel/mod/generic_comments/comments_actions.php (modified) (1 diff)
- devel/mod/generic_comments/lib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/generic_comments/comments_actions.php
r1168 r1175 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 $commenturl = $CFG->wwwroot."mod/generic_comments/comment_page.php?object_id={$comment->object_id}&object_type={$comment->object_type}&comment_sort=ASC"; 67 67 $username = "<a href=\"" . river_get_userurl($comment->owner) . "\">" . user_info("username", $comment->owner) . "</a>"; 68 68 if (!isset($comment->owner)) devel/mod/generic_comments/lib.php
r1174 r1175 60 60 $txt = __gettext('Click to add or view comments on this file.'); 61 61 $int = implode('',action('annotate',$object->ident,$object_type,NULL, 62 array('comment_form_type'=>'inline', 'comment_sort'=>' DESC', 'comment_form_text'=>$txt)));62 array('comment_form_type'=>'inline', 'comment_sort'=>'ASC', 'comment_form_text'=>$txt))); 63 63 64 64 $return .= <<< END … … 71 71 END; 72 72 $return .= implode('',action('annotate',$object->ident,$object_type,NULL, 73 array('comment_form_type'=>'summary', 'comment_sort'=>' DESC', 'comment_form_text'=>$txt)));73 array('comment_form_type'=>'summary', 'comment_sort'=>'ASC', 'comment_form_text'=>$txt))); 74 74 75 75 $return .= <<< END
