aboutsummaryrefslogtreecommitdiff
path: root/views/default/dokuwiki/sidebar.php
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 06:09:36 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 06:09:36 +0200
commitada94c882ea1389ef810fa7a920d27fd48dc34a8 (patch)
tree4529f30d26f2ef6c7cbf66f8777bb81b7e2884f4 /views/default/dokuwiki/sidebar.php
parent9f9668ceebe2a23c98800172bc90f8e759f614d2 (diff)
downloadelgg-ada94c882ea1389ef810fa7a920d27fd48dc34a8.tar.gz
elgg-ada94c882ea1389ef810fa7a920d27fd48dc34a8.tar.bz2
Changing dokuwiki template to improve performance.
Diffstat (limited to 'views/default/dokuwiki/sidebar.php')
-rw-r--r--views/default/dokuwiki/sidebar.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/views/default/dokuwiki/sidebar.php b/views/default/dokuwiki/sidebar.php
index 73de02403..e9a7c89ab 100644
--- a/views/default/dokuwiki/sidebar.php
+++ b/views/default/dokuwiki/sidebar.php
@@ -2,20 +2,9 @@
$group = elgg_get_page_owner_entity();
if ($group->dokuwiki_enable == 'yes' && $group->dokuwiki_frontsidebar_enable == 'yes') {
-
- $all_link = elgg_get_site_url().'dokuwiki/'.$group->guid;
- $all_text = elgg_echo('viewall');
- $all_link = "<a href=\"$all_link\">$all_text</a>";
-
- echo elgg_view('groups/profile/module', array(
- 'title' => elgg_echo('dokuwiki:group'),
- 'content' => $none,
- //'all_link' => $all_link,
- ));
-
set_input("inline_sidebar", true);
set_input("inline_page", false);
- echo dokuwiki_page_handler(array($group->guid));
+ dokuwiki_page_handler(array($group->guid));
}
?>