You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2008-07-13 20:14:00
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28955 Modified Files: common.php Log Message: updated Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.97 retrieving revision 1.98 diff -C2 -d -r1.97 -r1.98 *** common.php 13 Jul 2008 19:30:27 -0000 1.97 --- common.php 13 Jul 2008 20:13:56 -0000 1.98 *************** *** 260,263 **** --- 260,268 ---- // + // Instantiate the mx_bbcode class + // + $mx_bbcode = new mx_bbcode(); + + // // Is phpBB File Attachment MOD present? // |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:39:45
|
Update of /cvsroot/mxbb/mx_tinies In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5774 Modified Files: view_topics.php Log Message: related... Index: view_topics.php =================================================================== RCS file: /cvsroot/mxbb/mx_tinies/view_topics.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** view_topics.php 8 Feb 2008 23:45:05 -0000 1.3 --- view_topics.php 13 Jul 2008 19:39:43 -0000 1.4 *************** *** 164,168 **** $report_from . ' ORDER BY p2.post_time DESC'. ! " LIMIT $start, " . $board_config['topics_per_page']; if( !($result = $db->sql_query($sql)) ) { --- 164,168 ---- $report_from . ' ORDER BY p2.post_time DESC'. ! " LIMIT $start, " . (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15); if( !($result = $db->sql_query($sql)) ) { *************** *** 450,454 **** $base_url = $module_root_path . basename(__FILE__) . '?report_id=' . $report_id; ! $per_page = $board_config['topics_per_page']; $template->assign_vars(array( --- 450,454 ---- $base_url = $module_root_path . basename(__FILE__) . '?report_id=' . $report_id; ! $per_page = isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15;; $template->assign_vars(array( |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:39:33
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5738 Modified Files: album_showpage.php Log Message: related... Index: album_showpage.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_showpage.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** album_showpage.php 27 Mar 2008 14:31:11 -0000 1.4 --- album_showpage.php 13 Jul 2008 19:39:29 -0000 1.5 *************** *** 222,226 **** $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); ! } else if (($mx_cache->get('thispic'.$pic_id)) && ($use_cache)) --- 222,226 ---- $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); ! } else if (($mx_cache->get('thispic'.$pic_id)) && ($use_cache)) *************** *** 243,247 **** } } ! $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); --- 243,247 ---- } } ! $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); *************** *** 719,723 **** if( !isset($HTTP_POST_VARS['comment']) ) { ! /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Comments Screen --- 719,723 ---- if( !isset($HTTP_POST_VARS['comment']) ) { ! /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Comments Screen *************** *** 799,803 **** { $template->assign_block_vars('coment_switcharo_top', array()); ! $limit_sql = ($start == 0) ? $comments_per_page : $start .','. $comments_per_page; --- 799,803 ---- { $template->assign_block_vars('coment_switcharo_top', array()); ! $limit_sql = ($start == 0) ? $comments_per_page : $start .','. $comments_per_page; *************** *** 855,869 **** $edit_info = ''; } ! // Smilies ! $commentrow[$i]['comment_text'] = mx_smilies_pass($commentrow[$i]['comment_text']); $commentrow[$i]['comment_text'] = make_clickable($commentrow[$i]['comment_text']); $commentrow[$i]['comment_text'] = nl2br($commentrow[$i]['comment_text']); ! //email, profile, pm links $email_uri = ( $board_config['board_email_form'] ) ? mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $commentrow[$i]['user_id']) : 'mailto:' . $commentrow[$i]['user_email']; $profile_url = mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $commentrow[$i]['user_id'] ); $pm_url = mx_append_sid($phpbb_root_path ."privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=" . $commentrow[$i]['user_id']); ! //avatar $poster_avatar = ''; --- 855,869 ---- $edit_info = ''; } ! // Smilies ! $commentrow[$i]['comment_text'] = $mx_bbcode->smilies_pass($commentrow[$i]['comment_text']); $commentrow[$i]['comment_text'] = make_clickable($commentrow[$i]['comment_text']); $commentrow[$i]['comment_text'] = nl2br($commentrow[$i]['comment_text']); ! //email, profile, pm links $email_uri = ( $board_config['board_email_form'] ) ? mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $commentrow[$i]['user_id']) : 'mailto:' . $commentrow[$i]['user_email']; $profile_url = mx_append_sid($phpbb_root_path ."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $commentrow[$i]['user_id'] ); $pm_url = mx_append_sid($phpbb_root_path ."privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=" . $commentrow[$i]['user_id']); ! //avatar $poster_avatar = ''; *************** *** 883,887 **** } } ! //rank & rank image $sql = "SELECT * --- 883,887 ---- } } ! //rank & rank image $sql = "SELECT * *************** *** 937,941 **** $poster_rank = $lang['Guest']; } ! $template->assign_block_vars('commentrow', array( 'ID' => $commentrow[$i]['comment_id'], --- 937,941 ---- $poster_rank = $lang['Guest']; } ! $template->assign_block_vars('commentrow', array( 'ID' => $commentrow[$i]['comment_id'], *************** *** 943,947 **** 'TIME' => create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), 'IP' => ($userdata['user_level'] == ADMIN) ? 'http://whois.domaintools.com/' . decode_ip2($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip2($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', ! //users mesangers, website, email 'PROFILE_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . $phpbb_root_path .$profile_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>' : '', --- 943,947 ---- 'TIME' => create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), 'IP' => ($userdata['user_level'] == ADMIN) ? 'http://whois.domaintools.com/' . decode_ip2($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip2($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', ! //users mesangers, website, email 'PROFILE_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . $phpbb_root_path .$profile_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>' : '', *************** *** 953,957 **** 'EMAIL_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>' : '', 'WWW_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? ( $commentrow[$i]['user_website'] ) ? '<a href="' . $commentrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '' : '', ! 'POSTER_AVATAR' => $poster_avatar, 'POSTER_RANK' => $poster_rank, --- 953,957 ---- 'EMAIL_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>' : '', 'WWW_IMG' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? ( $commentrow[$i]['user_website'] ) ? '<a href="' . $commentrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '' : '', ! 'POSTER_AVATAR' => $poster_avatar, 'POSTER_RANK' => $poster_rank, *************** *** 960,964 **** 'POSTER_POSTS' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $commentrow[$i]['user_posts'] : '', 'POSTER_FROM' => ( $commentrow[$i]['user_from'] && $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $commentrow[$i]['user_from'] : '', ! 'TEXT' => $commentrow[$i]['comment_text'], --- 960,964 ---- 'POSTER_POSTS' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $commentrow[$i]['user_posts'] : '', 'POSTER_FROM' => ( $commentrow[$i]['user_from'] && $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $commentrow[$i]['user_from'] : '', ! 'TEXT' => $commentrow[$i]['comment_text'], *************** *** 1024,1028 **** $sql = 'SELECT emoticon, code, smile_url ! FROM ' . SMILIES_TABLE . ' GROUP BY smile_url ORDER BY smilies_id LIMIT ' . $max_smilies; --- 1024,1028 ---- $sql = 'SELECT emoticon, code, smile_url ! FROM ' . SMILIES_TABLE . ' GROUP BY smile_url ORDER BY smilies_id LIMIT ' . $max_smilies; *************** *** 1060,1064 **** { for ($i = 0; $i < $album_config['rate_scale']; $i++) ! { $template->assign_block_vars('switch_comment_post.rate_row', array( 'POINT' => ($i + 1) --- 1060,1064 ---- { for ($i = 0; $i < $album_config['rate_scale']; $i++) ! { $template->assign_block_vars('switch_comment_post.rate_row', array( 'POINT' => ($i + 1) *************** *** 1104,1108 **** $slideshow_select .= '<option value="10">10 Sec</option>'; $slideshow_select .= '</select> '; ! $slideshow_onoff = $lang['Slideshow_On']; //$slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true&slideshow=' . $slideshow_delay)); $slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true')); --- 1104,1108 ---- $slideshow_select .= '<option value="10">10 Sec</option>'; $slideshow_select .= '</select> '; ! $slideshow_onoff = $lang['Slideshow_On']; //$slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true&slideshow=' . $slideshow_delay)); $slideshow_link = mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true')); *************** *** 1179,1188 **** 'U_PIC_L2' => ( $picm ) ? '</a>' : '', 'U_PIC_CLICK' => ( $picm ) ? '' : 'Click on image to view larger image', ! 'U_PIC_THUMB' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_thumbnail&pic_id=' . $pic_id . $full_size_param . $nuffimage_vars, true)), 'U_PIC_LINK' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $pic_id . $full_size_param . $nuffimage_vars, false)), 'U_SMILEY_CREATOR' => mx_append_sid(this_smartor_mxurl('smartor_mode=smiley_creator&mode=text2shield')), ! 'NEXT_PIC' => $next_pic, 'PREV_PIC' => $prev_pic, --- 1179,1188 ---- 'U_PIC_L2' => ( $picm ) ? '</a>' : '', 'U_PIC_CLICK' => ( $picm ) ? '' : 'Click on image to view larger image', ! 'U_PIC_THUMB' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_thumbnail&pic_id=' . $pic_id . $full_size_param . $nuffimage_vars, true)), 'U_PIC_LINK' => mx_append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $pic_id . $full_size_param . $nuffimage_vars, false)), 'U_SMILEY_CREATOR' => mx_append_sid(this_smartor_mxurl('smartor_mode=smiley_creator&mode=text2shield')), ! 'NEXT_PIC' => $next_pic, 'PREV_PIC' => $prev_pic, *************** *** 1190,1194 **** 'U_NEXT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id&mode=next")), 'U_PREVIOUS' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id&mode=previous")), ! 'PIC_RATING' => $image_rating, --- 1190,1194 ---- 'U_NEXT' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id&mode=next")), 'U_PREVIOUS' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id&mode=previous")), ! 'PIC_RATING' => $image_rating, *************** *** 1235,1239 **** 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), ! // Mighty Gorgon - Slideshow - BEGIN 'L_SLIDESHOW' => $lang['Slideshow'], --- 1235,1239 ---- 'S_ALBUM_ACTION' => mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=$pic_id")), ! // Mighty Gorgon - Slideshow - BEGIN 'L_SLIDESHOW' => $lang['Slideshow'], *************** *** 1255,1259 **** 'PIC_TYPE' => strtoupper(substr($thispic['pic_filename'], strlen($thispic['pic_filename']) - 3, 3)), // Mighty Gorgon - Pic Size - END ! //rating 'S_RATE_MSG' => ( !$userdata['session_logged_in'] && $auth_data['rate'] == 0 ) ? 'Login to vote!' : ( ($already_rated) ? $lang['Already_rated'] : $lang['Rating'] ), --- 1255,1259 ---- 'PIC_TYPE' => strtoupper(substr($thispic['pic_filename'], strlen($thispic['pic_filename']) - 3, 3)), // Mighty Gorgon - Pic Size - END ! //rating 'S_RATE_MSG' => ( !$userdata['session_logged_in'] && $auth_data['rate'] == 0 ) ? 'Login to vote!' : ( ($already_rated) ? $lang['Already_rated'] : $lang['Rating'] ), *************** *** 1351,1355 **** $comment_id = $row['max'] + 1; ! // -------------------------------- --- 1351,1355 ---- $comment_id = $row['max'] + 1; ! // -------------------------------- *************** *** 1381,1385 **** //Rating System $rate_point = intval($HTTP_POST_VARS['rate']); ! if ($rate_point != -1)//if user didnt vote, dont update database { --- 1381,1385 ---- //Rating System $rate_point = intval($HTTP_POST_VARS['rate']); ! if ($rate_point != -1)//if user didnt vote, dont update database { *************** *** 1391,1395 **** $rate_user_id = $userdata['user_id']; $rate_user_ip = $userdata['session_ip']; ! $sql = "INSERT INTO ". ALBUM_RATE_TABLE ." (rate_pic_id, rate_user_id, rate_user_ip, rate_point) VALUES ('$pic_id', '$rate_user_id', '$rate_user_ip', '$rate_point')"; --- 1391,1395 ---- $rate_user_id = $userdata['user_id']; $rate_user_ip = $userdata['session_ip']; ! $sql = "INSERT INTO ". ALBUM_RATE_TABLE ." (rate_pic_id, rate_user_id, rate_user_ip, rate_point) VALUES ('$pic_id', '$rate_user_id', '$rate_user_ip', '$rate_point')"; |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:39:09
|
Update of /cvsroot/mxbb/mx_slash/includes/views In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5579/includes/views Modified Files: NewsViews.php PostingViews.php Log Message: related... Index: NewsViews.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/includes/views/NewsViews.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NewsViews.php 30 Jan 2004 20:40:24 -0000 1.1 --- NewsViews.php 13 Jul 2008 19:39:05 -0000 1.2 *************** *** 10,14 **** $this->getView(); } // end constructor ! // getView, transforms the model // for the view --- 10,14 ---- $this->getView(); } // end constructor ! // getView, transforms the model // for the view *************** *** 16,20 **** { global $db, $board_config, $lang; ! $this->assign_vars(array( 'L_POSTER' => $lang['Poster'], --- 16,20 ---- { global $db, $board_config, $lang; ! $this->assign_vars(array( 'L_POSTER' => $lang['Poster'], *************** *** 23,27 **** 'PAGINATION' => (!isset( $article )) ? generate_pagination("?news_id=".$news_id, $topics_count, 10, $start) : '' )); ! for ($i = 0; $i < $this->model->number_news; $i++) { --- 23,27 ---- 'PAGINATION' => (!isset( $article )) ? generate_pagination("?news_id=".$news_id, $topics_count, 10, $start) : '' )); ! for ($i = 0; $i < $this->model->number_news; $i++) { *************** *** 29,33 **** $entry->transform($this->model->news_items[$i]); $this->assign_block_vars('newsitem', $entry->getPostVars()); ! } } // end getView.. } --- 29,33 ---- $entry->transform($this->model->news_items[$i]); $this->assign_block_vars('newsitem', $entry->getPostVars()); ! } } // end getView.. } *************** *** 41,77 **** var $forum_url; var $format_topic_time; ! var $row_color; var $row_class; ! var $post_vars; ! function NewsViewEntry($i = null) { global $lang; $this->post_vars = array(); ! $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? 'row1' : 'row2'; ! $this->post_vars['ROW_COLOR'] = '#' . $row_color; $this->post_vars['ROW_CLASS'] = $row_class; $this->post_vars['L_REPLIES'] = $lang['Comments']; } // end constructor ! // transforms the news post // to template array function transform(& $obj) { ! global $board_config, $lang, $db, $phpEx; $this->post_vars['L_COMMENTS'] = $lang['Read_More']; $this->post_vars['NEWS_ID'] = $obj->news_id; $this->post_vars['USERNAME'] = $obj->user_name; ! $this->post_vars['NEWS_IMAGE'] = PORTAL_URL . 'modules/mx_slash/images/' . $obj->news_image; $this->post_vars['NEWS_CATEGORY'] = $obj->news_category; ! ! $this->post_vars['POST_TEXT'] = mx_decode($obj->post_text, $obj->bbcode_uid); //$this->post_vars['POST_TEXT'] = $this->trim_news_text($this->post_vars['POST_TEXT']); $this->post_vars['TOPIC_TITLE'] = $obj->topic_title; --- 41,77 ---- var $forum_url; var $format_topic_time; ! var $row_color; var $row_class; ! var $post_vars; ! function NewsViewEntry($i = null) { global $lang; $this->post_vars = array(); ! $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? 'row1' : 'row2'; ! $this->post_vars['ROW_COLOR'] = '#' . $row_color; $this->post_vars['ROW_CLASS'] = $row_class; $this->post_vars['L_REPLIES'] = $lang['Comments']; } // end constructor ! // transforms the news post // to template array function transform(& $obj) { ! global $board_config, $lang, $db, $phpEx, $mx_bbcode; $this->post_vars['L_COMMENTS'] = $lang['Read_More']; $this->post_vars['NEWS_ID'] = $obj->news_id; $this->post_vars['USERNAME'] = $obj->user_name; ! $this->post_vars['NEWS_IMAGE'] = PORTAL_URL . 'modules/mx_slash/images/' . $obj->news_image; $this->post_vars['NEWS_CATEGORY'] = $obj->news_category; ! ! $this->post_vars['POST_TEXT'] = $mx_bbcode->decode($obj->post_text, $obj->bbcode_uid); //$this->post_vars['POST_TEXT'] = $this->trim_news_text($this->post_vars['POST_TEXT']); $this->post_vars['TOPIC_TITLE'] = $obj->topic_title; *************** *** 84,93 **** $this->post_vars['FORMAT_TOPIC_TIME'] = create_date($board_config['default_dateformat'], $obj->topic_time, $board_config['board_timezone']); ! } // end transform ! function trim_news_text( &$text) { ! if ($number != 0 and strlen($text) > $number) { --- 84,93 ---- $this->post_vars['FORMAT_TOPIC_TIME'] = create_date($board_config['default_dateformat'], $obj->topic_time, $board_config['board_timezone']); ! } // end transform ! function trim_news_text( &$text) { ! if ($number != 0 and strlen($text) > $number) { *************** *** 99,103 **** $split_msg = preg_split('#<img src="'.PHPBB_URL.'images/smiles/spacer.gif" alt="spacer.gif" border="0" />#', $text); $text = $split_msg[0]; ! if ($split_msg[1]) { return true; --- 99,103 ---- $split_msg = preg_split('#<img src="'.PHPBB_URL.'images/smiles/spacer.gif" alt="spacer.gif" border="0" />#', $text); $text = $split_msg[0]; ! if ($split_msg[1]) { return true; *************** *** 109,113 **** } } // end func trim_news_text ! function getPostVars() { --- 109,113 ---- } } // end func trim_news_text ! function getPostVars() { *************** *** 116,123 **** } ! class TopicsView extends BaseView { ! function TopicsView(&$model) { --- 116,123 ---- } ! class TopicsView extends BaseView { ! function TopicsView(&$model) { *************** *** 125,134 **** $this->getView(); } // end constructor ! function getView() { // setup template files $this->set_filenames( array('body' => 'news_topics_body.tpl' ) ); ! $this->assign_vars( array( 'L_NEWS_CATEGORIES' => $lang['News_Categories'] --- 125,134 ---- $this->getView(); } // end constructor ! function getView() { // setup template files $this->set_filenames( array('body' => 'news_topics_body.tpl' ) ); ! $this->assign_vars( array( 'L_NEWS_CATEGORIES' => $lang['News_Categories'] *************** *** 147,173 **** $cat_vars = array( ); $row_class = ( !($count % 2) ) ? 'row1' : 'row2'; ! $cats[$count]['news_url'] = PORTAL_URL . '?news_id=' . $cats[$count]['news_id']; ! if( $cats[$count]['news_image_link'] != '' ) { $cats[$count]['news_href'] = '<a href="' . $cats[$count]['news_url'] . '" border="0">' . $cats[$count]['news_image_link'] .'<br><span class="genmed">'.$cats[$count]['news_name'] .'</span>' . '</a>'; } ! while( $count < $num_cats && list( $k, $v ) = each( $cats[$count] ) ) { $cat_vars[strtoupper($k)] = $v; } ! $cat_vars['ROW_CLASS'] = $row_class; ! $this->assign_block_vars('catrow.catitem', $cat_vars); ! $count++; ! } // end assign block } // end category loop ! } ! // parse the templates function display($fn = null) --- 147,173 ---- $cat_vars = array( ); $row_class = ( !($count % 2) ) ? 'row1' : 'row2'; ! $cats[$count]['news_url'] = PORTAL_URL . '?news_id=' . $cats[$count]['news_id']; ! if( $cats[$count]['news_image_link'] != '' ) { $cats[$count]['news_href'] = '<a href="' . $cats[$count]['news_url'] . '" border="0">' . $cats[$count]['news_image_link'] .'<br><span class="genmed">'.$cats[$count]['news_name'] .'</span>' . '</a>'; } ! while( $count < $num_cats && list( $k, $v ) = each( $cats[$count] ) ) { $cat_vars[strtoupper($k)] = $v; } ! $cat_vars['ROW_CLASS'] = $row_class; ! $this->assign_block_vars('catrow.catitem', $cat_vars); ! $count++; ! } // end assign block } // end category loop ! } ! // parse the templates function display($fn = null) Index: PostingViews.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/includes/views/PostingViews.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PostingViews.php 30 Jan 2004 20:40:24 -0000 1.1 --- PostingViews.php 13 Jul 2008 19:39:05 -0000 1.2 *************** *** 6,13 **** { $this->model = $model; ! $this->set_filenames(array('body'=>'slash_posting_result.tpl')); $this->assign_var('L_RESULT', $lang['Result']); ! if ($this->model->isTemp()) { --- 6,13 ---- { $this->model = $model; ! $this->set_filenames(array('body'=>'slash_posting_result.tpl')); $this->assign_var('L_RESULT', $lang['Result']); ! if ($this->model->isTemp()) { *************** *** 20,28 **** to the index."; } ! $this->assign_var('MESSAGE', $message); ! } // end constructor ! // parse the templates function display($fn = null) --- 20,28 ---- to the index."; } ! $this->assign_var('MESSAGE', $message); ! } // end constructor ! // parse the templates function display($fn = null) *************** *** 30,37 **** parent::display(); } // end display ! } // end submitView ! class PreviewView extends DefaultSubmitView { function PreviewView(&$model) --- 30,37 ---- parent::display(); } // end display ! } // end submitView ! class PreviewView extends DefaultSubmitView { function PreviewView(&$model) *************** *** 41,50 **** parent::DefaultSubmitView($this->model); } // end constructor ! function loadPreview() { ! global $db, $board_config, $phpEx, $mx_root_path; include_once $mx_root_path . 'includes/mx_functions.php'; ! $message = $this->model->getMessage(); $preview_subject = $this->model->getSubject(); --- 41,50 ---- parent::DefaultSubmitView($this->model); } // end constructor ! function loadPreview() { ! global $db, $board_config, $phpEx, $mx_root_path, $mx_bbcode; include_once $mx_root_path . 'includes/mx_functions.php'; ! $message = $this->model->getMessage(); $preview_subject = $this->model->getSubject(); *************** *** 52,65 **** $bbcode_uid = make_bbcode_uid(); $preview_message = stripslashes(prepare_message(addslashes(unprepare_message($message)), $html_on, $bbcode_on, $smilies_on, $bbcode_uid)); ! $preview_username = $username; ! $preview_message = mx_decode($preview_message, $bbcode_uid); $preview_message = make_clickable($preview_message); $preview_message = str_replace("\n", '<br />', $preview_message); ! $this->set_filenames(array( 'preview' => 'slash_posting_preview.tpl') ); ! $this->assign_vars(array( 'TOPIC_TITLE' => $preview_subject, --- 52,65 ---- $bbcode_uid = make_bbcode_uid(); $preview_message = stripslashes(prepare_message(addslashes(unprepare_message($message)), $html_on, $bbcode_on, $smilies_on, $bbcode_uid)); ! $preview_username = $username; ! $preview_message = $mx_bbcode->decode($preview_message, $bbcode_uid); $preview_message = make_clickable($preview_message); $preview_message = str_replace("\n", '<br />', $preview_message); ! $this->set_filenames(array( 'preview' => 'slash_posting_preview.tpl') ); ! $this->assign_vars(array( 'TOPIC_TITLE' => $preview_subject, *************** *** 68,72 **** 'POST_DATE' => create_date($board_config['default_dateformat'], time(), $board_config['board_timezone']), 'MESSAGE' => $preview_message, ! 'L_GET_SUBJECT' => $lang['Post_subject'], 'L_PREVIEW' => $lang['Preview'], --- 68,72 ---- 'POST_DATE' => create_date($board_config['default_dateformat'], time(), $board_config['board_timezone']), 'MESSAGE' => $preview_message, ! 'L_GET_SUBJECT' => $lang['Post_subject'], 'L_PREVIEW' => $lang['Preview'], *************** *** 76,80 **** $this->assign_var_from_handle('POST_PREVIEW_BOX', 'preview'); } // end loadPreview ! // parse the templates function display($fn = null) --- 76,80 ---- $this->assign_var_from_handle('POST_PREVIEW_BOX', 'preview'); } // end loadPreview ! // parse the templates function display($fn = null) *************** *** 82,96 **** parent::display(); } // end display ! } // end PreviewView class ! class DefaultSubmitView extends BaseView { function DefaultSubmitView(&$model) { $this->model = $model; ! global $lang, $phpEx, $board_config, $userdata; ! $this->set_filenames(array( 'body' => 'slash_posting_body.tpl', --- 82,96 ---- parent::display(); } // end display ! } // end PreviewView class ! class DefaultSubmitView extends BaseView { function DefaultSubmitView(&$model) { $this->model = $model; ! global $lang, $phpEx, $board_config, $userdata; ! $this->set_filenames(array( 'body' => 'slash_posting_body.tpl', *************** *** 101,105 **** $hidden_form_fields .= '<input type="hidden" name="temp_id" value="'.$temp_id.'">'; $hidden_form_fields .= '<input type="hidden" name="user_id" value="'.$this->model->getUserId().'">'; ! $this->assign_block_vars('switch_news_cat', array( 'L_NEWS_CATEGORY' => $lang['Select_News_Category'], --- 101,105 ---- $hidden_form_fields .= '<input type="hidden" name="temp_id" value="'.$temp_id.'">'; $hidden_form_fields .= '<input type="hidden" name="user_id" value="'.$this->model->getUserId().'">'; ! $this->assign_block_vars('switch_news_cat', array( 'L_NEWS_CATEGORY' => $lang['Select_News_Category'], *************** *** 111,120 **** $forum_sel = ''; $forum_list = $this->model->getForumList(); ! foreach ($forum_list as $id => $name) { $forum_sel .= '<option value="' . $id . '">' . $name . '</option>'; } ! $this->assign_block_vars('switch_forum_list', array( 'L_FORUM_LIST' => $lang['Select_Forum'], --- 111,120 ---- $forum_sel = ''; $forum_list = $this->model->getForumList(); ! foreach ($forum_list as $id => $name) { $forum_sel .= '<option value="' . $id . '">' . $name . '</option>'; } ! $this->assign_block_vars('switch_forum_list', array( 'L_FORUM_LIST' => $lang['Select_Forum'], *************** *** 123,128 **** )); } ! ! $this->assign_vars(array( 'USERNAME' => $this->model->username, --- 123,128 ---- )); } ! ! $this->assign_vars(array( 'USERNAME' => $this->model->username, *************** *** 132,136 **** 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, ! 'L_SUBJECT' => $lang['Subject'], 'L_USERNAME' => $lang['Username'], --- 132,136 ---- 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, ! 'L_SUBJECT' => $lang['Subject'], 'L_USERNAME' => $lang['Username'], *************** *** 148,152 **** 'L_NOTIFY_ON_REPLY' => $lang['Notify'], 'L_DELETE_POST' => $lang['Delete_post'], ! 'L_BBCODE_B_HELP' => $lang['bbcode_b_help'], 'L_BBCODE_I_HELP' => $lang['bbcode_i_help'], --- 148,152 ---- 'L_NOTIFY_ON_REPLY' => $lang['Notify'], 'L_DELETE_POST' => $lang['Delete_post'], ! 'L_BBCODE_B_HELP' => $lang['bbcode_b_help'], 'L_BBCODE_I_HELP' => $lang['bbcode_i_help'], *************** *** 162,166 **** 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], ! 'L_FONT_COLOR' => $lang['Font_color'], 'L_COLOR_DEFAULT' => $lang['color_default'], --- 162,166 ---- 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], ! 'L_FONT_COLOR' => $lang['Font_color'], 'L_COLOR_DEFAULT' => $lang['color_default'], *************** *** 179,183 **** 'L_COLOR_WHITE' => $lang['color_white'], 'L_COLOR_BLACK' => $lang['color_black'], ! 'L_FONT_SIZE' => $lang['Font_size'], 'L_FONT_TINY' => $lang['font_tiny'], --- 179,183 ---- 'L_COLOR_WHITE' => $lang['color_white'], 'L_COLOR_BLACK' => $lang['color_black'], ! 'L_FONT_SIZE' => $lang['Font_size'], 'L_FONT_TINY' => $lang['font_tiny'], *************** *** 186,197 **** 'L_FONT_LARGE' => $lang['font_large'], 'L_FONT_HUGE' => $lang['font_huge'], ! 'L_BBCODE_CLOSE_TAGS' => $lang['Close_Tags'], 'L_STYLES_TIP' => $lang['Styles_tip'], 'L_POST_A' => "Submit News", ! 'U_VIEWTOPIC' => ( $mode == 'reply' ) ? append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postorder=desc") : '', 'U_REVIEW_TOPIC' => ( $mode == 'reply' ) ? append_sid("posting.$phpEx?mode=topicreview&" . POST_TOPIC_URL . "=$topic_id") : '', ! 'S_HTML_CHECKED' => ( !$html_on ) ? 'checked="checked"' : '', 'S_BBCODE_CHECKED' => ( !$bbcode_on ) ? 'checked="checked"' : '', --- 186,197 ---- 'L_FONT_LARGE' => $lang['font_large'], 'L_FONT_HUGE' => $lang['font_huge'], ! 'L_BBCODE_CLOSE_TAGS' => $lang['Close_Tags'], 'L_STYLES_TIP' => $lang['Styles_tip'], 'L_POST_A' => "Submit News", ! 'U_VIEWTOPIC' => ( $mode == 'reply' ) ? append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postorder=desc") : '', 'U_REVIEW_TOPIC' => ( $mode == 'reply' ) ? append_sid("posting.$phpEx?mode=topicreview&" . POST_TOPIC_URL . "=$topic_id") : '', ! 'S_HTML_CHECKED' => ( !$html_on ) ? 'checked="checked"' : '', 'S_BBCODE_CHECKED' => ( !$bbcode_on ) ? 'checked="checked"' : '', *************** *** 204,208 **** 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields) ); ! } // end constructor --- 204,208 ---- 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields) ); ! } // end constructor *************** *** 212,216 **** parent::display(); } // end display ! } --- 212,216 ---- parent::display(); } // end display ! } |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:39:09
|
Update of /cvsroot/mxbb/mx_slash In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5579 Modified Files: functions_news.php Log Message: related... Index: functions_news.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/functions_news.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** functions_news.php 8 Feb 2008 23:44:50 -0000 1.5 --- functions_news.php 13 Jul 2008 19:39:05 -0000 1.6 *************** *** 249,253 **** // $forum_id: Only retrive news in this forum. (0 = disabled) { ! global $db, $userdata, $phpbb_root_path, $board_config, $phpEx; $sql = 'SELECT --- 249,253 ---- // $forum_id: Only retrive news in this forum. (0 = disabled) { ! global $db, $userdata, $phpbb_root_path, $board_config, $phpEx, $mx_bbcode; $sql = 'SELECT *************** *** 295,299 **** { //$row['post_text'] = phpbb_parse_news_text( $row['post_text'], $row['bbcode_uid'], $row['enable_smilies'] ); ! $row['post_text'] = mx_decode($row['post_text'], $row['bbcode_uid']); } --- 295,299 ---- { //$row['post_text'] = phpbb_parse_news_text( $row['post_text'], $row['bbcode_uid'], $row['enable_smilies'] ); ! $row['post_text'] = $mx_bbcode->decode($row['post_text'], $row['bbcode_uid']); } *************** *** 344,348 **** // $topic_id: the topic id of a news post. { ! global $db, $userdata, $phpbb_root_path, $board_config, $phpEx; $sql = 'SELECT --- 344,348 ---- // $topic_id: the topic id of a news post. { ! global $db, $userdata, $phpbb_root_path, $board_config, $phpEx, $mx_bbcode; $sql = 'SELECT *************** *** 377,381 **** // Parese any remaining BBCode, insert smiles, convert urls into links. //$row['post_text'] = phpbb_parse_news_text( $row['post_text'], $row['bbcode_uid'], $row['enable_smilies'] ); ! $row['post_text'] = mx_decode($row['post_text'], $row['bbcode_uid']); $row['comments_url'] = PHPBB_URL . 'viewtopic.' . $phpEx . '?t=' . $row['topic_id']; $row['topic_url'] = PHPBB_URL . 'viewtopic.' . $phpEx . '?t=' . $row['topic_id']; --- 377,381 ---- // Parese any remaining BBCode, insert smiles, convert urls into links. //$row['post_text'] = phpbb_parse_news_text( $row['post_text'], $row['bbcode_uid'], $row['enable_smilies'] ); ! $row['post_text'] = $mx_bbcode->decode($row['post_text'], $row['bbcode_uid']); $row['comments_url'] = PHPBB_URL . 'viewtopic.' . $phpEx . '?t=' . $row['topic_id']; $row['topic_url'] = PHPBB_URL . 'viewtopic.' . $phpEx . '?t=' . $row['topic_id']; |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:38:47
|
Update of /cvsroot/mxbb/mx_simpledoc/simpledoc/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5293 Modified Files: simpledoc__tab-view-content.php simpledoc__tab-view-publish.php Log Message: related... Index: simpledoc__tab-view-publish.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/modules/simpledoc__tab-view-publish.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** simpledoc__tab-view-publish.php 22 Jul 2007 21:09:01 -0000 1.7 --- simpledoc__tab-view-publish.php 13 Jul 2008 19:38:44 -0000 1.8 *************** *** 102,106 **** $html = IoFile::read($path); ! //$html = mx_decode($html,''); $search = array ( --- 102,106 ---- $html = IoFile::read($path); ! //$html = $mx_bbcode->decode($html,''); $search = array ( Index: simpledoc__tab-view-content.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/simpledoc/modules/simpledoc__tab-view-content.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** simpledoc__tab-view-content.php 22 Jul 2007 21:09:00 -0000 1.6 --- simpledoc__tab-view-content.php 13 Jul 2008 19:38:44 -0000 1.7 *************** *** 102,106 **** $html = IoFile::read($path); ! //$html = mx_decode($html,''); $search = array ( --- 102,106 ---- $html = IoFile::read($path); ! //$html = $mx_bbcode->decode($html,''); $search = array ( |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:38:30
|
Update of /cvsroot/mxbb/mx_shoutbox In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5263 Modified Files: mx_shoutbox.php Log Message: related... Index: mx_shoutbox.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/mx_shoutbox.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_shoutbox.php 27 Feb 2008 17:14:43 -0000 1.2 --- mx_shoutbox.php 13 Jul 2008 19:38:25 -0000 1.3 *************** *** 7,13 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- $page_id = ($page_id) ? intval($page_id) : $mx_request_vars->request('page', MX_TYPE_NO_TAGS, 1); --- 7,13 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- $page_id = ($page_id) ? intval($page_id) : $mx_request_vars->request('page', MX_TYPE_NO_TAGS, 1); *************** *** 15,19 **** if ( defined('IN_PORTAL') ) { ! include($module_root_path . 'includes/constants.' . $phpEx); include($module_root_path . 'includes/functions.' . $phpEx); --- 15,19 ---- if ( defined('IN_PORTAL') ) { ! include($module_root_path . 'includes/constants.' . $phpEx); include($module_root_path . 'includes/functions.' . $phpEx); *************** *** 21,25 **** ! /**************************** Read language definition --- 21,25 ---- ! /**************************** Read language definition *************** *** 32,41 **** { include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx ); ! } ! /**************************** Get config data *****************************/ ! $sql = "SELECT * FROM " . SHOUTBOX_CONFIG_TABLE; if(!$result = $db->sql_query($sql)) --- 32,41 ---- { include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx ); ! } ! /**************************** Get config data *****************************/ ! $sql = "SELECT * FROM " . SHOUTBOX_CONFIG_TABLE; if(!$result = $db->sql_query($sql)) *************** *** 77,81 **** $message = preg_replace("#\[img:$bbcode_uid\](.*?)\[/img:$bbcode_uid\]#si", '', $message); ! $sql = "INSERT INTO " . SHOUTBOX_TABLE . " (name_id,name,text,time,bbcode_uid) VALUES ('$user_id','" . substr($username,0,20) . "','$message','$time', '$bbcode_uid')"; if ( !($result = $db->sql_query($sql)) ) --- 77,81 ---- $message = preg_replace("#\[img:$bbcode_uid\](.*?)\[/img:$bbcode_uid\]#si", '', $message); ! $sql = "INSERT INTO " . SHOUTBOX_TABLE . " (name_id,name,text,time,bbcode_uid) VALUES ('$user_id','" . substr($username,0,20) . "','$message','$time', '$bbcode_uid')"; if ( !($result = $db->sql_query($sql)) ) *************** *** 88,92 **** shout_msg($message); break; ! case 'delete': $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); --- 88,92 ---- shout_msg($message); break; ! case 'delete': $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); *************** *** 96,100 **** break; } ! $sql = "DELETE FROM " . SHOUTBOX_TABLE . " WHERE id='$id'"; if ( !($result = $db->sql_query($sql)) ) --- 96,100 ---- break; } ! $sql = "DELETE FROM " . SHOUTBOX_TABLE . " WHERE id='$id'"; if ( !($result = $db->sql_query($sql)) ) *************** *** 107,111 **** case 'edit': ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); if ( empty($id) ) --- 107,111 ---- case 'edit': ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); if ( empty($id) ) *************** *** 114,118 **** break; } ! $sql = "SELECT * FROM ". SHOUTBOX_TABLE ." --- 114,118 ---- break; } ! $sql = "SELECT * FROM ". SHOUTBOX_TABLE ." *************** *** 124,134 **** } $thisshout = $db->sql_fetchrow($result); ! $shoutnameid = $thisshout['name_id']; ! if ($userdata['user_level'] == ADMIN || $shoutnameid == $userdata['user_id']) { $shout_text = $thisshout['text']; ! if ($shout_config['static_box']==1) { --- 124,134 ---- } $thisshout = $db->sql_fetchrow($result); ! $shoutnameid = $thisshout['name_id']; ! if ($userdata['user_level'] == ADMIN || $shoutnameid == $userdata['user_id']) { $shout_text = $thisshout['text']; ! if ($shout_config['static_box']==1) { *************** *** 139,147 **** $box_height = ""; } ! $template->set_filenames(array( 'body' => 'mx_shout_edit.tpl') ); ! $template->assign_vars(array( 'L_EDIT_SHOUT_INFO' => $lang['Edit_Shout_Info'], --- 139,147 ---- $box_height = ""; } ! $template->set_filenames(array( 'body' => 'mx_shout_edit.tpl') ); ! $template->assign_vars(array( 'L_EDIT_SHOUT_INFO' => $lang['Edit_Shout_Info'], *************** *** 151,160 **** 'SHOUT_SIZE' => $shout_config['shout_size'], 'SHOUT_SIZE_EXPL' => $lang['shout_size_expl'], ! 'S_SHOUT_ACTION' => append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=edit_shout&id=$id"), ) ); ! $template->pparse('body'); ! break; } --- 151,160 ---- 'SHOUT_SIZE' => $shout_config['shout_size'], 'SHOUT_SIZE_EXPL' => $lang['shout_size_expl'], ! 'S_SHOUT_ACTION' => append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=edit_shout&id=$id"), ) ); ! $template->pparse('body'); ! break; } *************** *** 164,171 **** break; } ! break; ! case 'edit_shout': ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); if ( empty($id) ) --- 164,171 ---- break; } ! break; ! case 'edit_shout': ! $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); if ( empty($id) ) *************** *** 173,178 **** shout_msg($lang['Shout_edit_error']); break; ! } ! $sql = "SELECT * FROM ". SHOUTBOX_TABLE ." --- 173,178 ---- shout_msg($lang['Shout_edit_error']); break; ! } ! $sql = "SELECT * FROM ". SHOUTBOX_TABLE ." *************** *** 184,190 **** } $thisshout = $db->sql_fetchrow($result); ! $shoutnameid = $thisshout['name_id']; ! if ($userdata['user_level'] == ADMIN || $shoutnameid == $userdata['user_id']) { --- 184,190 ---- } $thisshout = $db->sql_fetchrow($result); ! $shoutnameid = $thisshout['name_id']; ! if ($userdata['user_level'] == ADMIN || $shoutnameid == $userdata['user_id']) { *************** *** 192,196 **** $shout_text = str_replace("\'", "''", htmlspecialchars(trim($shout_text))); $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); ! $sql = "UPDATE ". SHOUTBOX_TABLE ." SET text = '$shout_text' --- 192,196 ---- $shout_text = str_replace("\'", "''", htmlspecialchars(trim($shout_text))); $id = $mx_request_vars->request('id', MX_TYPE_INT, ''); ! $sql = "UPDATE ". SHOUTBOX_TABLE ." SET text = '$shout_text' *************** *** 199,220 **** { $message = $lang['Shout_error'].'<br />'; ! ! shout_msg($message); ! break; ! } $message = $lang['shout_updated_successfully'].'<br />'; ! shout_msg($message); ! } else { ! shout_msg($lang['Shout_edit_perm_error']); break; } break; ! } /**************************** --- 199,220 ---- { $message = $lang['Shout_error'].'<br />'; ! ! shout_msg($message); ! break; ! } $message = $lang['shout_updated_successfully'].'<br />'; ! shout_msg($message); ! } else { ! shout_msg($lang['Shout_edit_perm_error']); break; } break; ! } /**************************** *************** *** 223,236 **** $s_form_action = append_sid($mx_root_path.'index.php?page='.$page_id); ! $s_hidden_fields = '<input name="sid" type="hidden" value="' . $userdata['session_id'] . '" />' ! .'<input name="user_id" type="hidden" value="' . $userdata['user_id'] . '" />' ! .'<input name="sbmode" type="hidden" value="add" />' .'<input name="bbcode" type="hidden" value="' . $shout_config['allow_bbcode'] . '" />'; ! if ( $userdata['session_logged_in'] ) { $s_hidden_fields .= '<input name="username" type="hidden" value="' . $userdata['username'] . '" />'; } ! /**************************** Get variables for paginate --- 223,236 ---- $s_form_action = append_sid($mx_root_path.'index.php?page='.$page_id); ! $s_hidden_fields = '<input name="sid" type="hidden" value="' . $userdata['session_id'] . '" />' ! .'<input name="user_id" type="hidden" value="' . $userdata['user_id'] . '" />' ! .'<input name="sbmode" type="hidden" value="add" />' .'<input name="bbcode" type="hidden" value="' . $shout_config['allow_bbcode'] . '" />'; ! if ( $userdata['session_logged_in'] ) { $s_hidden_fields .= '<input name="username" type="hidden" value="' . $userdata['username'] . '" />'; } ! /**************************** Get variables for paginate *************** *** 238,246 **** $shout_start = $mx_request_vars->request('shout_start', MX_TYPE_NO_TAGS, 0); $shout_start = ($shout_start < 0) ? 0 : $shout_start; ! /**************************** Count the number of total shouts *****************************/ ! $sql = "SELECT COUNT(id) AS total FROM " . SHOUTBOX_TABLE; if ( !($result = $db->sql_query($sql)) ) --- 238,246 ---- $shout_start = $mx_request_vars->request('shout_start', MX_TYPE_NO_TAGS, 0); $shout_start = ($shout_start < 0) ? 0 : $shout_start; ! /**************************** Count the number of total shouts *****************************/ ! $sql = "SELECT COUNT(id) AS total FROM " . SHOUTBOX_TABLE; if ( !($result = $db->sql_query($sql)) ) *************** *** 264,268 **** $box_height = ""; } ! if ($shout_config['shout_size']!="") { $shout_size = $shout_config['shout_size']; --- 264,268 ---- $box_height = ""; } ! if ($shout_config['shout_size']!="") { $shout_size = $shout_config['shout_size']; *************** *** 274,283 **** $shout_size_lang = ""; } ! /**************************** Start page proper *****************************/ $template->set_filenames(array( ! 'body_shoutbox' => 'mx_shoutbox.tpl' )); --- 274,283 ---- $shout_size_lang = ""; } ! /**************************** Start page proper *****************************/ $template->set_filenames(array( ! 'body_shoutbox' => 'mx_shoutbox.tpl' )); *************** *** 291,295 **** 'L_LOGIN' => $lang['Shout_log_on'], 'L_NAME' => $lang['Shout_username'], ! 'SHOUT_SIZE' => $shout_size, 'SHOUT_SIZE_EXPL' => $shout_size_lang, --- 291,295 ---- 'L_LOGIN' => $lang['Shout_log_on'], 'L_NAME' => $lang['Shout_username'], ! 'SHOUT_SIZE' => $shout_size, 'SHOUT_SIZE_EXPL' => $shout_size_lang, *************** *** 302,311 **** )); ! /**************************** Fetch the shouts, and filter any naughty words, if need so *****************************/ ! $sql = "SELECT * ! FROM " . SHOUTBOX_TABLE . " ! ORDER BY id DESC LIMIT $shout_start,$page_id_limit"; if ( !($result = $db->sql_query($sql)) ) --- 302,311 ---- )); ! /**************************** Fetch the shouts, and filter any naughty words, if need so *****************************/ ! $sql = "SELECT * ! FROM " . SHOUTBOX_TABLE . " ! ORDER BY id DESC LIMIT $shout_start,$page_id_limit"; if ( !($result = $db->sql_query($sql)) ) *************** *** 315,320 **** $mxshout = array(); ! $mxshout = $db->sql_fetchrowset($result); ! if ($mxshout) { --- 315,320 ---- $mxshout = array(); ! $mxshout = $db->sql_fetchrowset($result); ! if ($mxshout) { *************** *** 329,333 **** { $bbcode_uid = $mxshout[$i]['bbcode_uid']; ! $mxshout[$i]['text'] = mx_decode( $mxshout[$i]['text'], $bbcode_uid ); $shoutid = $mxshout[$i]['id']; $shoutnameid = $mxshout[$i]['name_id']; --- 329,333 ---- { $bbcode_uid = $mxshout[$i]['bbcode_uid']; ! $mxshout[$i]['text'] = $mx_bbcode->decode( $mxshout[$i]['text'], $bbcode_uid ); $shoutid = $mxshout[$i]['id']; $shoutnameid = $mxshout[$i]['name_id']; *************** *** 338,342 **** $mxshout[$i]['text'] = preg_replace($orig_word, $replacement_word, $mxshout[$i]['text']); } ! // Is user a guest/anon? Ignore profile URL if it is. if ( $shoutnameid == ANONYMOUS ) --- 338,342 ---- $mxshout[$i]['text'] = preg_replace($orig_word, $replacement_word, $mxshout[$i]['text']); } ! // Is user a guest/anon? Ignore profile URL if it is. if ( $shoutnameid == ANONYMOUS ) *************** *** 354,361 **** $delurl_tmp = append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=delete&id=$shoutid&sid=" . $userdata['session_id']); $delimg_tmp = '<img src="' . $images['icon_delpost'] . '" align="right" border="0" alt="' . $lang['alt_delete'] . '" />'; ! $edturl_tmp = append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=edit&id=$shoutid&sid=" . $userdata['session_id']); $edtimg_tmp = '<img src="' . $images['icon_edit'] . '" align="right" border="0" alt="' . $lang['alt_edit'] . '" />'; ! if ($userdata['user_level'] == ADMIN) { --- 354,361 ---- $delurl_tmp = append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=delete&id=$shoutid&sid=" . $userdata['session_id']); $delimg_tmp = '<img src="' . $images['icon_delpost'] . '" align="right" border="0" alt="' . $lang['alt_delete'] . '" />'; ! $edturl_tmp = append_sid($mx_root_path.'index.php?page='.$page_id."&sbmode=edit&id=$shoutid&sid=" . $userdata['session_id']); $edtimg_tmp = '<img src="' . $images['icon_edit'] . '" align="right" border="0" alt="' . $lang['alt_edit'] . '" />'; ! if ($userdata['user_level'] == ADMIN) { *************** *** 391,419 **** $edtimg = ''; } ! ! } // Change row colors $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; ! $template->assign_block_vars('postrow', array( 'ROW' => $row_class, 'MESSAGE' => $mxshout[$i]['text'], 'DATETIME' => create_date($board_config['default_dateformat'], $mxshout[$i]['time'], $board_config['board_timezone']), ! 'DEL_IMG' => $delimg, 'EDT_IMG' => $edtimg, ! 'U_DELETE' => $delurl, 'U_EDIT' => $edturl, 'U_USER_PROFILE' => $userurl, ! 'L_CONFIRM_DELETE' => $lang['Shout_delete_shout'] )); ! } // loop } // if ($mxshout) ! /**************************** Can user shout? if so, display form, --- 391,419 ---- $edtimg = ''; } ! ! } // Change row colors $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; ! $template->assign_block_vars('postrow', array( 'ROW' => $row_class, 'MESSAGE' => $mxshout[$i]['text'], 'DATETIME' => create_date($board_config['default_dateformat'], $mxshout[$i]['time'], $board_config['board_timezone']), ! 'DEL_IMG' => $delimg, 'EDT_IMG' => $edtimg, ! 'U_DELETE' => $delurl, 'U_EDIT' => $edturl, 'U_USER_PROFILE' => $userurl, ! 'L_CONFIRM_DELETE' => $lang['Shout_delete_shout'] )); ! } // loop } // if ($mxshout) ! /**************************** Can user shout? if so, display form, *************** *** 422,426 **** if ( !$userdata['session_logged_in'] ) { ! if ( $shout_config['allow_guest'] != 0 ) { $template->assign_block_vars('switch_logged_in', array()); --- 422,426 ---- if ( !$userdata['session_logged_in'] ) { ! if ( $shout_config['allow_guest'] != 0 ) { $template->assign_block_vars('switch_logged_in', array()); *************** *** 436,440 **** $template->assign_block_vars('switch_logged_in', array()); } ! /**************************** Start output to page --- 436,440 ---- $template->assign_block_vars('switch_logged_in', array()); } ! /**************************** Start output to page |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:37:50
|
Update of /cvsroot/mxbb/mx_profilecp/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4829/templates/_core Modified Files: profilcp_footer.tpl Log Message: related... Index: profilcp_footer.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/templates/_core/profilcp_footer.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** profilcp_footer.tpl 9 Sep 2007 20:34:38 -0000 1.1 --- profilcp_footer.tpl 13 Jul 2008 19:37:45 -0000 1.2 *************** *** 22,26 **** <div align="center"><span class="copyright"><br /> Based on Profile Control Panel, Ptirhiik - RPGnet-fr ©2002 <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" class="copyright">PHPBB.com MOD</a><br /> ! This script (ProfileCP Suite v. 1.0.0 :: mxBB Portal Module 2004) is modified by <a href="http://www.mx-system.com/" target="_phpbb" class="copyright">mxBB Team</a><br /> </span></div> --> \ No newline at end of file --- 22,26 ---- <div align="center"><span class="copyright"><br /> Based on Profile Control Panel, Ptirhiik - RPGnet-fr ©2002 <a href="http://www.phpbb.com/phpBB/viewtopic.php?t=150925" target="_phpbb" class="copyright">PHPBB.com MOD</a><br /> ! This script (ProfileCP Suite v. 1.0.0 :: mxBB Portal Module 2004) is modified by <a href="http://www.mx-publisher.com/" target="_phpbb" class="copyright">mxBB Team</a><br /> </span></div> --> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:37:50
|
Update of /cvsroot/mxbb/mx_profilecp/profilcp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4829/profilcp Modified Files: profilcp_privmsg.php profilcp_profil_signature.php Log Message: related... Index: profilcp_privmsg.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_privmsg.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** profilcp_privmsg.php 9 Sep 2007 20:33:06 -0000 1.9 --- profilcp_privmsg.php 13 Jul 2008 19:37:45 -0000 1.10 *************** *** 1719,1723 **** // Send smilies to template // ! mx_generate_smilies('inline', PAGE_PRIVMSGS); $template->assign_vars(array( --- 1719,1723 ---- // Send smilies to template // ! $mx_bbcode->generate_smilies('inline', PAGE_PRIVMSGS); $template->assign_vars(array( Index: profilcp_profil_signature.php =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/profilcp/profilcp_profil_signature.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** profilcp_profil_signature.php 9 Sep 2007 20:33:06 -0000 1.6 --- profilcp_profil_signature.php 13 Jul 2008 19:37:45 -0000 1.7 *************** *** 136,140 **** // Generate smilies listing for page output ! mx_generate_smilies('inline', PAGE_POSTING); $template->assign_vars(array( --- 136,140 ---- // Generate smilies listing for page output ! $mx_bbcode->generate_smilies('inline', PAGE_POSTING); $template->assign_vars(array( |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:37:50
|
Update of /cvsroot/mxbb/mx_profilecp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4829 Modified Files: mx_install_readme.htm Log Message: related... Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_profilecp/mx_install_readme.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_install_readme.htm 15 Jan 2005 23:52:53 -0000 1.3 --- mx_install_readme.htm 13 Jul 2008 19:37:45 -0000 1.4 *************** *** 218,225 **** <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> <td colspan="2"><p><b><font size="5">MX Module - Profile Control Panel<br> <font size="2">v. 0.93</font></font></b></p> ! <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> - for Mx Portal v. 2.7.5+</p> --- 218,225 ---- <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> <td colspan="2"><p><b><font size="5">MX Module - Profile Control Panel<br> <font size="2">v. 0.93</font></font></b></p> ! <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> - for Mx Portal v. 2.7.5+</p> *************** *** 238,251 **** III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-system.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> ! <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink"> DOWNLOAD </a> <br /> <br /><a name="install"> <br /> <span style="font-weight: bold">I. Installation Instructions</span> <br /> ! To install this module, follow these instructions. If you encounter any ! problems during install, visit the <a href="http://www.mx-system.com/forum/viewforum.php?f=20" target="_blank" class="postlink"> module support forum</a>. </p> <p>Special note:</p> --- 238,251 ---- III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-publisher.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> ! <a href="http://www.mx-publisher.com/index.php?page=4" target="_blank" class="postlink"> DOWNLOAD </a> <br /> <br /><a name="install"> <br /> <span style="font-weight: bold">I. Installation Instructions</span> <br /> ! To install this module, follow these instructions. If you encounter any ! problems during install, visit the <a href="http://www.mx-publisher.com/forum/viewforum.php?f=20" target="_blank" class="postlink"> module support forum</a>. </p> <p>Special note:</p> *************** *** 266,270 **** ## CHMOD 666 those files :<br> ## COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php</font></p> ! <p>All install notes are maintained at www.mx-system.com, <a href="http://www.mx-system.com/forum/viewforum.php?f=11">here</a>.<br> <br> To summarize:<br> --- 266,270 ---- ## CHMOD 666 those files :<br> ## COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php</font></p> ! <p>All install notes are maintained at www.mx-publisher.com, <a href="http://www.mx-publisher.com/forum/viewforum.php?f=11">here</a>.<br> <br> To summarize:<br> *************** *** 272,276 **** If upgrading, use the upgrade option in the AdminCP<br> If uninstalling, use the delete feature in the AdminCP</p> ! <p>Note: If upgrading, do NOT delete module prior to upgrading, or else you'll lose all module data!<br /> <br /> --- 272,276 ---- If upgrading, use the upgrade option in the AdminCP<br> If uninstalling, use the delete feature in the AdminCP</p> ! <p>Note: If upgrading, do NOT delete module prior to upgrading, or else you'll lose all module data!<br /> <br /> *************** *** 287,300 **** First check to see if your language is already translated. <br /> <br /> ! Translated languages are downloaded <a href="http://www.mx-system.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> here</a>. <br /> <br /> ! If exists, download and install in the modules/mx_modulename/language ! folder. If not, duplicate (copy and paste) any included language file, ! rename to match your language, translate using any texteditor, save and upload. <br /> <br /> <a href="#top"> Back to Top</a> </p> ! <p> /Mx Team</p> </td> --- 287,300 ---- First check to see if your language is already translated. <br /> <br /> ! Translated languages are downloaded <a href="http://www.mx-publisher.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> here</a>. <br /> <br /> ! If exists, download and install in the modules/mx_modulename/language ! folder. If not, duplicate (copy and paste) any included language file, ! rename to match your language, translate using any texteditor, save and upload. <br /> <br /> <a href="#top"> Back to Top</a> </p> ! <p> /Mx Team</p> </td> |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:37:19
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4811 Modified Files: pjirc_faq.php Log Message: related... Index: pjirc_faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_faq.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pjirc_faq.php 4 Jun 2008 00:09:08 -0000 1.5 --- pjirc_faq.php 13 Jul 2008 19:37:16 -0000 1.6 *************** *** 17,21 **** $module_root_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); --- 17,21 ---- $module_root_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); *************** *** 98,102 **** 'body' => 'pjirc_faq.tpl') ); ! mx_make_jumpbox($phpbb_root_path . 'viewforum.'.$phpEx, $forum_id); $template->assign_vars(array( --- 98,102 ---- 'body' => 'pjirc_faq.tpl') ); ! $mx_backend->make_jumpbox($phpbb_root_path . 'viewforum.'.$phpEx, $forum_id); $template->assign_vars(array( *************** *** 124,128 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], --- 124,128 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:36:46
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4403 Modified Files: forum_hack.php Log Message: related... Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** forum_hack.php 15 Jun 2008 21:05:25 -0000 1.59 --- forum_hack.php 13 Jul 2008 19:36:42 -0000 1.60 *************** *** 792,796 **** function session_reset_keys($user_id, $user_ip) { ! global $db, $userdata, $board_config; $key_sql = ($user_id == $userdata['user_id'] && !empty($userdata['session_key'])) ? "AND key_id != '" . md5($userdata['session_key']) . "'" : ''; --- 792,796 ---- function session_reset_keys($user_id, $user_ip) { ! global $db, $userdata, $board_config, $mx_backend; $key_sql = ($user_id == $userdata['user_id'] && !empty($userdata['session_key'])) ? "AND key_id != '" . md5($userdata['session_key']) . "'" : ''; *************** *** 816,820 **** if ( !empty($key_sql) ) { ! $auto_login_key = mx_dss_rand() . mx_dss_rand(); $current_time = time(); --- 816,820 ---- if ( !empty($key_sql) ) { ! $auto_login_key = $mx_backend->dss_rand() . $mx_backend->dss_rand(); $current_time = time(); *************** *** 946,949 **** --- 946,950 ---- function make_jumpbox($action, $match_forum_id = 0) { + global $mx_backend; // // Replaces same function in function.php *************** *** 951,955 **** //make_jumpbox( $this->phpbb_url . $action, $match_forum_id ); ! phpBB2::make_jumpbox($this->phpbb_url . $action, $match_forum_id); } --- 952,956 ---- //make_jumpbox( $this->phpbb_url . $action, $match_forum_id ); ! $mx_backend->make_jumpbox($this->phpbb_url . $action, $match_forum_id); } *************** *** 1109,1112 **** --- 1110,1114 ---- function smilies_pass($message) { + global $mx_bbcode; // // Replaces same function in bbcode.php *************** *** 1115,1119 **** //$smilies_path = $board_config['smilies_path']; //$board_config['smilies_path'] = $this->phpbb_url . $board_config['smilies_path']; ! $message = mx_smilies_pass( $message ); //$board_config['smilies_path'] = $smilies_path; return $message; --- 1117,1121 ---- //$smilies_path = $board_config['smilies_path']; //$board_config['smilies_path'] = $this->phpbb_url . $board_config['smilies_path']; ! $message = $mx_bbcode->smilies_pass( $message ); //$board_config['smilies_path'] = $smilies_path; return $message; *************** *** 1128,1135 **** // Replaces same function in functions_post.php // ! global $board_config, $template, $phpEx; //$smilies_path = $board_config['smilies_path']; //$board_config['smilies_path'] = $this->phpbb_url . $board_config['smilies_path']; ! mx_generate_smilies( $mode, $page_id ); //$board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => $this->append_sid( "posting.$phpEx?mode=smilies" ) ) ); --- 1130,1137 ---- // Replaces same function in functions_post.php // ! global $board_config, $template, $phpEx, $mx_bbcode; //$smilies_path = $board_config['smilies_path']; //$board_config['smilies_path'] = $this->phpbb_url . $board_config['smilies_path']; ! $mx_bbcode->generate_smilies( $mode, $page_id ); //$board_config['smilies_path'] = $smilies_path; $template->assign_vars( array( 'U_MORE_SMILIES' => $this->append_sid( "posting.$phpEx?mode=smilies" ) ) ); |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:36:10
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4344 Removed Files: functions_mx.php Log Message: related... --- functions_mx.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:35:46
|
Update of /cvsroot/mxbb/mx_newssuite In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3962 Modified Files: mx_install_readme.htm Log Message: related... Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/mx_install_readme.htm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_install_readme.htm 15 Jan 2005 23:48:33 -0000 1.4 --- mx_install_readme.htm 13 Jul 2008 19:35:40 -0000 1.5 *************** *** 218,225 **** <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> <td colspan="2"><p><b><font size="5">MX Module - NewsSuite<br> <font size="2">v. 1.04</font></font></b></p> ! <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> - for Mx Portal v. 2.7.5+</p> --- 218,225 ---- <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> <td colspan="2"><p><b><font size="5">MX Module - NewsSuite<br> <font size="2">v. 1.04</font></font></b></p> ! <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> - for Mx Portal v. 2.7.5+</p> *************** *** 238,253 **** III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-system.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> ! <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink"> DOWNLOAD </a> <br /> <br /><a name="install"> <br /> <span style="font-weight: bold">I. Installation Instructions</span> <br /> ! To install this module, follow these instructions. If you encounter any ! problems during install, visit the <a href="http://www.mx-system.com/forum/viewforum.php?f=20" target="_blank" class="postlink"> module support forum</a>. </p> ! <p>All install notes are maintained at www.mx-system.com, <a href="http://www.mx-system.com/forum/viewforum.php?f=11">here</a>.<br> <br> To summarize:<br> --- 238,253 ---- III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-publisher.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> ! <a href="http://www.mx-publisher.com/index.php?page=4" target="_blank" class="postlink"> DOWNLOAD </a> <br /> <br /><a name="install"> <br /> <span style="font-weight: bold">I. Installation Instructions</span> <br /> ! To install this module, follow these instructions. If you encounter any ! problems during install, visit the <a href="http://www.mx-publisher.com/forum/viewforum.php?f=20" target="_blank" class="postlink"> module support forum</a>. </p> ! <p>All install notes are maintained at www.mx-publisher.com, <a href="http://www.mx-publisher.com/forum/viewforum.php?f=11">here</a>.<br> <br> To summarize:<br> *************** *** 255,259 **** If upgrading, use the upgrade option in the AdminCP<br> If uninstalling, use the delete feature in the AdminCP</p> ! <p>Note: If upgrading, do NOT delete module prior to upgrading, or else you'll lose all module data!<br /> <br /> --- 255,259 ---- If upgrading, use the upgrade option in the AdminCP<br> If uninstalling, use the delete feature in the AdminCP</p> ! <p>Note: If upgrading, do NOT delete module prior to upgrading, or else you'll lose all module data!<br /> <br /> *************** *** 270,283 **** First check to see if your language is already translated. <br /> <br /> ! Translated languages are downloaded <a href="http://www.mx-system.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> here</a>. <br /> <br /> ! If exists, download and install in the modules/mx_modulename/language ! folder. If not, duplicate (copy and paste) any included language file, ! rename to match your language, translate using any texteditor, save and upload. <br /> <br /> <a href="#top"> Back to Top</a> </p> ! <p> /Mx Team</p> </td> --- 270,283 ---- First check to see if your language is already translated. <br /> <br /> ! Translated languages are downloaded <a href="http://www.mx-publisher.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> here</a>. <br /> <br /> ! If exists, download and install in the modules/mx_modulename/language ! folder. If not, duplicate (copy and paste) any included language file, ! rename to match your language, translate using any texteditor, save and upload. <br /> <br /> <a href="#top"> Back to Top</a> </p> ! <p> /Mx Team</p> </td> |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:35:43
|
Update of /cvsroot/mxbb/mx_newssuite/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3962/includes Modified Files: newssuite_functions.php Log Message: related... Index: newssuite_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/newssuite_functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** newssuite_functions.php 9 Sep 2007 20:12:47 -0000 1.4 --- newssuite_functions.php 13 Jul 2008 19:35:39 -0000 1.5 *************** *** 374,378 **** function ns_decode_BBCODE( $mytext = '', $bbcode_uid, $remove = false ) { ! global $board_config, $newssuite_config; // remove BBCODE tags $search = array (); --- 374,378 ---- function ns_decode_BBCODE( $mytext = '', $bbcode_uid, $remove = false ) { ! global $board_config, $newssuite_config, $mx_bbcode; // remove BBCODE tags $search = array (); *************** *** 389,393 **** } // BBCODE ! $mytext = ( $newssuite_config['enable_bbcode_msg'] ) ? mx_decode( $mytext, $bbcode_uid ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); return $mytext; } --- 389,393 ---- } // BBCODE ! $mytext = ( $newssuite_config['enable_bbcode_msg'] ) ? $mx_bbcode->decode( $mytext, $bbcode_uid ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); return $mytext; } |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:35:14
|
Update of /cvsroot/mxbb/mx_news/mx_news/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3924 Removed Files: functions_mx.php Log Message: related... --- functions_mx.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:34:44
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3495 Removed Files: functions_mx.php Log Message: related... --- functions_mx.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:34:20
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3450 Modified Files: kb_last_article.php Log Message: related... Index: kb_last_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_last_article.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_last_article.php 3 Jun 2008 20:08:22 -0000 1.8 --- kb_last_article.php 13 Jul 2008 19:34:16 -0000 1.9 *************** *** 65,69 **** // Authorization SQL // ! $auth_data_sql_msg = is_object($phpbb_auth) ? $phpbb_auth->get_auth_forum('kb') : get_auth_forum('kb'); if ( empty($forum_lst_msg) ) --- 65,69 ---- // Authorization SQL // ! $auth_data_sql_msg = $mx_kb->get_auth_forum('kb'); if ( empty($forum_lst_msg) ) |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:34:20
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3450/kb/includes Modified Files: functions_auth.php Removed Files: functions_mx.php Log Message: related... Index: functions_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_auth.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** functions_auth.php 3 Jun 2008 20:10:16 -0000 1.7 --- functions_auth.php 13 Jul 2008 19:34:16 -0000 1.8 *************** *** 354,357 **** --- 354,406 ---- return $kb_type_select_data[$cat_id] == 1; } + + /** + * get_auth_forum + * + * @param unknown_type $mode + * @return unknown + */ + function get_auth_forum($mode = 'kb') + { + global $userdata, $mx_root_path, $phpEx; + + // + // Try to reuse auth_view query result. + // + $userdata_key = 'mx_get_auth_' . $mode . $userdata['user_id']; + if( !empty($userdata[$userdata_key]) ) + { + $auth_data_sql = $userdata[$userdata_key]; + return $auth_data_sql; + } + + // + // Now, this tries to optimize DB access involved in auth(), + // passing AUTH_LIST_ALL will load info for all forums at once. + // + $this->auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); + $is_auth_ary = $mx_kb_auth->auth_user; + + // + // Loop through the list of forums to retrieve the ids for + // those with AUTH_VIEW allowed. + // + $auth_data_sql = ''; + foreach( $is_auth_ary as $fid => $is_auth_row ) + { + if( ($is_auth_row['auth_view']) ) + { + $auth_data_sql .= ( $auth_data_sql != '' ) ? ', ' . $fid : $fid; + } + } + + if( empty($auth_data_sql) ) + { + $auth_data_sql = -1; + } + + $userdata[$userdata_key] = $auth_data_sql; + return $auth_data_sql; + } } ?> \ No newline at end of file --- functions_mx.php DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:33:32
|
Update of /cvsroot/mxbb/mx_errordocs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3037 Modified Files: mx_install_readme.htm Removed Files: readme.txt Log Message: related... Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/mx_install_readme.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_install_readme.htm 22 Jun 2008 20:17:15 -0000 1.1 --- mx_install_readme.htm 13 Jul 2008 19:33:28 -0000 1.2 *************** *** 220,237 **** <tr> <td colspan="2"><p><b><font size="5">MXP</font><font size="5"> Module - ! News Manager<br> <font size="2">v. 1.0.2</font></font></b></p> <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> ! - for MXP Core 2.8.x and 3.0.x (with some notes, see below)</p> ! <p>Note: <em>This module currently supports standalone/internal and phpBB2 ! mode only (with MXP 3.0.x)</em></p> <p><strong>Author [Credits]</strong><br /> ! <a href="mailto:jon...@mx...">Jon Ohlsson</a> [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin]<br /> <br /> <span style="font-weight: bold">Description</span> <br /> The MXP Module is an addon product for the MX-Publisher Core.</p> <p><strong>Features</strong> <br /> ! Simple News Manager, with a latest news block.</p> ! <p> I. <a href="#install">Installation/Upgrade instructions</a> <br /> <br /> II. <a href="#themes">Additional styles</a> <br /> --- 220,244 ---- <tr> <td colspan="2"><p><b><font size="5">MXP</font><font size="5"> Module - ! ErrorDocs Handler<br> <font size="2">v. 1.0.2</font></font></b></p> <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> ! - for MXP Core 2.8.x and 3.0.x (with some notes, see below)</p> ! <p><strong>Author [Credits]</strong><br /> ! <a href="mailto:jon...@mx...">Jon Ohlsson</a> [Markus, ! Jon Ohlsson]<br> ! Original MX-Publisher Errordocs module by <a href="http://www.phpmix.com/">Markus</a> <br /> <br /> <span style="font-weight: bold">Description</span> <br /> The MXP Module is an addon product for the MX-Publisher Core.</p> <p><strong>Features</strong> <br /> ! The ErrorDocs Handler Module allows you to easilly integrate web server ! HTTP Error Documents (ie. 404 Not Found, etc.) with your portal pages.</p> ! <p><strong>Reference</strong></p> ! <ul> ! <li> More Information on HTTP Error Codes: <br> ! <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10">RFC2616 - Hypertext Transfer Protocol -- HTTP/1.1 -- Status Code Definitions</a> </li> ! <li>http://httpd.apache.org/docs/mod/core.html#errordocument </li> ! </ul> <p> I. <a href="#install">Installation/Upgrade instructions</a> <br /> <br /> II. <a href="#themes">Additional styles</a> <br /> *************** *** 239,243 **** III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-publisher.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> --- 246,250 ---- III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-publisher.com/no_valid_page" target="_blank" class="postlink">DEMO </a> <br /> <br /> --- readme.txt DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:32:51
|
Update of /cvsroot/mxbb/mx_contact/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2611 Modified Files: admin_contact_log.php Log Message: related... Index: admin_contact_log.php =================================================================== RCS file: /cvsroot/mxbb/mx_contact/admin/admin_contact_log.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_contact_log.php 12 Dec 2007 18:41:34 -0000 1.1 --- admin_contact_log.php 13 Jul 2008 19:32:48 -0000 1.2 *************** *** 42,47 **** { include_once($module_root_path . 'language/lang_english/lang_main.'.$phpEx); ! $link_language = 'lang_english'; ! } else { --- 42,47 ---- { include_once($module_root_path . 'language/lang_english/lang_main.'.$phpEx); ! $link_language = 'lang_english'; ! } else { *************** *** 265,269 **** FROM " . CONTACT_MSGS_TABLE . " ORDER BY sendtime DESC ! LIMIT " . $start . ", " . $board_config['topics_per_page']; if(!$result = $db->sql_query($sql)) --- 265,269 ---- FROM " . CONTACT_MSGS_TABLE . " ORDER BY sendtime DESC ! LIMIT " . $start . ", " . (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15); if(!$result = $db->sql_query($sql)) *************** *** 365,369 **** { $total_pag_items = $total['total']; ! $pagination = generate_pagination("admin_contact_log.$phpEx?mode=$mode", $total_pag_items, $board_config['topics_per_page'], $start); } } --- 365,369 ---- { $total_pag_items = $total['total']; ! $pagination = generate_pagination("admin_contact_log.$phpEx?mode=$mode", $total_pag_items, (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15), $start); } } *************** *** 371,375 **** $template->assign_vars(array( 'PAGINATION' => $pagination, ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / $board_config['topics_per_page']) +1), ceil($total_pag_items / $board_config['topics_per_page']))) ); --- 371,375 ---- $template->assign_vars(array( 'PAGINATION' => $pagination, ! 'PAGE_NUMBER' => sprintf($lang['Page_of'], (floor($start / (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15)) +1), ceil($total_pag_items / (isset($board_config['topics_per_page']) ? $board_config['topics_per_page'] : 15)))) ); |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:32:25
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2587 Modified Files: mx_common.php Log Message: related... Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/mx_common.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** mx_common.php 3 Jun 2008 20:07:11 -0000 1.20 --- mx_common.php 13 Jul 2008 19:32:22 -0000 1.21 *************** *** 115,124 **** function my_decode_bbtext( $bbtext, $bbcode_uid ) { ! global $board_config, $mx_root_path; $mytext = stripslashes( $bbtext ); if ( $board_config['allow_bbcode'] ) { ! $mytext = ( $board_config['allow_bbcode'] ) ? mx_decode( $mytext, $bbcode_uid, $board_config['allow_smilies'] ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); } --- 115,124 ---- function my_decode_bbtext( $bbtext, $bbcode_uid ) { ! global $board_config, $mx_root_path, $mx_bbcode; $mytext = stripslashes( $bbtext ); if ( $board_config['allow_bbcode'] ) { ! $mytext = ( $board_config['allow_bbcode'] ) ? $mx_bbcode->decode( $mytext, $bbcode_uid, $board_config['allow_smilies'] ) : preg_replace( "/\:[0-9a-z\:]+\]/si", "]", $mytext ); } |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:31:46
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2151 Modified Files: mx_module_defs.php Log Message: bbcodes as a class, backend extended Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** mx_module_defs.php 9 Mar 2008 23:41:01 -0000 1.29 --- mx_module_defs.php 13 Jul 2008 19:31:43 -0000 1.30 *************** *** 150,154 **** { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $mx_request_vars; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; --- 150,154 ---- { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix; ! global $mx_request_vars, $mx_bbcode; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; *************** *** 214,218 **** if( $smilies_on) { ! mx_generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } --- 214,218 ---- if( $smilies_on) { ! $mx_bbcode->generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } *************** *** 286,290 **** { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; ! global $mx_request_vars; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; --- 286,290 ---- { global $template, $board_config, $db, $theme, $lang, $images, $mx_blockcp, $mx_root_path, $phpbb_root_path, $phpEx, $mx_table_prefix, $table_prefix, $html_entities_match, $html_entities_replace; ! global $mx_request_vars, $mx_bbcode; $parameter_value = $mx_request_vars->is_post('preview') ? $mx_request_vars->post($parameter_data['parameter_name'], MX_TYPE_NO_TAGS) : $parameter_data['parameter_value']; *************** *** 349,353 **** if( $smilies_on) { ! mx_generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } --- 349,353 ---- if( $smilies_on) { ! $mx_bbcode->generate_smilies('inline', PAGE_INDEX); $template->assign_block_vars('switch_smilies', array()); } |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:31:30
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2098/mx_phpbb3blocks Modified Files: mx_announce.php Log Message: bbcodes as a class, backend extended Index: mx_announce.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/mx_announce.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_announce.php 5 Jul 2008 22:38:22 -0000 1.1 --- mx_announce.php 13 Jul 2008 19:31:27 -0000 1.2 *************** *** 145,157 **** $poster = mx_get_username_string('username', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $post_date = $mx_user->format_date($postrow[$i]['post_time']); ! ! $title = $postrow[$i]['topic_title']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $title = mx_decode($title, $bbcode_uid); $message = $postrow[$i]['post_text']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $message = mx_decode($message, $bbcode_uid ); $topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $postrow[$i]['topic_title']) : $postrow[$i]['topic_title']; --- 145,157 ---- $poster = mx_get_username_string('username', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $post_date = $mx_user->format_date($postrow[$i]['post_time']); ! ! $title = $postrow[$i]['topic_title']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $title = $mx_bbcode->decode($title, $bbcode_uid); $message = $postrow[$i]['post_text']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $message = $mx_bbcode->decode($message, $bbcode_uid ); $topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $postrow[$i]['topic_title']) : $postrow[$i]['topic_title']; *************** *** 177,184 **** } ! $poster_id = $postrow[$i]['user_id']; $poster = mx_get_username_string('username', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $poster_color = mx_get_username_string('colour', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); ! $poster_full = mx_get_username_string('full', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $annoucement_image = $announce_img_normal; --- 177,184 ---- } ! $poster_id = $postrow[$i]['user_id']; $poster = mx_get_username_string('username', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $poster_color = mx_get_username_string('colour', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); ! $poster_full = mx_get_username_string('full', $poster_id, $postrow[$i]['username'], $postrow[$i]['topic_first_poster_colour']); $annoucement_image = $announce_img_normal; *************** *** 307,317 **** $replies = $postrow[$i]['topic_replies']; $views = $postrow[$i]['topic_views']; ! $first_post_time = $mx_user->format_date($postrow[$i]['topic_time']); ! $last_post_time = $mx_user->format_date($postrow[$i]['last_post_time']); ! $last_poster = mx_get_username_string('username', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); $last_poster_color = mx_get_username_string('colour', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); ! $last_poster_full = mx_get_username_string('full', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); //$last_poster_full = ( $postrow[$i]['id2'] == ANONYMOUS ) ? ( ( $postrow[$i]['post_username2'] != '' ) ? $postrow[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $postrow[$i]['id2']) . '">' . $postrow[$i]['user2'] . '</a>'; --- 307,317 ---- $replies = $postrow[$i]['topic_replies']; $views = $postrow[$i]['topic_views']; ! $first_post_time = $mx_user->format_date($postrow[$i]['topic_time']); ! $last_post_time = $mx_user->format_date($postrow[$i]['last_post_time']); ! $last_poster = mx_get_username_string('username', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); $last_poster_color = mx_get_username_string('colour', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); ! $last_poster_full = mx_get_username_string('full', $postrow[$i]['id2'], $postrow[$i]['user2'], $postrow[$i]['topic_last_poster_colour']); //$last_poster_full = ( $postrow[$i]['id2'] == ANONYMOUS ) ? ( ( $postrow[$i]['post_username2'] != '' ) ? $postrow[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . mx_append_sid(PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $postrow[$i]['id2']) . '">' . $postrow[$i]['user2'] . '</a>'; *************** *** 326,330 **** 'POST_SUBJECT' => $post_subject, 'POSTER_NAME' => $poster, ! 'POSTER_FULL' => $poster_full, 'POSTER_ID' => $poster_id, 'TOPIC_ID' => $postrow[$i]['topic_id'], --- 326,330 ---- 'POST_SUBJECT' => $post_subject, 'POSTER_NAME' => $poster, ! 'POSTER_FULL' => $poster_full, 'POSTER_ID' => $poster_id, 'TOPIC_ID' => $postrow[$i]['topic_id'], |
|
From: Jon O. <jon...@us...> - 2008-07-13 19:31:30
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2098/mx_phpbb2blocks Modified Files: mx_announce.php Log Message: bbcodes as a class, backend extended Index: mx_announce.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_announce.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_announce.php 9 Feb 2008 19:47:17 -0000 1.9 --- mx_announce.php 13 Jul 2008 19:31:27 -0000 1.10 *************** *** 147,155 **** $title = $postrow[$i]['topic_title']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $title = mx_decode($title, $bbcode_uid); $message = $postrow[$i]['post_text']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $message = mx_decode($message, $bbcode_uid ); $topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $postrow[$i]['topic_title']) : $postrow[$i]['topic_title']; --- 147,155 ---- $title = $postrow[$i]['topic_title']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $title = $mx_bbcode->decode($title, $bbcode_uid); $message = $postrow[$i]['post_text']; $bbcode_uid = $postrow[$i]['bbcode_uid']; ! $message = $mx_bbcode->decode($message, $bbcode_uid ); $topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $postrow[$i]['topic_title']) : $postrow[$i]['topic_title']; |