|
From: OryNider <ory...@us...> - 2008-02-10 02:25:44
|
Update of /cvsroot/mxbb/mx_blogs/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14725/admin Modified Files: Tag: core28x admin_weblog_action.php admin_weblog_cfg.php admin_weblog_groups.php admin_weblog_mood.php admin_weblog_templates.php admin_weblog_tools.php Log Message: MX-Publisher Index: admin_weblog_action.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_action.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 *** admin_weblog_action.php 31 Jan 2008 03:31:55 -0000 1.1.2.1 --- admin_weblog_action.php 10 Feb 2008 02:25:39 -0000 1.1.2.2 *************** *** 51,61 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 51,60 ---- // Read language definition // ********************************************************************** ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } Index: admin_weblog_mood.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_mood.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 *** admin_weblog_mood.php 31 Jan 2008 03:31:55 -0000 1.1.2.1 --- admin_weblog_mood.php 10 Feb 2008 02:25:39 -0000 1.1.2.2 *************** *** 44,54 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 44,53 ---- // Read language definition // ********************************************************************** ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } Index: admin_weblog_templates.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_templates.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 *** admin_weblog_templates.php 31 Jan 2008 03:31:55 -0000 1.1.2.1 --- admin_weblog_templates.php 10 Feb 2008 02:25:40 -0000 1.1.2.2 *************** *** 44,54 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 44,53 ---- // Read language definition // ********************************************************************** ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } Index: admin_weblog_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_cfg.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 *** admin_weblog_cfg.php 31 Jan 2008 03:31:55 -0000 1.1.2.1 --- admin_weblog_cfg.php 10 Feb 2008 02:25:39 -0000 1.1.2.2 *************** *** 45,55 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 45,54 ---- // Read language definition // ********************************************************************** ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } Index: admin_weblog_tools.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_tools.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 *** admin_weblog_tools.php 31 Jan 2008 03:31:55 -0000 1.1.2.1 --- admin_weblog_tools.php 10 Feb 2008 02:25:40 -0000 1.1.2.2 *************** *** 42,52 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 42,51 ---- // Read language definition // ********************************************************************** ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } Index: admin_weblog_groups.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/admin/admin_weblog_groups.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 *** admin_weblog_groups.php 31 Jan 2008 03:34:15 -0000 1.1.2.1 --- admin_weblog_groups.php 10 Feb 2008 02:25:39 -0000 1.1.2.2 *************** *** 43,53 **** // Read language definition // ********************************************************************** ! if ( file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ) ) ! { ! include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_admin.' . $phpEx ); ! } ! else if ( file_exists( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ) ) { ! include( $module_root_path . 'language/lang_english/lang_weblog_admin.' . $phpEx ); } --- 43,54 ---- // Read language definition // ********************************************************************** ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : (($board_config['default_lang']) ? $board_config['default_lang'] : 'english'); ! ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_weblog_admin.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_weblog_admin.$phpEx" . ' couldn\'t be opened.'); ! } } *************** *** 292,296 **** } ! $this_userdata = get_userdata($group_moderator, true); $group_moderator = $this_userdata['user_id']; --- 293,297 ---- } ! $this_userdata = mx_get_userdata($group_moderator, true); $group_moderator = $this_userdata['user_id']; |