|
From: Jon O. <jon...@us...> - 2005-10-22 10:55:21
|
Update of /cvsroot/mxbb/mx_newssuite/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15207/modules/mx_newssuite/admin Modified Files: mx_module_defs.php Removed Files: admin_edit.php news_config.php Log Message: updated --- admin_edit.php DELETED --- Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/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 1 Oct 2005 14:14:44 -0000 1.5 --- mx_module_defs.php 22 Oct 2005 10:55:12 -0000 1.6 *************** *** 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,66 **** function submit_module_parameters( $parameter_data, $block_id ) { ! global $HTTP_POST_VARS, $db, $board_config, $html_entities_match, $html_entities_replace, $mx_blockcp, $mx_root_path, $phpEx; ! $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']]; *************** *** 90,94 **** // 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; --- 87,91 ---- // 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; *************** *** 113,127 **** include( $module_root_path . "includes/newssuite_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) ); --- 110,115 ---- include( $module_root_path . "includes/newssuite_defs.$phpEx" ); $template->set_filenames(array( ! 'parameter' => 'admin/mx_module_parameters.tpl') ); *************** *** 142,152 **** $categories = get_main_cats( $newssuite_config ); - /* - $news_type_select_data = array(); - $news_type_select_temp = $mx_blockcp->block_parameters['news_type_select']['parameter_value']; - $news_type_select_temp = stripslashes( $news_type_select_temp ); - $news_type_select_data = eval( "return " . $news_type_select_temp . ";" ); - */ - $news_type_select_data = ( !empty( $parameter_data['parameter_value'] ) ) ? unserialize($parameter_data['parameter_value']) : array(); --- 130,133 ---- *************** *** 231,234 **** --- 212,216 ---- 'PARAMETER_TYPE_EXPLAIN' => ( !empty($lang["ParType_".$parameter_data['parameter_type'] . "_info"]) ) ? '<br />' . $lang["ParType_".$parameter_data['parameter_type'] . "_info"] : '', + 'MX_IMAGES_ROOT' => $mx_root_path . 'templates/subSilver/images/', 'SCRIPT_PATH' => $module_root_path, 'I_ANNOUNCE' => PHPBB_URL . $images['folder_announce'], --- news_config.php DELETED --- |