aboutsummaryrefslogtreecommitdiff
path: root/views/default/dokuwiki/sidebar.php
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 02:39:43 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 02:39:43 +0200
commit090e2188026c76ac396c919b27404dc7cb110bf8 (patch)
tree9f7f3a1278aa0a09f168abdc0db98f7de1788870 /views/default/dokuwiki/sidebar.php
downloadelgg-090e2188026c76ac396c919b27404dc7cb110bf8.tar.gz
elgg-090e2188026c76ac396c919b27404dc7cb110bf8.tar.bz2
Dokuwiki module for Elgg 1.7
Diffstat (limited to 'views/default/dokuwiki/sidebar.php')
-rw-r--r--views/default/dokuwiki/sidebar.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/dokuwiki/sidebar.php b/views/default/dokuwiki/sidebar.php
new file mode 100644
index 000000000..c47a1bf6d
--- /dev/null
+++ b/views/default/dokuwiki/sidebar.php
@@ -0,0 +1,12 @@
+<?php
+
+$group = page_owner_entity();
+if ($group->dokuwiki_enable == 'yes' && $group->dokuwiki_frontsidebar_enable == 'yes') {
+ set_input("inline_sidebar", true);
+ set_input("inline_page", false);
+ echo "<div id='group_pages_widget'>";
+ echo elggdokuwiki_page_handler(array($group->guid));
+ echo "</div>";
+ }
+
+?>