|
From: Jon O. <jon...@us...> - 2008-07-08 22:07:40
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10399/includes Modified Files: functions_bugsbt.php functions_comment.php Log Message: Still updating/debugging generic core comments Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions_comment.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** functions_comment.php 1 Jul 2008 21:48:07 -0000 1.6 --- functions_comment.php 8 Jul 2008 22:07:05 -0000 1.7 *************** *** 80,84 **** $this->pagination_num = empty($show_num_comments) ? $this->pagination_num : $show_num_comments; ! $this->u_pagination = $mx_bugsbt->this_mxurl( $this->pagination_action . "&" . $this->pagination_target . $this->item_id ); // --- 80,84 ---- $this->pagination_num = empty($show_num_comments) ? $this->pagination_num : $show_num_comments; ! $this->u_pagination = $mx_bugsbt->this_mxurl( $this->pagination_action . "&" . $this->pagination_target . $this->item_id,false, false, $_GET['page_id'] ); // *************** *** 114,118 **** ); ! $this->u_post = $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id); //$this->u_edit = $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id ); //$this->u_delete = $mx_bugsbt->this_mxurl( "mode=post_comment&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id ); --- 114,118 ---- ); ! //$this->u_post = $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id); //$this->u_edit = $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id ); //$this->u_delete = $mx_bugsbt->this_mxurl( "mode=post_comment&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id ); *************** *** 126,130 **** function u_post() { ! return mx_append_sid($this->u_post); } --- 126,131 ---- function u_post() { ! //return mx_append_sid($this->u_post); ! return 'javascript:void(0)" onclick="commentBug('. $this->item_id .');'; } *************** *** 162,165 **** --- 163,167 ---- { return $this->u_pagination . $page_num; + //return 'javascript:void(0)" onclick="viewBug('.$this->item_id.');'; } Index: functions_bugsbt.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions_bugsbt.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** functions_bugsbt.php 3 Jun 2008 20:07:46 -0000 1.10 --- functions_bugsbt.php 8 Jul 2008 22:07:05 -0000 1.11 *************** *** 1360,1363 **** --- 1360,1365 ---- $dynamicId = !empty($_GET['dynamic_block']) ? ( $non_html_amp ? '&dynamic_block=' : '&dynamic_block=' ) . $_GET['dynamic_block'] : ''; + $args .= ($args == '' ? '' : '&' ) . 'modrewrite=no'; + if ( !MXBB_MODULE ) { |