aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas_header/submenu_group.php
blob: 8d23aed3f528fdd28953c1d3f096baad7d381985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Elgg default layout
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */
if (isset($vars['group_name'])) {
	$groupname = $vars['group_name'];
} else {
	$groupname = "main";
}

if (isset($vars['submenu'])) {
	$submenu = "<ul class='submenu {$groupname}'>" . $vars['submenu'] . "</ul>";
	echo $submenu;
}