Changeset 83

Show
Ignore:
Timestamp:
01/08/06 01:00:00 (3 years ago)
Author:
sven
Message:

adding a list of popular feeds, along the lines of http://www.livejournal.com/syn/
my first attempt at a new page/function thing, let me know if it's shit.. :)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/magpie/main.php

    r45 r83  
    1919        // Load variable containing all subscriptions for a user 
    2020                $function['rss:subscriptions:get'][] = path . "units/magpie/function_get_subscriptions.php"; 
     21        // Display the most popular subscriptions 
     22                $function['rss:subscriptions:popular'][] = path . "units/magpie/function_subscriptions_popular.php"; 
    2123        // Update a feed by ID 
    2224                $function['rss:update'][] = path . "units/magpie/function_update.php"; 
  • devel/units/magpie/menu_sub.php

    r45 r83  
    2727                        } 
    2828 
    29               $run_result .= run("templates:draw", array( 
     29                       $run_result .= run("templates:draw", array( 
    3030                                                        'context' => 'submenuitem', 
    3131                                                        'name' => gettext("View all feeds"), 
     
    3333                                                ) 
    3434                                                ); 
    35    
    36              /* $run_result .= run("templates:draw", array( 
     35 
     36                        $run_result .= run("templates:draw", array( 
     37                                                        'context' => 'submenuitem', 
     38                                                        'name' => gettext("Popular feeds"), 
     39                                                        'location' =>  url . "_rss/popular.php" 
     40                                                ) 
     41                                                ); 
     42 
     43                        /* $run_result .= run("templates:draw", array( 
    3744                                                        'context' => 'submenuitem', 
    3845                                                        'name' => gettext("Page help"),