|
From: Jon O. <jon...@us...> - 2006-06-25 21:53:31
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25859/modules/mx_calsnails/includes Modified Files: cal_functions.php mx_common.php Log Message: Implementing a new mx_post class, to handle all kind of html, bbcode, smilies, links, images etc - removed changes for this module, for now Index: cal_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cal_functions.php 29 May 2006 15:38:06 -0000 1.4 --- cal_functions.php 25 Jun 2006 21:53:26 -0000 1.5 *************** *** 150,155 **** if ( $i == 0 ) { ! $template->assign_block_vars( 'no_events', array( 'NO_EVENTS' => $lang['No records'] ) ! ); $submit_button = ''; } --- 150,154 ---- if ( $i == 0 ) { ! $template->assign_block_vars( 'no_events', array( 'NO_EVENTS' => $lang['No records'] ) ); $submit_button = ''; } *************** *** 158,163 **** $submit_button = "<input type='submit' accesskey='s' tabindex='6' name='post' class='mainoption' value='" . $lang['Submit'] . "' />"; } ! $template->assign_vars( array( 'SUBMIT' => $submit_button ) ! ); $template->pparse( 'body' ); break; --- 157,161 ---- $submit_button = "<input type='submit' accesskey='s' tabindex='6' name='post' class='mainoption' value='" . $lang['Submit'] . "' />"; } ! $template->assign_vars( array( 'SUBMIT' => $submit_button ) ); $template->pparse( 'body' ); break; *************** *** 517,521 **** { global $html_entities_match, $html_entities_replace; ! global $thisscript, $phpbb_root_path, $phpEx, $db, $template, $action, $phpbbheaders, $board_config, $cal_config, $id, $day, $month, $year, $time, $userdata, $modify, $lang, $event_desc, $subject, $caluser, $endday, $endmonth, $endyear, $bbcode_uid, $homeurl, $block_id; --- 515,519 ---- { global $html_entities_match, $html_entities_replace; ! global $thisscript, $phpbb_root_path, $mx_root_path, $phpEx, $db, $template, $action, $phpbbheaders, $board_config, $cal_config, $id, $day, $month, $year, $time, $userdata, $modify, $lang, $event_desc, $subject, $caluser, $endday, $endmonth, $endyear, $bbcode_uid, $homeurl, $block_id; Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/mx_common.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** mx_common.php 29 May 2006 15:38:06 -0000 1.13 --- mx_common.php 25 Jun 2006 21:53:26 -0000 1.14 *************** *** 112,116 **** function my_decode_bbtext( $bbtext, $bbcode_uid ) { ! global $board_config; $mytext = stripslashes( $bbtext ); --- 112,116 ---- function my_decode_bbtext( $bbtext, $bbcode_uid ) { ! global $board_config, $mx_root_path; $mytext = stripslashes( $bbtext ); *************** *** 126,129 **** --- 126,130 ---- $board_config['smilies_path'] = $smilies_path; } + return $mytext; } |