Changeset 2307
- Timestamp:
- 12/18/10 09:34:11 (17 months ago)
- Location:
- branches/1.5
- Files:
-
- 2 modified
-
Hotaru.php (modified) (1 diff)
-
content/admin_themes/admin_default/admin_home.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/Hotaru.php
r2300 r2307 1293 1293 1294 1294 /** 1295 * Display Hotaru forums feed on Admin front page1296 *1297 * @param int $max_items1298 * @param int $items_with_content1299 * @param int $max_chars1300 */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 /**1309 1295 * Create an RSS Feed 1310 1296 * -
branches/1.5/content/admin_themes/admin_default/admin_home.php
r2290 r2307 36 36 <h3><?php echo $h->lang["admin_theme_main_help"]; ?></h3> 37 37 <!-- 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 ?> 39 42 <br/> 40 43 <h2><?php echo $h->lang["admin_theme_main_join_us"]; ?></h2>