aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas_header/submenu_group.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/canvas_header/submenu_group.php')
-rw-r--r--views/default/canvas_header/submenu_group.php30
1 files changed, 17 insertions, 13 deletions
diff --git a/views/default/canvas_header/submenu_group.php b/views/default/canvas_header/submenu_group.php
index a5995b240..2ec9ab451 100644
--- a/views/default/canvas_header/submenu_group.php
+++ b/views/default/canvas_header/submenu_group.php
@@ -1,15 +1,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['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>";
-
- }
-
-?> \ No newline at end of file
+if (isset($vars['submenu'])) {
+ $submenu = "<ul>" . $vars['submenu'] . "</ul>";
+ echo "<div class=\"submenu_group\"><div class=\"submenu_group_{$groupname}\">{$submenu}</div></div>";
+} \ No newline at end of file