|
From: Jon O. <jon...@us...> - 2005-09-22 10:11:14
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8476/modules/mx_pafiledb/pafiledb/includes Modified Files: functions.php template.php Log Message: updating Index: template.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/template.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** template.php 9 Jan 2005 21:44:14 -0000 1.5 --- template.php 22 Sep 2005 10:11:02 -0000 1.6 *************** *** 137,143 **** return ( substr( $filename, 0, 1 ) != '/' ) ? $this->root . '/' . $filename : $filename; // Added for mx...to use default theme is theme folder doesn't exist ! }elseif ( file_exists( $module_root_path . 'templates/subSilver/' . $filename ) ) { ! return ( substr( $filename, 0, 1 ) != '/' ) ? $module_root_path . 'templates/subSilver/' : $filename; } } --- 137,144 ---- return ( substr( $filename, 0, 1 ) != '/' ) ? $this->root . '/' . $filename : $filename; // Added for mx...to use default theme is theme folder doesn't exist ! } ! elseif ( file_exists( $module_root_path . 'templates/subSilver/' . $filename ) ) { ! return ( substr( $filename, 0, 1 ) != '/' ) ? $module_root_path . 'templates/subSilver/' . $filename : $filename; } } Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** functions.php 1 May 2005 16:41:29 -0000 1.14 --- functions.php 22 Sep 2005 10:11:02 -0000 1.15 *************** *** 639,643 **** */ // MX ! include_once( $mx_root_path . 'includes/page_header.' . $phpEx ); } --- 639,643 ---- */ // MX ! //include_once( $mx_root_path . 'includes/page_header.' . $phpEx ); } *************** *** 758,762 **** if ( !$is_block ) { ! include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } } --- 758,762 ---- if ( !$is_block ) { ! //include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } } |