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

Revision 296, 0.6 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("profile:init");
6     run("weblogs:init");
7     run("rss:init");
8     
9     define('context','resources');
10     global $page_owner;
11     
12     $title = gettext("Popular feeds");
13     
14     $body = run("rss:subscriptions:popular",$feed);
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.