B3P v2: Added link block

and added phpBB3 core files includes/cache.php and includes/constants.php and a Datebase backup. :-)
This commit is contained in:
Christian
2009-09-05 15:42:45 +00:00
parent 6964ff8f51
commit 5165207b1d
5 changed files with 792 additions and 14 deletions

View File

@@ -167,9 +167,9 @@ $result = $db->sql_query($sql);
$db->sql_freeresult($result);
// Grab navigation links
//if ($portal_config['num_links'] > 0)
//{
/* $links = $cache->obtain_links();
if ($portal_config['num_links'] > 0)
{
$links = $cache->obtain_links();
if (sizeof($links))
{
@@ -183,8 +183,8 @@ $db->sql_freeresult($result);
));
}
}
//}
*/
}
// Assign specific vars
$template->assign_vars(array(
'WELCOME_USERNAME' => get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),