root/releases/0.6rc2/_rss/individual.php

Revision 296, 0.7 kB (checked in by carmartin, 3 years ago)

Includes should use full path given that we know where things are. Patch 1.

  • 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.