Changeset 10 for devel/index.php

Show
Ignore:
Timestamp:
11/30/05 20:12:22 (3 years ago)
Author:
sven
Message:

importing elgg-0.301

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/index.php

    r4 r10  
    33        require("includes.php"); 
    44         
     5        if (logged_on) { 
     6                $body = run("content:mainindex"); 
     7        } else { 
     8                $body = run("content:mainindex:loggedout"); 
     9        } 
     10         
    511        echo run("templates:draw:page", array( 
    612                                        sitename, 
    713                                        run("templates:draw", array( 
    8                                                                                                         'contents' => run("content:mainindex")
    9                                                                                                         'name' => "Main Index", 
    10                                                                                                         'context' => 'infobox
     14                                                                                                        'body' => $body
     15                                                                                                        'title' => "Main Index", 
     16                                                                                                        'context' => 'contentholder
    1117                                                                                                ) 
    1218                                                                                                )