root/releases/elgg0.8rc2/_rss/popular.php

Revision 659, 0.6 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(dirname(__FILE__))."/includes.php");
4     
5     run("profile:init");
6     run("weblogs:init");
7     run("rss:init");
8     
9     define('context','resources');
10     global $page_owner;
11     templates_page_setup();   
12     $title = __gettext("Popular feeds");
13     
14     $body = run("rss:subscriptions:popular");
15     
16     $body = templates_draw( array(
17                     'context' => 'contentholder',
18                     'title' => $title,
19                     'body' => $body
20                 )
21                 );
22     
23     echo templates_page_draw( array(
24                     $title, $body
25                 )
26                 );
27
28 ?>
Note: See TracBrowser for help on using the browser.