Browse Source

[svn r17015] improve breadcrumb in wiki group

Juan Carlos Raña 16 years ago
parent
commit
738d24a6c8
1 changed files with 4 additions and 2 deletions
  1. 4 2
      main/wiki/index.php

+ 4 - 2
main/wiki/index.php

@@ -97,8 +97,10 @@ if ($_SESSION['_gid'] OR $_GET['group_id'])
 		$_clean['group_id']=(int)Database::escape_string($_GET['group_id']);
 	} 
 	
-	$group_properties  = GroupManager :: get_group_properties($_clean['group_id']);	
-	$interbreadcrumb[]= array ("url"=>"../group/group_space.php?gidReq=".$_SESSION['_gid'], "name"=> get_lang('GroupSpace').' ('.$group_properties['name'].')');
+	$group_properties  = GroupManager :: get_group_properties($_clean['group_id']);
+	$interbreadcrumb[] = array ("url" => "../group/group.php", "name" => get_lang('Groups'));
+	$interbreadcrumb[] = array ("url"=>"../group/group_space.php?gidReq=".$_SESSION['_gid'], "name"=> get_lang('GroupSpace').' ('.$group_properties['name'].')');
+	
 	$add_group_to_title = ' ('.$group_properties['name'].')';	
 	$groupfilter='group_id="'.$_clean['group_id'].'"';