|
From: MW <jo...@us...> - 2008-02-11 11:13:22
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9731/includes Modified Files: page_header.php mx_functions_core.php Log Message: code styling: replaced hard coded .php file extentions with $phpEx Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** page_header.php 9 Feb 2008 19:44:11 -0000 1.52 --- page_header.php 11 Feb 2008 11:13:17 -0000 1.53 *************** *** 294,300 **** } ! $search_page_id_pafiledb = get_page_id('dload.php', true); ! $search_page_id_kb = get_page_id('kb.php', true); ! $search_page_id_site = get_page_id('mx_search.php', true); $option_search_site = !empty($search_page_id_site) ? '<option value="site">' . $lang['Mx_search_site'] . '</option>' : ''; --- 294,300 ---- } ! $search_page_id_pafiledb = get_page_id('dload.' . $phpEx, true); ! $search_page_id_kb = get_page_id('kb.' . $phpEx, true); ! $search_page_id_site = get_page_id('mx_search.' . $phpEx, true); $option_search_site = !empty($search_page_id_site) ? '<option value="site">' . $lang['Mx_search_site'] . '</option>' : ''; Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** mx_functions_core.php 10 Feb 2008 21:32:31 -0000 1.72 --- mx_functions_core.php 11 Feb 2008 11:13:17 -0000 1.73 *************** *** 1410,1414 **** global $mx_request_vars; ! $is_dynamic = ( ( $this->block_file == 'mx_dynamic.php' ) ? true : false ); if ( $is_dynamic ) --- 1410,1414 ---- global $mx_request_vars; ! $is_dynamic = ( ( $this->block_file == 'mx_dynamic.' . $phpEx ) ? true : false ); if ( $is_dynamic ) *************** *** 1434,1438 **** function _is_sub() { ! $is_sub = ( ( $this->block_file == 'mx_multiple_blocks.php' ) ? true : false ); if ( $is_sub ) --- 1434,1438 ---- function _is_sub() { ! $is_sub = ( ( $this->block_file == 'mx_multiple_blocks.' . $phpEx ) ? true : false ); if ( $is_sub ) *************** *** 1661,1665 **** } ! $edit_file = !empty( $this->block_edit_file ) ? $this->block_edit_file : 'modules/mx_coreblocks/mx_blockcp.php'; // --- 1661,1665 ---- } ! $edit_file = !empty( $this->block_edit_file ) ? $this->block_edit_file : 'modules/mx_coreblocks/mx_blockcp.' . $phpEx; // *************** *** 1889,1895 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); if (class_exists('mx_module_defs')) --- 1889,1895 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ); if (class_exists('mx_module_defs')) *************** *** 1918,1924 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); if (class_exists('mx_module_defs')) --- 1918,1924 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ); if (class_exists('mx_module_defs')) *************** *** 1946,1952 **** global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.php' ); if (class_exists('mx_module_defs')) --- 1946,1952 ---- global $mx_root_path; ! if ( file_exists( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ) ) { ! include_once( $mx_root_path . $this->module_root_path . 'admin/mx_module_defs.' . $phpEx ); if (class_exists('mx_module_defs')) |