Changeset 2307

Show
Ignore:
Timestamp:
12/18/10 09:34:11 (17 months ago)
Author:
nick_ramsay
Message:

[1.5] Removed adminNews function from Hotaru.php.

Location:
branches/1.5
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/Hotaru.php

    r2300 r2307  
    12931293 
    12941294         /** 
    1295          * Display Hotaru forums feed on Admin front page 
    1296          * 
    1297          * @param int $max_items 
    1298          * @param int $items_with_content 
    1299          * @param int $max_chars 
    1300          */ 
    1301         public function adminNews($max_items = 10, $items_with_content = 3, $max_chars = 300) 
    1302         { 
    1303                 $feeds = new Feeds(); 
    1304                 $feeds->adminNews($this->lang, $max_items, $items_with_content, $max_chars); 
    1305         } 
    1306  
    1307  
    1308          /** 
    13091295         * Create an RSS Feed 
    13101296         * 
  • branches/1.5/content/admin_themes/admin_default/admin_home.php

    r2290 r2307  
    3636                        <h3><?php echo $h->lang["admin_theme_main_help"]; ?></h3> 
    3737                        <!-- Feed items, number to show content for, max characters for content --> 
    38                         <?php echo $h->adminNews(10, 3, 300); ?> 
     38                        <?php  
     39                                $feeds = new Feeds(); 
     40                                $feeds->adminNews($h->lang, 10, 3, 300); //lang, max_items, items_with_content, max_chars 
     41                        ?> 
    3942                        <br/> 
    4043                        <h2><?php echo $h->lang["admin_theme_main_join_us"]; ?></h2>