aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas_header/submenu_group.php
blob: 5af0f0609c62cbd933de93246a3dd42d47f62587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

	if (isset($vars['group_name'])) {
		$groupname = $vars['group_name'];
	} else {
		$groupname = "main";
	}
	if (isset($vars['submenu'])) {
		
		$submenu = "<ul>" . $vars['submenu'] . "</ul>";
		echo "<div class=\"submenu_group\"><div class=\"submenu_group_{$groupname}\">{$submenu}</div></div>";
		
	}

?>