root/releases/0.672/index2.php
| Revision 659, 0.7 kB (checked in by misja, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | require_once(dirname(__FILE__)."/includes.php"); |
| 4 | templates_page_setup(); |
| 5 | if (logged_on) { |
| 6 | $body = run("content:mainindex"); |
| 7 | } else { |
| 8 | $body = run("content:mainindex:loggedout"); |
| 9 | } |
| 10 | |
| 11 | echo templates_page_draw( array( |
| 12 | sitename, |
| 13 | templates_draw(array( |
| 14 | 'body' => $body, |
| 15 | 'title' => __gettext("Main Index"), |
| 16 | 'context' => 'contentholder' |
| 17 | ) |
| 18 | ) |
| 19 | ) |
| 20 | ); |
| 21 | |
| 22 | ?> |
Note: See TracBrowser for help on using the browser.
