|
From: OryNider <ory...@us...> - 2008-02-09 11:29:12
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7364 Modified Files: Tag: core28x index.php pjirc_chat.php pjirc_faq.php pjirc_front.php Log Message: mxBB -> Mx-Publisher Index: pjirc_chat.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_chat.php,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** pjirc_chat.php 9 Feb 2008 09:43:38 -0000 1.3.2.1 --- pjirc_chat.php 9 Feb 2008 11:29:08 -0000 1.3.2.2 *************** *** 63,67 **** if ( !$userdata['session_logged_in'] ) { ! mx_redirect(append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } --- 63,67 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect(mx_append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } *************** *** 90,94 **** $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); ! mx_redirect(append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } --- 90,94 ---- $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); ! mx_redirect(mx_append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } *************** *** 99,103 **** } ! $help = append_sid(PORTAL_URL . "modules/mx_pjirc/pjirc_faq.".$phpEx); $page_title = $lang['Chat_Room']; --- 99,103 ---- } ! $help = mx_append_sid(PORTAL_URL . "modules/mx_pjirc/pjirc_faq.".$phpEx); $page_title = $lang['Chat_Room']; *************** *** 127,132 **** 'CHANNEL' => $pjirc_config['irc_channel'], 'QUIT_MESSAGE' => $pjirc_config['irc_quit'], ! // 'S_QUIT_CHAT' => append_sid($module_root_path.'pjirc_drop.'.$phpEx), ! 'S_QUIT_CHAT' => append_sid($module_root_path.'pjirc_update.'.$phpEx), 'LANG' => $board_config['default_lang'], 'HELP' => $help, --- 127,132 ---- 'CHANNEL' => $pjirc_config['irc_channel'], 'QUIT_MESSAGE' => $pjirc_config['irc_quit'], ! // 'S_QUIT_CHAT' => mx_append_sid($module_root_path.'pjirc_drop.'.$phpEx), ! 'S_QUIT_CHAT' => mx_append_sid($module_root_path.'pjirc_update.'.$phpEx), 'LANG' => $board_config['default_lang'], 'HELP' => $help, Index: pjirc_faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_faq.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** pjirc_faq.php 9 Feb 2008 09:43:38 -0000 1.1.2.1 --- pjirc_faq.php 9 Feb 2008 11:29:08 -0000 1.1.2.2 *************** *** 112,116 **** 'FAQ_LINK' => $faq_block[$i][$j]['question'], ! 'U_FAQ_LINK' => append_sid(PORTAL_URL . 'modules/mx_pjirc/pjirc_faq.php' . '#' . $faq_block[$i][$j]['id']) ) ); } --- 112,116 ---- 'FAQ_LINK' => $faq_block[$i][$j]['question'], ! 'U_FAQ_LINK' => mx_append_sid(PORTAL_URL . 'modules/mx_pjirc/pjirc_faq.php' . '#' . $faq_block[$i][$j]['id']) ) ); } Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/index.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** index.php 9 Feb 2008 09:43:38 -0000 1.1.2.1 --- index.php 9 Feb 2008 11:29:08 -0000 1.1.2.2 *************** *** 9,35 **** */ ! define('IN_PORTAL', 1); ! //Turn On Error Reporting ! //error_reporting( E_ALL ); ! $mx_root_path = "../../"; ! $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! //Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! define('_PJIRC_CONFIG', true); ! include_once($mx_module_path .'includes/common.'.$phpEx); /* if ( !$userdata['session_logged_in'] ) { ! redirect(append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/chat.".$phpEx, true)); exit; } --- 9,57 ---- */ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) ! { ! define('IN_PORTAL', true); ! $mx_root_path = "../../"; ! $module_root_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // ! $title = 'Media Player Radio'; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); ! $is_block = FALSE; ! } ! else ! { ! // ! // Read block Configuration ! // ! ! $title = $mx_block->block_info['block_title']; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); ! ! if( is_object($mx_block)) ! { ! $is_block = TRUE; ! } ! } ! ! define('_PJIRC_CONFIG', true); ! include_once($mx_module_path .'includes/common.'.$phpEx); /* if ( !$userdata['session_logged_in'] ) { ! redirect(mx_append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/chat.".$phpEx, true)); exit; } Index: pjirc_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_front.php,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** pjirc_front.php 9 Feb 2008 09:43:38 -0000 1.2.2.1 --- pjirc_front.php 9 Feb 2008 11:29:08 -0000 1.2.2.2 *************** *** 159,166 **** $chatters = ( empty($isimler[1]) ? '' : ! '<a href="' . append_sid( PHPBB_URL . 'profile.php?mode=viewprofile&u='.$isimler[1]) . '" >'.$isimler[1].'</a><br />' ); for($s = 2; $s <= $isimler[0]; $s++) { ! $chatters .= ', <a href="' . append_sid( PHPBB_URL . 'profile.php?mode=viewprofile&u='.$isimler[$s]) . '" >'.$isimler[$s].'</a><br />'; } --- 159,166 ---- $chatters = ( empty($isimler[1]) ? '' : ! '<a href="' . mx_append_sid( PHPBB_URL . 'profile.php?mode=viewprofile&u='.$isimler[1]) . '" >'.$isimler[1].'</a><br />' ); for($s = 2; $s <= $isimler[0]; $s++) { ! $chatters .= ', <a href="' . mx_append_sid( PHPBB_URL . 'profile.php?mode=viewprofile&u='.$isimler[$s]) . '" >'.$isimler[$s].'</a><br />'; } *************** *** 217,221 **** 'CHATTERS_LIST' => $chatters_list, 'L_CLICK_TO_JOIN_CHAT' => $lang['Click_to_join_chat'], ! 'S_JOIN_CHAT' => append_sid(PORTAL_URL . 'modules/mx_pjirc/index.php'), 'L_LOGIN_TO_JOIN_CHAT' => $lang['Login_to_join_chat'], 'L_ALREADY_CHATTING' => $lang['Already_chatting'], --- 217,221 ---- 'CHATTERS_LIST' => $chatters_list, 'L_CLICK_TO_JOIN_CHAT' => $lang['Click_to_join_chat'], ! 'S_JOIN_CHAT' => mx_append_sid(PORTAL_URL . 'modules/mx_pjirc/index.php'), 'L_LOGIN_TO_JOIN_CHAT' => $lang['Login_to_join_chat'], 'L_ALREADY_CHATTING' => $lang['Already_chatting'], |