|
From: Jon O. <jon...@us...> - 2005-10-22 10:54:15
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14913/modules/mx_kb/admin Modified Files: mx_module_defs.php Removed Files: kb_config.php Log Message: updated Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_module_defs.php 1 Oct 2005 14:13:46 -0000 1.4 --- mx_module_defs.php 22 Oct 2005 10:54:06 -0000 1.5 *************** *** 20,28 **** /********************************************************************************\ ! | Class: mx_blockcp_parameter ! | The mx_blockcp_parameter object provides extra module block parameters, added to the standard core parameters. ! | ! | Usage examples: ! | \********************************************************************************/ --- 20,25 ---- /********************************************************************************\ ! | Class: mx_module_defs ! | The mx_module_defs object provides additional module block parameters... \********************************************************************************/ *************** *** 61,65 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; --- 58,63 ---- function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $mx_blockcp, $mx_root_path, $phpEx; ! global $html_entities_match, $html_entities_replace; $parameter_value = $HTTP_POST_VARS[$parameter_data['parameter_name']]; *************** *** 79,83 **** // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; --- 77,81 ---- // display parameter field and data in the add/edit page // =================================================== ! function display_module_parameters( $parameter_data, $block_id ) { global $template, $mx_blockcp, $mx_root_path, $theme, $lang; *************** *** 100,114 **** include_once( $module_root_path . "includes/kb_defs.$phpEx" ); - 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) ); --- 98,103 ---- include_once( $module_root_path . "includes/kb_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); --- kb_config.php DELETED --- |