|
Revision 45, 403 bytes
(checked in by sven, 3 years ago)
|
dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
require("includes.php"); |
|---|
| 4 |
|
|---|
| 5 |
if (logged_on) { |
|---|
| 6 |
$body = run("content:mainindex"); |
|---|
| 7 |
} else { |
|---|
| 8 |
$body = run("content:mainindex:loggedout"); |
|---|
| 9 |
} |
|---|
| 10 |
|
|---|
| 11 |
echo run("templates:draw:page", array( |
|---|
| 12 |
sitename, |
|---|
| 13 |
run("templates:draw", array( |
|---|
| 14 |
'body' => $body, |
|---|
| 15 |
'title' => gettext("Main Index"), |
|---|
| 16 |
'context' => 'contentholder' |
|---|
| 17 |
) |
|---|
| 18 |
) |
|---|
| 19 |
) |
|---|
| 20 |
); |
|---|
| 21 |
|
|---|
| 22 |
?> |
|---|