|
From: Jon O. <jon...@us...> - 2008-07-01 21:50:36
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv448/pafiledb/includes Modified Files: functions_comment.php Log Message: image buttons minor bugfixes cleanup Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_comment.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** functions_comment.php 3 Jun 2008 20:17:06 -0000 1.28 --- functions_comment.php 1 Jul 2008 21:50:32 -0000 1.29 *************** *** 21,30 **** { /** ! * Enter description here... * * @param unknown_type $item_data * @param unknown_type $comments_type */ ! function init( $item_data, $comments_type = 1 ) { global $pafiledb, $pafiledb_config, $db, $images; --- 21,30 ---- { /** ! * Init Comment vars. * * @param unknown_type $item_data * @param unknown_type $comments_type */ ! function init( $item_data, $comments_type = 'internal' ) { global $pafiledb, $pafiledb_config, $db, $images; *************** *** 101,109 **** $this->formatting_comment_wordwrap = $pafiledb_config['formatting_comment_wordwrap']; $this->images = array( 'icon_minipost' => $images['pa_icon_minipost'], ! 'comment_post' => 'pa_comment_post', ! 'icon_edit' => 'pa_comment_edit', ! 'icon_delpost' => 'pa_comment_delete'); $this->u_post = $pafiledb->this_mxurl( 'action=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id); --- 101,116 ---- $this->formatting_comment_wordwrap = $pafiledb_config['formatting_comment_wordwrap']; + // + // Define comments images + // $this->images = array( 'icon_minipost' => $images['pa_icon_minipost'], ! //'comment_post' => $images['pa_comment_post'], ! 'comment_post' => 'pa_comment_post', // Button ! //'icon_edit' => $images['pa_comment_edit'], ! 'icon_edit' => 'pa_comment_edit', // Button ! //'icon_delpost' => $images['pa_comment_delete'], ! 'icon_delpost' => 'pa_comment_delete' // Button ! ); $this->u_post = $pafiledb->this_mxurl( 'action=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id); |