aboutsummaryrefslogtreecommitdiff
path: root/lib/dokuwiki
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dokuwiki')
-rw-r--r--lib/dokuwiki/lib/tpl/default/main.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php
index 6373ec4e9..be4c47650 100644
--- a/lib/dokuwiki/lib/tpl/default/main.php
+++ b/lib/dokuwiki/lib/tpl/default/main.php
@@ -34,8 +34,16 @@ $sidebar = ob_get_clean();
}
if (empty($sidebar_inline) && empty($page_inline)) {
- $body = elgg_view_layout('two_column_left_sidebar', '', $content, $sidebar);
- echo elgg_view_page("dokuwiki", $body);
+ $title = sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name);
+
+ $body = elgg_view_layout('content', array(
+ 'filter' => '',
+ 'content' => $content,
+ 'title' => $title,
+ 'sidebar' => $sidebar,
+ ));
+
+ echo elgg_view_page($title, $body);
}
else {
$all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid();