Small tweak to the default template.
[elgg.git] / home.php
blob482b08fd8576a52592b0473781f9c863e7a100a0
1 <?php
3 require("includes.php");
4 templates_page_setup();
5 if (isloggedin()) {
6 $body = run("content:mainindex");
7 } else {
8 $body = run("content:mainindex:loggedout");
11 echo templates_page_draw( array(
12 sitename,
13 templates_draw(array(
14 'body' => $body,
15 'title' => gettext("Main Index"),
16 'context' => 'contentholder'