Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18918/modules/mx_smartor/admin Modified Files: admin_album_auth.php admin_album_cat.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config.php admin_album_personal.php Log Message: adding php5 support Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_auth.php 1 Oct 2005 14:17:36 -0000 1.5 --- admin_album_auth.php 11 Dec 2005 16:22:07 -0000 1.6 *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); $album_user_id = ALBUM_PUBLIC_GALLERY; --- 30,39 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); $album_user_id = ALBUM_PUBLIC_GALLERY; Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_clearcache.php 1 Oct 2005 14:17:36 -0000 1.5 --- admin_album_clearcache.php 11 Dec 2005 16:22:07 -0000 1.6 *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); if ( !isset( $HTTP_POST_VARS['confirm'] ) ) --- 30,39 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); if ( !isset( $HTTP_POST_VARS['confirm'] ) ) Index: admin_album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cat.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_cat.php 1 Oct 2005 14:17:36 -0000 1.5 --- admin_album_cat.php 11 Dec 2005 16:22:07 -0000 1.6 *************** *** 24,28 **** { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Categories'] = "modules/mx_smartor/admin/" . $filename; return; } --- 24,28 ---- { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Categories'] = 'modules/mx_smartor/admin/' . $filename; return; } *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); /* --- 30,40 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); /* Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_personal.php 1 Oct 2005 14:17:36 -0000 1.5 --- admin_album_personal.php 11 Dec 2005 16:22:07 -0000 1.6 *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); if ( !isset( $HTTP_POST_VARS['submit'] ) ) --- 30,39 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); if ( !isset( $HTTP_POST_VARS['submit'] ) ) Index: admin_album_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_config.php 1 Oct 2005 14:17:36 -0000 1.5 --- admin_album_config.php 11 Dec 2005 16:22:07 -0000 1.6 *************** *** 24,28 **** { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Configuration std'] = "modules/mx_smartor/admin/" . $filename; return; } --- 24,28 ---- { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Configuration_std'] = 'modules/mx_smartor/admin/' . $filename; return; } *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); // Pull all config data --- 30,44 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! // ------------------------------ ! // DEBUG ONLY ;-) ! // ! error_reporting(E_ALL); ! // ------------------------------ ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); // Pull all config data Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_album_clown_SP.php 1 Oct 2005 14:17:36 -0000 1.7 --- admin_album_clown_SP.php 11 Dec 2005 16:22:07 -0000 1.8 *************** *** 24,28 **** { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Configuration adv'] = "modules/mx_smartor/admin/" . $filename; return; } --- 24,28 ---- { $filename = basename( __FILE__ ); ! $module['Smartor_Album']['Configuration_adv'] = "modules/mx_smartor/admin/" . $filename; return; } *************** *** 30,40 **** // Let's set the root dir for phpBB ! $module_root_path = '../'; ! $mx_root_path = '../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_constants.' . $phpEx ); ! require( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! require( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); /* --- 30,39 ---- // Let's set the root dir for phpBB ! $module_root_path = './../'; ! $mx_root_path = './../../../'; require( $mx_root_path . 'extension.inc' ); require( $mx_root_path . 'admin/pagestart.' . $phpEx ); ! include_once( $module_root_path . 'album_mod/album_common.' . $phpEx ); ! include_once( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx ); /* |