|
From: Jon O. <jon...@us...> - 2005-10-23 18:48:29
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21549/modules/mx_textblocks/admin Modified Files: mx_module_defs.php Log Message: Updated all core blocks to use the new $mx_block->get_parameters() api, instead of old red_block_config() function Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_module_defs.php 22 Oct 2005 10:51:03 -0000 1.8 --- mx_module_defs.php 23 Oct 2005 18:48:21 -0000 1.9 *************** *** 104,110 **** --- 104,112 ---- // mx_remove_search_post($block_id); + $block_config_temp = $mx_cache->read( $block_id, MX_CACHE_BLOCK_TYPE ); $block_info_temp = $block_config_temp[$block_id]['block_info']; $block_title = $block_info_temp['block_title']; + mx_add_search_words('single', $block_id, $parameter_value, $block_title); |