aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/sidebar_alt.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements/sidebar_alt.php')
-rw-r--r--views/default/page/elements/sidebar_alt.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/views/default/page/elements/sidebar_alt.php b/views/default/page/elements/sidebar_alt.php
index 5d1f54947..6d91ca58b 100644
--- a/views/default/page/elements/sidebar_alt.php
+++ b/views/default/page/elements/sidebar_alt.php
@@ -1,12 +1,12 @@
-<?php
+<?php
+/**
+ * Elgg secondary sidebar contents
+ *
+ * You can override, extend, or pass content to it
+ *
+ * @uses $vars['sidebar_alt] HTML content for the alternate sidebar
+ */
+$sidebar = elgg_extract('sidebar_alt', $vars, '');
-$homepage = "/dashboard";
-$currentpage = $_SERVER['REQUEST_URI'];
-if($homepage==$currentpage) {
-echo "<strong><a href=\"../thanks\">Thanks</a></strong><br />
-edit the sidebar for the dashboard in /mod/cool_theme/views/default/page/elements/sidebar_alt.php<br />
-and enjoy";
-}
-
-?> \ No newline at end of file
+echo $sidebar;