aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas_header
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/canvas_header')
-rw-r--r--views/default/canvas_header/submenu_group.php19
-rw-r--r--views/default/canvas_header/submenu_template.php24
2 files changed, 0 insertions, 43 deletions
diff --git a/views/default/canvas_header/submenu_group.php b/views/default/canvas_header/submenu_group.php
deleted file mode 100644
index 8d23aed3f..000000000
--- a/views/default/canvas_header/submenu_group.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?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;
-} \ No newline at end of file
diff --git a/views/default/canvas_header/submenu_template.php b/views/default/canvas_header/submenu_template.php
deleted file mode 100644
index 0210e865f..000000000
--- a/views/default/canvas_header/submenu_template.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * Elgg default layout
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-if (isset($vars['selected']) && $vars['selected'] == true) {
- $selected = "class=\"selected\"";
-} else {
- $selected = "";
-}
-
-if (isset($vars['onclick']) && $vars['onclick'] == true) {
- $onclick = "onclick=\"javascript:return confirm('". elgg_echo('deleteconfirm') . "')\"";
-} else {
- $onclick = "";
-}
-
-?>
-<li <?php echo $selected; ?>><a href="<?php echo $vars['href']; ?>" <?php echo $onclick; ?>><?php echo $vars['label']; ?></a></li> \ No newline at end of file