|
From: OryNider <ory...@us...> - 2008-03-07 03:27:03
|
Update of /cvsroot/mxbb/mx_radio In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322 Modified Files: Media_Radio.pak db_install.php db_uninstall.php db_upgrade.php mx_install_readme.htm radio_front.php radio_index.php radio_update.php Removed Files: mx_radio.pak Log Message: Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/db_upgrade.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_upgrade.php 28 Feb 2008 06:26:32 -0000 1.3 --- db_upgrade.php 7 Mar 2008 03:26:24 -0000 1.4 *************** *** 49,53 **** // ! // validate before 1.08 // if (!$result = $db->sql_query("SELECT bot_id from " . $mx_table_prefix . "radio_session")) --- 49,53 ---- // ! // validate before 2.01 // if (!$result = $db->sql_query("SELECT bot_id from " . $mx_table_prefix . "radio_session")) Index: radio_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/radio_front.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** radio_front.php 28 Feb 2008 06:26:33 -0000 1.3 --- radio_front.php 7 Mar 2008 03:26:25 -0000 1.4 *************** *** 167,178 **** 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), 'LISTENERS_LIST' => $listeners_list, ! 'S_LISTEN_STATION' => append_sid($module_root_path.'radio_index.'.$phpEx), 'L_ALREADY_LISTENING' => $lang['Already_listening'], 'L_CLICK_TO_LISTEN_STATION' => $lang['Click_to_listen_station'], 'L_LOGIN_TO_LISTEN_STATION' => $lang['Login_to_listen_station'], ! 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, 'L_VERSION' => _radio_VERSION, ! 'L_TITLE' => 'radio' )); --- 167,178 ---- 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), 'LISTENERS_LIST' => $listeners_list, ! 'S_LISTEN_STATION' => mx_append_sid($module_root_path.'radio_index.'.$phpEx), 'L_ALREADY_LISTENING' => $lang['Already_listening'], 'L_CLICK_TO_LISTEN_STATION' => $lang['Click_to_listen_station'], 'L_LOGIN_TO_LISTEN_STATION' => $lang['Login_to_listen_station'], ! 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, 'L_VERSION' => _radio_VERSION, ! 'L_TITLE' => 'radio' )); --- mx_radio.pak DELETED --- Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_radio/mx_install_readme.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_install_readme.htm 28 Feb 2008 06:26:32 -0000 1.2 --- mx_install_readme.htm 7 Mar 2008 03:26:24 -0000 1.3 *************** *** 233,237 **** <p><b><font size="5"><font face="Verdana">mxBB Module - mx_radio</font><br /> ! <font size="2">v. 1.0.0</font></font></b></p> <p><span style="font-weight: bold"><span style= "font-size: 16px; line-height: normal">Module</span></span><br /> --- 233,237 ---- <p><b><font size="5"><font face="Verdana">mxBB Module - mx_radio</font><br /> ! <font size="2">v. 1.0.7</font></font></b></p> <p><span style="font-weight: bold"><span style= "font-size: 16px; line-height: normal">Module</span></span><br /> Index: Media_Radio.pak =================================================================== RCS file: /cvsroot/mxbb/mx_radio/Media_Radio.pak,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Media_Radio.pak 28 Feb 2008 06:26:34 -0000 1.2 --- Media_Radio.pak 7 Mar 2008 03:26:24 -0000 1.3 *************** *** 5,9 **** block=+:=+:Radio Front=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:72=+:126=+:Radio Player=+:Radio Player or Index=+:radio_index.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Radio Player=+:Demo block=+:126=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 5,10 ---- block=+:=+:Radio Front=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:73=+:126=+:Radio Player=+:Radio Player or Index=+:radio_index.php=+: ! parameter=+:126=+:100=+:player_width=+:Number=+:333=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Radio Player=+:Demo block=+:126=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: radio_index.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/radio_index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** radio_index.php 28 Feb 2008 06:26:33 -0000 1.2 --- radio_index.php 7 Mar 2008 03:26:25 -0000 1.3 *************** *** 29,34 **** $title = 'Media Player Radio'; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); ! $player_size = ( isset($block_size) && !empty($block_size) ? $block_size - 15 : '300' ); $is_block = FALSE; --- 29,35 ---- $title = 'Media Player Radio'; ! ! $block_size = (isset($block_size) && !empty($block_size) ? $block_size : '348'); ! $player_size = (isset($block_size) && !empty($block_size) ? $block_size - 15 : '333'); $is_block = FALSE; *************** *** 41,45 **** $title = $mx_block->block_info['block_title']; ! $block_size = $player_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); if( is_object($mx_block)) --- 42,48 ---- $title = $mx_block->block_info['block_title']; ! $desc = $mx_block->block_info['block_desc']; ! $block_size = (isset($block_size) && !empty($block_size) ? $block_size : '100%'); ! $player_size = $mx_block->get_parameters('player_width'); if( is_object($mx_block)) *************** *** 49,70 **** } define('_RADIO_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); // // Begin output of page // ! if ( $radio_config['gf_select'] ) ! { ! $template->set_filenames(array( 'body_radio' => 'mx_player.tpl' ! )); ! } ! else ! { ! $template->set_filenames(array( ! 'body_radio' => 'mx_playerg.tpl' ! )); ! } $template->assign_vars(array( --- 52,70 ---- } + define('_RADIO_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); + $gf_select = ($radio_config['gf_select'] == 1) ? true : false; + + define('FLASH_FILE', $mx_root_path . $radio_config['flash_FileName']); + define('GATEWAY_FILE', $mx_root_path . $radio_config['gateway_FileName']); + // // Begin output of page // ! $template->set_filenames(array( 'body_radio' => 'mx_player.tpl' ! )); $template->assign_vars(array( *************** *** 89,101 **** 'S_UPDATE_RADIO' => mx_append_sid(PORTAL_URL."modules/mx_radio/radio_update.$phpEx"), 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'L_TITLE' => $radio_config['radio_name'], 'RADIO_NAME' => $radio_config['radio_name'], ! 'FLASH_FILE' => $mx_root_path . $radio_config['flash_FileName'], ! 'GATEWAY_FILE' => $mx_root_path . $radio_config['gateway_FileName'], 'IMG_IFRAME_BG' => $module_root_path .'images/iframe_bg.png', 'IMG_ADVIEW' => $module_root_path .'gateway/gateway_files/adview.gif', 'JS_ADX' => $module_root_path .'gateway/gateway_files/adx.js', 'STATION_STREAM' => $radio_config['radio_FileName'] )); --- 89,108 ---- 'S_UPDATE_RADIO' => mx_append_sid(PORTAL_URL."modules/mx_radio/radio_update.$phpEx"), + 'S_IS_FLASH' => $gf_select, + 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'L_TITLE' => $radio_config['radio_name'], 'RADIO_NAME' => $radio_config['radio_name'], ! 'FLASH_FILE' => FLASH_FILE, ! 'GATEWAY_FILE' => GATEWAY_FILE, 'IMG_IFRAME_BG' => $module_root_path .'images/iframe_bg.png', 'IMG_ADVIEW' => $module_root_path .'gateway/gateway_files/adview.gif', 'JS_ADX' => $module_root_path .'gateway/gateway_files/adx.js', + + 'IP' => $radio_ip, + 'PORT' => $radio_port, + 'WMPMODE' => $wmpmode, + 'MIMETYPE' => $mimetype, 'STATION_STREAM' => $radio_config['radio_FileName'] )); |