|
From: Jon O. <jon...@us...> - 2008-02-08 23:43:07
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14792 Modified Files: db_install.php db_uninstall.php db_upgrade.php pjirc_chat.php pjirc_faq.php pjirc_front.php Log Message: Removing trailing newlines... Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 7 Jun 2007 00:08:30 -0000 1.1 --- db_uninstall.php 8 Feb 2008 23:42:59 -0000 1.2 *************** *** 13,17 **** { $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.'.$phpEx); --- 13,17 ---- { $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.'.$phpEx); *************** *** 62,64 **** echo '<tr><td class="row1" align="center"><span class="gen">' . $message . '</span></td></tr>'; echo '</table> <br />'; ! ?> --- 62,64 ---- echo '<tr><td class="row1" align="center"><span class="gen">' . $message . '</span></td></tr>'; echo '</table> <br />'; ! ?> \ No newline at end of file Index: pjirc_chat.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_chat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pjirc_chat.php 10 Jul 2007 02:38:59 -0000 1.3 --- pjirc_chat.php 8 Feb 2008 23:42:59 -0000 1.4 *************** *** 22,31 **** //error_reporting( E_ALL ); ! //ini_set( 'display_errors', '1' ); $mx_root_path = "../../"; $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); --- 22,31 ---- //error_reporting( E_ALL ); ! //ini_set( 'display_errors', '1' ); $mx_root_path = "../../"; $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); *************** *** 33,37 **** // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); define('_PJIRC_CONFIG', true); --- 33,37 ---- // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); define('_PJIRC_CONFIG', true); *************** *** 50,67 **** // ! // Checks if guests are allowed ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); } ! else ! { ! $nick = str_replace(" ", "_", $userdata['username']); ! } ! } ! else ! { if ( !$userdata['session_logged_in'] ) { --- 50,67 ---- // ! // Checks if guests are allowed ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); } ! else ! { ! $nick = str_replace(" ", "_", $userdata['username']); ! } ! } ! else ! { if ( !$userdata['session_logged_in'] ) { *************** *** 71,78 **** exit; } ! else ! { ! $nick = str_replace(" ", "_", $userdata['username']); ! } } --- 71,78 ---- exit; } ! else ! { ! $nick = str_replace(" ", "_", $userdata['username']); ! } } *************** *** 134,136 **** $template->pparse('body'); ! ?> --- 134,136 ---- $template->pparse('body'); ! ?> \ No newline at end of file Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_install.php 10 Jul 2007 02:38:59 -0000 1.2 --- db_install.php 8 Feb 2008 23:42:59 -0000 1.3 *************** *** 111,113 **** echo "</table><br />"; ! ?> --- 111,113 ---- echo "</table><br />"; ! ?> \ No newline at end of file Index: pjirc_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_front.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pjirc_front.php 10 Jul 2007 02:38:59 -0000 1.2 --- pjirc_front.php 8 Feb 2008 23:43:00 -0000 1.3 *************** *** 69,77 **** $isimler[$i++] = $record['username']; ! // Checks if guests are allowed ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { if ($record['username']==$userdata['username']) { --- 69,77 ---- $isimler[$i++] = $record['username']; ! // Checks if guests are allowed ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { if ($record['username']==$userdata['username']) { *************** *** 84,88 **** } else ! { if ( $pjirc_config['show_chat_select'] ) { --- 84,88 ---- } else ! { if ( $pjirc_config['show_chat_select'] ) { *************** *** 97,106 **** $can_join="yes"; } ! } ! } ! else { ! if ( !$userdata['session_logged_in'] ) ! { if ($record['username']==$userdata['username']) { --- 97,106 ---- $can_join="yes"; } ! } ! } ! else { ! if ( !$userdata['session_logged_in'] ) ! { if ($record['username']==$userdata['username']) { *************** *** 113,117 **** } else ! { if ( $pjirc_config['show_chat_select'] ) { --- 113,117 ---- } else ! { if ( $pjirc_config['show_chat_select'] ) { *************** *** 128,160 **** } ! } } if (!isset($can_join) || empty($can_join)) { ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { $can_join="yes"; } else ! { $can_join="yes"; ! } ! } ! else { ! if ( !$userdata['session_logged_in'] ) ! { $can_join="no"; } else ! { $can_join="yes"; } } } ! $chatters = ( empty($isimler[1]) ? '' : --- 128,160 ---- } ! } } if (!isset($can_join) || empty($can_join)) { ! if( $pjirc_config['irc_allow_guests'] ) ! { ! if ( !$userdata['session_logged_in'] ) ! { $can_join="yes"; } else ! { $can_join="yes"; ! } ! } ! else { ! if ( !$userdata['session_logged_in'] ) ! { $can_join="no"; } else ! { $can_join="yes"; } } } ! $chatters = ( empty($isimler[1]) ? '' : *************** *** 175,180 **** ! if ( !$userdata['session_logged_in'] ) ! { //$template->assign_block_vars('switch_user_logged_out', array()); --- 175,180 ---- ! if ( !$userdata['session_logged_in'] ) ! { //$template->assign_block_vars('switch_user_logged_out', array()); *************** *** 189,193 **** } else ! { if ( $can_join=="no") { --- 189,193 ---- } else ! { if ( $can_join=="no") { *************** *** 229,231 **** unset($chatters, $block_config, $sql, $howmanychat, $chatters_list, $block_size, $module_root_path, $isimler, $can_join); ! ?> --- 229,231 ---- unset($chatters, $block_config, $sql, $howmanychat, $chatters_list, $block_size, $module_root_path, $isimler, $can_join); ! ?> \ No newline at end of file Index: pjirc_faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_faq.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pjirc_faq.php 7 Jun 2007 00:08:33 -0000 1.1 --- pjirc_faq.php 8 Feb 2008 23:42:59 -0000 1.2 *************** *** 13,17 **** $mx_root_path = "../../"; $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); --- 13,17 ---- $mx_root_path = "../../"; $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); *************** *** 19,23 **** // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); // // End session management --- 19,23 ---- // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); // // End session management *************** *** 101,105 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], --- 101,105 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], *************** *** 122,125 **** include($mx_root_path . 'includes/page_tail.'.$phpEx); ! ?> ! --- 122,124 ---- include($mx_root_path . 'includes/page_tail.'.$phpEx); ! ?> \ No newline at end of file Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_upgrade.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_upgrade.php 10 Jul 2007 02:38:59 -0000 1.2 --- db_upgrade.php 8 Feb 2008 23:42:59 -0000 1.3 *************** *** 90,92 **** echo "</table><br />"; ! ?> --- 90,92 ---- echo "</table><br />"; ! ?> \ No newline at end of file |