|
From: Jon O. <jon...@us...> - 2008-07-06 19:22:59
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7414 Modified Files: Tag: core28x mx_functions_tools.php Log Message: comments fix Index: mx_functions_tools.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v retrieving revision 1.15.2.9 retrieving revision 1.15.2.10 diff -C2 -d -r1.15.2.9 -r1.15.2.10 *** mx_functions_tools.php 2 Jul 2008 22:02:52 -0000 1.15.2.9 --- mx_functions_tools.php 6 Jul 2008 19:22:53 -0000 1.15.2.10 *************** *** 3635,3638 **** --- 3635,3639 ---- var $images = array('icon_minipost'=>'', 'comment_post'=>'', 'icon_edit'=>'', 'icon_delpost'=>''); + var $u_post = ''; var $u_delete = ''; *************** *** 3762,3765 **** --- 3763,3767 ---- global $template, $lang, $board_config, $phpEx, $db, $userdata, $images; global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars, $portal_config; + global $mx_user; // *************** *** 3929,3932 **** --- 3931,3935 ---- 'U_COMMENT_EDIT' => $this->u_edit($this->comments_row['comments_id']), 'EDIT_IMG' => $this->images['icon_edit'], + 'B_EDIT_IMG' => $mx_user->create_button($this->images['icon_edit'], $lang['Comment_edit'], $this->u_edit($this->comments_row['comments_id'])), )); } *************** *** 3938,3941 **** --- 3941,3945 ---- 'U_COMMENT_DELETE' => $this->u_delete($this->comments_row['comments_id']), 'DELETE_IMG' => $this->images['icon_delpost'], + 'B_DELETE_IMG' => $mx_user->create_button($this->images['icon_delpost'], $lang['Comment_delete'], $this->u_delete($this->comments_row['comments_id'])), )); } *************** *** 3956,3959 **** --- 3960,3964 ---- 'U_COMMENT_POST' => $this->u_post(), 'REPLY_IMG' => $this->images['comment_post'], + 'B_REPLY_IMG' => $mx_user->create_button($this->images['comment_post'], $lang['Comment_add'], $this->u_post()), )); } |