From 4d11483a41bc663c828193bbaad782a0f61500b2 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 08:47:51 +0200 Subject: Upgraded depracated functions --- lib/dokuwiki.php | 4 ++-- lib/dokuwiki/lib/tpl/default/main.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/dokuwiki.php b/lib/dokuwiki.php index af2e14b8d..8084508fa 100644 --- a/lib/dokuwiki.php +++ b/lib/dokuwiki.php @@ -1,8 +1,8 @@ guid); //error_log($user->guid); if (!$page_owner) diff --git a/lib/dokuwiki/lib/tpl/default/main.php b/lib/dokuwiki/lib/tpl/default/main.php index 2de6f4987..6373ec4e9 100644 --- a/lib/dokuwiki/lib/tpl/default/main.php +++ b/lib/dokuwiki/lib/tpl/default/main.php @@ -35,7 +35,7 @@ $sidebar = ob_get_clean(); if (empty($sidebar_inline) && empty($page_inline)) { $body = elgg_view_layout('two_column_left_sidebar', '', $content, $sidebar); - echo page_draw("dokuwiki",$body); + echo elgg_view_page("dokuwiki", $body); } else { $all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid(); -- cgit v1.2.3