Reverted acp_portal.php back;

Added news block; 
Added function get_portal_tracking_info in order to reduce queries when fetching news and announcements;
This commit is contained in:
Marc Alexander
2010-09-05 08:39:44 +00:00
parent acd324d80f
commit b60422cb2e
8 changed files with 776 additions and 4 deletions

View File

@@ -404,8 +404,7 @@ class acp_portal
$c_class = new $class();
if ($c_class->columns & column_string_const($add_module))
{
$user->add_lang('mods/portal/' . $c_class->language);
$fileinfo[] = $user->lang[$c_class->name];
$fileinfo[] = substr($class, 7, -7);
}
}
}