aboutsummaryrefslogtreecommitdiff
path: root/lib/dokuwiki
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 /lib/dokuwiki
parent9f9668ceebe2a23c98800172bc90f8e759f614d2 (diff)
downloadelgg-ada94c882ea1389ef810fa7a920d27fd48dc34a8.tar.gz
elgg-ada94c882ea1389ef810fa7a920d27fd48dc34a8.tar.bz2
Changing dokuwiki template to improve performance.
Diffstat (limited to 'lib/dokuwiki')
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index 44a317684..d5c117c1b 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -38,12 +38,19 @@ if (empty($sidebar_inline) && empty($page_inline)) {
echo page_draw("dokuwiki",$body);
}
else {
- echo "<h2>".elgg_echo("dokuwiki:groupwiki")."</h2>";
- echo "<div class='forum_latest'>";
+
echo elgg_view("dokuwiki/metatags");
- echo $content;
- echo $sidebar;
- echo "</div>";
+
+ $all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid();
+ $all_text = elgg_echo('link:view:all');
+ $all_link = "<a href=\"$all_link\">$all_text</a>";
+
+ echo elgg_view('groups/profile/module', array(
+ 'title' => elgg_echo('dokuwiki:group'),
+ 'content' => $content . $sidebar,
+ 'all_link' => $all_link,
+ ));
+
}