|
From: Jon O. <jon...@us...> - 2005-10-23 18:48:29
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21549/modules/mx_navmenu/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_navmenu/admin/mx_module_defs.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** mx_module_defs.php 22 Oct 2005 10:51:03 -0000 1.10 --- mx_module_defs.php 23 Oct 2005 18:48:21 -0000 1.11 *************** *** 111,130 **** $link_target_options = array("Default", "New browser", "IncludeX Block"); - /* - $menu_display_mode_options = array(); - $menu_display_mode_options = array("Vertical", "Horizontal"); - - $menu_page_sync_options = array(); - $menu_page_sync_options = array("No", "Highlight_current_page"); - - $config_name = array('menu_display_mode', 'menu_page_sync'); - - for( $i = 0; $i < count($config_name); $i++ ) - { - $config_value = $block_config[$block_id][$config_name[$i]]['parameter_value']; - $mx_menu_config[$config_name[$i]] = $config_value; - } - */ - // // Mode setting --- 111,114 ---- *************** *** 414,419 **** $cat_target = $link_target_options[$category_rows[$cat_count]['cat_target']]; - //$pagelist = get_list_opt("cat_url_sel", PAGE_TABLE, 'page_id', 'page_name', $cat_url, true); - $link_target_list = '<select name="cat_target_sel">'; for( $j = 0; $j < count($link_target_options); $j++ ) --- 398,401 ---- *************** *** 498,502 **** 'E_CAT_DESC' => $cat_desc, 'S_CAT_SHOW_CAT' => $show_cat_select, - //'S_CAT_PAGE_LIST' => $pagelist, 'S_CAT_LINK_TARGET_LIST' => $link_target_list, --- 480,483 ---- *************** *** 509,514 **** // 'NAME' => $name, - //'L_MENU_DELETE' => $lang['Menu_delete'], - //'L_MENU_DELETE_EXPLAIN' => $lang['Menu_delete_explain'], 'L_MOVE_CONTENTS' => $lang['Move_contents'], 'L_MENU_NAME' => $lang['Menu_name'], --- 490,493 ---- |