|
From: FlorinCB <ory...@us...> - 2009-07-10 21:31:54
|
Update of /cvsroot/mxbb/mx_radiocast/admin In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19262 Modified Files: admin_radio_auth.php admin_radio_cat.php admin_radio_cfg.php admin_radio_ext.php Log Message: update Index: admin_radio_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_ext.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_radio_ext.php 21 Mar 2008 08:50:58 -0000 1.4 --- admin_radio_ext.php 10 Jul 2009 21:31:41 -0000 1.5 *************** *** 93,97 **** if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['radiocast_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_radiocast_config'], "<a href=\"" . append_sid( "admin_radio_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } --- 93,97 ---- if ( isset( $HTTP_POST_VARS['submit'] ) ) { ! $message = $lang['radiocast_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_radiocast_config'], "<a href=\"" . mx_append_sid( "admin_radio_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>" ); mx_message_die( GENERAL_MESSAGE, $message ); } *************** *** 122,126 **** $template->assign_vars( array( ! 'S_RADIOCAST_ACTION' => append_sid( "admin_radio_ext.$phpEx" ), 'L_RADIOCAST_TITLE' => $lang['mx_radiocast_admin'], --- 122,126 ---- $template->assign_vars( array( ! 'S_RADIOCAST_ACTION' => mx_append_sid( "admin_radio_ext.$phpEx" ), 'L_RADIOCAST_TITLE' => $lang['mx_radiocast_admin'], Index: admin_radio_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_radio_cat.php 21 Mar 2008 08:50:28 -0000 1.3 --- admin_radio_cat.php 10 Jul 2009 21:31:41 -0000 1.4 *************** *** 98,102 **** 'L_RADIOCAST_CAT_TITLE' => $lang['RadioCast_Categories_Title'], 'L_RADIOCAST_CAT_EXPLAIN' => $lang['RadioCast_Categories_Explain'], ! 'S_RADIOCAST_ACTION' => append_sid("admin_radio_cat.$phpEx"), 'L_MOVE_UP' => $lang['Move_up'], 'L_MOVE_DOWN' => $lang['Move_down'], --- 98,102 ---- 'L_RADIOCAST_CAT_TITLE' => $lang['RadioCast_Categories_Title'], 'L_RADIOCAST_CAT_EXPLAIN' => $lang['RadioCast_Categories_Explain'], ! 'S_RADIOCAST_ACTION' => mx_append_sid("admin_radio_cat.$phpEx"), 'L_MOVE_UP' => $lang['Move_up'], 'L_MOVE_DOWN' => $lang['Move_down'], Index: admin_radio_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_auth.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_radio_auth.php 21 Mar 2008 08:50:28 -0000 1.3 --- admin_radio_auth.php 10 Jul 2009 21:31:40 -0000 1.4 *************** *** 85,89 **** 'L_RADIOCAST_AUTH_EXPLAIN' => $lang['RadioCast_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_RADIOCAST_ACTION' => append_sid("admin_radio_auth.$phpEx"), 'L_LOOK_UP_CAT' => $lang['Look_up_Category']) ); --- 85,89 ---- 'L_RADIOCAST_AUTH_EXPLAIN' => $lang['RadioCast_Auth_Explain'], 'L_SELECT_CAT' => $lang['Select_a_Category'], ! 'S_RADIOCAST_ACTION' => mx_append_sid("admin_radio_auth.$phpEx"), 'L_LOOK_UP_CAT' => $lang['Look_up_Category']) ); *************** *** 119,123 **** 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_RADIOCAST_ACTION' => append_sid("admin_radio_auth.$phpEx?cat_id=$cat_id"), ) ); --- 119,123 ---- 'L_IS_MODERATOR' => $lang['Is_Moderator'], ! 'S_RADIOCAST_ACTION' => mx_append_sid("admin_radio_auth.$phpEx?cat_id=$cat_id"), ) ); *************** *** 130,134 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); } --- 130,134 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); } *************** *** 144,148 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql); } --- 144,148 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, 'Could not get Category information', '', __LINE__, __FILE__, $sql); } *************** *** 206,210 **** // okay, return a message... ! $message = $lang['RadioCast_Auth_successfully'] . '<br /><br />' . sprintf($lang['Click_return_radiocast_auth'], '<a href="' . append_sid("admin_radio_auth.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); --- 206,210 ---- // okay, return a message... ! $message = $lang['RadioCast_Auth_successfully'] . '<br /><br />' . sprintf($lang['Click_return_radiocast_auth'], '<a href="' . mx_append_sid("admin_radio_auth.$phpEx") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . mx_append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . '">', '</a>'); mx_message_die(GENERAL_MESSAGE, $message); Index: admin_radio_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_cfg.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_radio_cfg.php 21 Mar 2008 08:50:58 -0000 1.3 --- admin_radio_cfg.php 10 Jul 2009 21:31:41 -0000 1.4 *************** *** 59,63 **** if(!$result = $db->sql_query($sql)) { ! message_die(CRITICAL_ERROR, "Could not query music config information", "", __LINE__, __FILE__, $sql); } else --- 59,63 ---- if(!$result = $db->sql_query($sql)) { ! mx_message_die(CRITICAL_ERROR, "Could not query music config information", "", __LINE__, __FILE__, $sql); } else *************** *** 78,82 **** if( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Failed to update music configuration for $config_name", "", __LINE__, __FILE__, $sql); } } --- 78,82 ---- if( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Failed to update music configuration for $config_name", "", __LINE__, __FILE__, $sql); } } *************** *** 85,91 **** if( isset($HTTP_POST_VARS['submit']) ) { ! $message = $lang['RadioCast_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_radiocast_config'], "<a href=\"" . append_sid("admin_radio_cfg.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); ! message_die(GENERAL_MESSAGE, $message); } } --- 85,91 ---- if( isset($HTTP_POST_VARS['submit']) ) { ! $message = $lang['RadioCast_config_updated'] . "<br /><br />" . sprintf($lang['Click_return_radiocast_config'], "<a href=\"" . mx_append_sid("admin_radio_cfg.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid($mx_root_path . "admin/index.$phpEx?pane=right") . "\">", "</a>"); ! mx_message_die(GENERAL_MESSAGE, $message); } } *************** *** 98,102 **** 'L_RADIOCAST_CONFIG' => $lang['RadioCast_config'], 'L_RADIOCAST_CONFIG_EXPLAIN' => $lang['RadioCast_config_explain'], ! 'S_RADIOCAST_CONFIG_ACTION' => append_sid('admin_radio_cfg.'.$phpEx), 'MAX_STATIONS' => $new['max_stations'], --- 98,102 ---- 'L_RADIOCAST_CONFIG' => $lang['RadioCast_config'], 'L_RADIOCAST_CONFIG_EXPLAIN' => $lang['RadioCast_config_explain'], ! 'S_RADIOCAST_CONFIG_ACTION' => mx_append_sid('admin_radio_cfg.'.$phpEx), 'MAX_STATIONS' => $new['max_stations'], |