root/releases/0.8rc1/home.php

Revision 659, 0.8 kB (checked in by misja, 2 years ago)

Taking gettext to a new level, see message <http://lists.elgg.org/pipermail/development/2006-October/000590.html>. In a nutshell: all gettext calls are replaced by gettext, revamped gettext handling plus some additional fixes.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3 require_once(dirname(__FILE__)."/includes.php");
4 templates_page_setup();
5 if (isloggedin()) {
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.