Project

General

Profile

« Previous | Next » 

Revision 115

Added by stefan about 19 years ago

Fixed ticket #19 (addon link not shown). Corrected breadcrumbs code.

View differences:

trunk/wb/admin/groups/get_permissions.php
40 40
		$system_permissions['media_rename'] = $system_permissions['media'];
41 41
		$system_permissions['media_delete'] = $system_permissions['media'];
42 42
		$system_permissions['media_create'] = $system_permissions['media'];
43
	if($admin->get_post('modules') != '' AND $admin->get_post('templates') != '' AND $admin->get_post('languages') != '') {
43
	if($admin->get_post('modules') != '' OR $admin->get_post('templates') != '' OR $admin->get_post('languages') != '') {
44 44
		$system_permissions['addons'] = 1;
45 45
	} else {
46 46
		$system_permissions['addons'] = 0;
trunk/wb/framework/frontend.functions.php
143 143
			$counter=0;
144 144
			foreach ($bca as $temp)
145 145
			{
146
		        if ($counter>=(tier-1));
146
		        if ($counter>=($tier-1));
147 147
		        {
148 148
					if ($counter>=$tier) echo $sep;
149 149
					$query_menu=$database->query("SELECT menu_title,link FROM ".TABLE_PREFIX."pages WHERE page_id=$temp");
......
151 151
					if ($links==true AND $temp!=$page_id)
152 152
						echo '<a href="'.page_link($page['link']).'">'.$page['menu_title'].'</a>';
153 153
					else
154
					        echo stripslashes($page['menu_title']);
154
					    echo $page['menu_title'];
155 155
		        }
156 156
	            $counter++;
157 157
			}

Also available in: Unified diff