|
From: Jon O. <jon...@us...> - 2005-09-20 15:31:17
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15865/modules/mx_navmenu/admin Modified Files: mx_module_defs.php Log Message: adding fixes for mxBB 2.8 RC 6 Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mx_module_defs.php 7 Sep 2005 19:36:31 -0000 1.5 --- mx_module_defs.php 20 Sep 2005 15:30:59 -0000 1.6 *************** *** 201,208 **** // Start page proper // $template->set_filenames(array( ! 'parameter' => $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl') ); ! $s_hidden_fields .= '<input type="hidden" name="block_id" value="' . $block_id . '" />'; --- 201,217 ---- // Start page proper // + if (file_exists($mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl')) + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/'. $theme['template_name'] . '/admin/mx_module_parameters.tpl'; + } + else + { + $module_template_file = $mx_root_path . $mx_blockcp->module_root_path . 'templates/subSilver' . '/admin/mx_module_parameters.tpl'; + } + $template->set_filenames(array( ! 'parameter' => $module_template_file) ); ! $s_hidden_fields .= '<input type="hidden" name="block_id" value="' . $block_id . '" />'; |