Project

General

Profile

« Previous | Next » 

Revision 381

Added by Matthias almost 18 years ago

Fixed large space between menupoints in IE (#349)

View differences:

trunk/wb/framework/class.frontend.php
285 285
	   	$wb->menu_collapse = true;
286 286
	   }
287 287
	   if (!isset($wb->menu_item_template)) {
288
	   	$wb->menu_item_template = '<li><span[class]>[a][menu_title][/a]</span>';
288
	   	$wb->menu_item_template = '<li><span[class]>[a] [menu_title] [/a]</span>';
289 289
	   }
290 290
	   if (!isset($wb->menu_item_footer)) {
291 291
	   	$wb->menu_item_footer = '</li>';
trunk/wb/framework/frontend.functions.php
68 68

  
69 69
// Old menu call invokes new menu function
70 70
if (!function_exists('page_menu')) {
71
	function page_menu($parent = 0, $menu_number = 1, $item_template = '<li[class]>[a][menu_title][/a]</li>', $menu_header = '<ul>', $menu_footer = '</ul>', $default_class = ' class="menu_default"', $current_class = ' class="menu_current"', $recurse = LEVEL) {
71
	function page_menu($parent = 0, $menu_number = 1, $item_template = '<li[class]>[a] [menu_title] [/a]</li>', $menu_header = '<ul>', $menu_footer = '</ul>', $default_class = ' class="menu_default"', $current_class = ' class="menu_current"', $recurse = LEVEL) {
72 72
		global $wb;
73 73
		$wb->menu_number=$menu_number;
74 74
		$wb->menu_item_template=$item_template;
trunk/wb/templates/allcss/index.php
57 57
	if(SHOW_MENU) {
58 58
	?>	
59 59
	<div class="menu">
60
		<?php page_menu(0, 1, '<li class="menu_main"[class]>[a][menu_title][/a]</li>', '<ul>', '</ul>', '', ' style="font-weight: bold;"'); ?>
60
		<?php page_menu(0, 1, '<li class="menu_main"[class]>[a] [menu_title] [/a]</li>', '<ul>', '</ul>', '', ' style="font-weight: bold;"'); ?>
61 61
		
62 62
		<?php
63 63
		if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') {

Also available in: Unified diff