diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 08:55:52 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 08:55:52 +0200 |
commit | 5eeb4ed7ed67ec5e3bf1167c859a1997dc0a49dd (patch) | |
tree | 8bbfdb278a1e83ac2f8d82e057dd059685856404 /lib/dokuwiki | |
parent | 4d11483a41bc663c828193bbaad782a0f61500b2 (diff) | |
download | elgg-5eeb4ed7ed67ec5e3bf1167c859a1997dc0a49dd.tar.gz elgg-5eeb4ed7ed67ec5e3bf1167c859a1997dc0a49dd.tar.bz2 |
Upgraded elgg_view_layout.
Diffstat (limited to 'lib/dokuwiki')
-rw-r--r-- | lib/dokuwiki/lib/tpl/default/main.php | 12 |
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(); |