aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 10:26:34 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 10:26:34 +0200
commit50a3755344b18f943237672f88d8fbbfc63d929a (patch)
tree944b041e2677fea5e8db4671db174e6d745dc563 /index.php
parente1b86f1bbe74a41a6ffedf45bbe09837c9809092 (diff)
downloadelgg-50a3755344b18f943237672f88d8fbbfc63d929a.tar.gz
elgg-50a3755344b18f943237672f88d8fbbfc63d929a.tar.bz2
Upgraded depracated functions
Diffstat (limited to 'index.php')
-rw-r--r--index.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/index.php b/index.php
index 74ea69371..660200d8f 100644
--- a/index.php
+++ b/index.php
@@ -1,13 +1,15 @@
<?php
$offset = (int)get_input('offset', 0);
$title = elgg_echo("dokuwiki:title");
- $body = elgg_view_title($title);
- $objects = elgg_list_entities(array('subtype'=>'dokuwiki', 'offset'=>$offset, 'types'=>'object','full_view'=>false));
- $body .= $objects;
- $body = elgg_view_layout('two_column_left_sidebar', '', $body, $area3);
+ $content = elgg_list_entities(array('subtype'=>'dokuwiki', 'offset'=>$offset, 'types'=>'object','full_view'=>false));
+ $body = elgg_view_layout('content', array(
+ 'content' => $content,
+ 'title' => $title,
+ 'filter' => '',
+ ));
- // Finally draw the page
- echo page_draw($title, $body);
+ // Finally draw the page
+ echo elgg_view_page($title, $body);
?>