|
From: OryNider <ory...@us...> - 2008-03-27 14:31:47
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/admin Modified Files: admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_ext.php admin_album_otf.php admin_album_personal.php Log Message: Upgrade for 2.8.2 finaly :D Index: admin_album_config_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config_personal.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_config_personal.php 13 Mar 2008 08:35:53 -0000 1.5 --- admin_album_config_personal.php 27 Mar 2008 14:30:54 -0000 1.6 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_album_cfg.php 13 Mar 2008 08:35:53 -0000 1.9 --- admin_album_cfg.php 27 Mar 2008 14:30:47 -0000 1.10 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** admin_album_auth.php 13 Mar 2008 08:35:53 -0000 1.16 --- admin_album_auth.php 27 Mar 2008 14:30:43 -0000 1.17 *************** *** 94,98 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 94,98 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_clearcache.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_clearcache.php 27 Mar 2008 14:30:47 -0000 1.15 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_ext.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_ext.php 13 Mar 2008 08:35:53 -0000 1.4 --- admin_album_ext.php 27 Mar 2008 14:30:54 -0000 1.5 *************** *** 62,67 **** $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset( $HTTP_POST_VARS[$config_name] ) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; ! if ( isset( $HTTP_POST_VARS['submit'] ) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET --- 62,67 ---- $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset( $_POST[$config_name] ) ) ? $_POST[$config_name] : $default_config[$config_name]; ! if ( isset( $_POST['submit'] ) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET *************** *** 72,80 **** mx_message_die( GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } } $db->sql_freeresult($result); ! if ( isset( $HTTP_POST_VARS['submit'] ) ) { $message = $lang['album_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_album_config'], "<a href=\"" . mx_append_sid( "admin_album_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>" ); --- 72,81 ---- mx_message_die( GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql ); } + $mx_cache->put('album_config', $new); } } $db->sql_freeresult($result); ! if ( isset( $_POST['submit'] ) ) { $message = $lang['album_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_album_config'], "<a href=\"" . mx_append_sid( "admin_album_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>" ); Index: admin_album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cat.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_cat.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_cat.php 27 Mar 2008 14:30:46 -0000 1.15 *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 103,107 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_otf.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_otf.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_album_otf.php 13 Mar 2008 08:35:53 -0000 1.3 --- admin_album_otf.php 27 Mar 2008 14:30:55 -0000 1.4 *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 103,107 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_personal.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_personal.php 27 Mar 2008 14:30:58 -0000 1.15 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_album_clown_SP.php 13 Mar 2008 08:35:53 -0000 1.18 --- admin_album_clown_SP.php 27 Mar 2008 14:30:48 -0000 1.19 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); |