summaryrefslogtreecommitdiff
path: root/views/default/page/elements/topbar.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements/topbar.php')
-rw-r--r--views/default/page/elements/topbar.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php
new file mode 100644
index 0000000..d217c2d
--- /dev/null
+++ b/views/default/page/elements/topbar.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * N-1 topbar
+ * The N-1 top toolbar
+ */
+
+echo elgg_view_menu('topbar', array('sort_by' => 'priority', array('elgg-menu-hz')));
+
+// elgg tools menu
+// need to echo this empty view for backward compatibility.
+$content = elgg_view("navigation/topbar_tools");
+if ($content) {
+ elgg_deprecated_notice('navigation/topbar_tools was deprecated. Extend the topbar menus or the page/elements/topbar view directly', 1.8);
+ echo $content;
+}