root/releases/0.672/_weblog/archive_month.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     //    ELGG weblog view page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8         run("profile:init");
9         run("weblogs:init");
10         run("friends:init");
11         
12         define("context", "weblog");
13         templates_page_setup();
14         
15         $title = run("profile:display:name") . " :: " . __gettext("Blog Archives");
16         
17         $body = run("weblogs:archives:month:view");
18         
19         $body = templates_draw(array(
20                         'context' => 'contentholder',
21                         'title' => $title,
22                         'body' => $body
23                     )
24                     );
25         
26         echo templates_page_draw( array(
27                         $title, $body
28                     )
29                     );
30
31 ?>
Note: See TracBrowser for help on using the browser.