root/devel/mod/newsclient/blog.php

Revision 1539, 0.7 kB (checked in by renato, 1 year ago)

Setting prop svn:eol-style in LOTS of files.

  • Property svn:mime-type set to text/plain
  • Property svn:eol-style set to native
Line 
1 <?php
2
3     require_once(dirname(dirname(__FILE__))."/../includes.php");
4    
5     global $page_owner, $profile_id;
6
7     run("weblogs:init");
8     run("profile:init");
9    
10     $username = trim(optional_param('profile_name',''));
11     $user_id = user_info_username("ident", $username);
12     if (empty($user_id)) {
13         $user_id = $page_owner;
14     } else {
15         $page_owner = $user_id;
16         $profile_id = $user_id;
17     }
18    
19     run("rss:init");
20    
21     define('context','resources');
22
23     templates_page_setup();   
24
25     $title = run("profile:display:name") ." :: " . __gettext("Publish feeds to blog");
26    
27     $body = run("rss:subscriptions:publish:blog");
28    
29     templates_page_output($title, $body);
30
31 ?>
Note: See TracBrowser for help on using the browser.