summaryrefslogtreecommitdiff
path: root/views/default/page/elements/topbar.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-04-18 13:09:27 +0200
committerSem <sembrestels@riseup.net>2012-04-18 13:09:27 +0200
commit5727d85ced9ae87d010b47ac99aab8adcd686a2e (patch)
treedb052fa0c9f38b11ab63a4a4aa44a26623823f39 /views/default/page/elements/topbar.php
parenta744c532b0acb7c49487f22f6e2d051e610c6bbb (diff)
downloadsaravea_theme-5727d85ced9ae87d010b47ac99aab8adcd686a2e.tar.gz
saravea_theme-5727d85ced9ae87d010b47ac99aab8adcd686a2e.tar.bz2
Modified layout.
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;
+}