aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/topbar_logout.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 01:09:50 +0000
commit49e478da9d5540da798a7d497615f0d2903c8e4a (patch)
tree04a91f3028df014fb2a33b57f614acf88a07805b /views/default/page_elements/topbar_logout.php
parent8c4fe01968aecea2ccfe6146ff580a272750e4d7 (diff)
downloadelgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.gz
elgg-49e478da9d5540da798a7d497615f0d2903c8e4a.tar.bz2
Fixes #2631 removes 'elgg_' namespace from the page element views - anyone working with the trunk will need to update their theme and/or flush their cache
git-svn-id: http://code.elgg.org/elgg/trunk@7268 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/topbar_logout.php')
-rw-r--r--views/default/page_elements/topbar_logout.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/page_elements/topbar_logout.php b/views/default/page_elements/topbar_logout.php
new file mode 100644
index 000000000..38a37bc22
--- /dev/null
+++ b/views/default/page_elements/topbar_logout.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * A standard logout link
+ *
+ * Called within the Elgg topbar view.
+ */
+
+echo '<div class="log_out">';
+echo elgg_view('output/url', array(
+ 'href' => "action/logout",
+ 'text' => elgg_echo('logout'),
+ 'is_action' => TRUE
+));
+echo '</div>';