root/releases/0.673/_rss/individual.php

Revision 659, 0.7 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("weblogs:init");
6 run("profile:init");
7 run("rss:init");
8
9 define('context','resources');
10 global $page_owner;
11
12 $feed = optional_param('feed',-1,PARAM_INT);
13 $title = __gettext("Feed detail");
14 templates_page_setup();
15 run("rss:update",$feed);
16 $body = run("rss:view:feed",$feed);
17
18 $body = templates_draw(array(
19                              'context' => 'contentholder',
20                              'title' => $title,
21                              'body' => $body
22                              )
23                        );
24                       
25 echo templates_page_draw( array(
26                                       $title, $body
27                                       )
28          );
29
30 ?>
Note: See TracBrowser for help on using the browser.