Start of pallet

This commit is contained in:
Ice
2008-09-28 22:59:25 +00:00
parent b4c27b2f0d
commit b800ee0c96
41 changed files with 1190 additions and 854 deletions

View File

@@ -135,8 +135,17 @@ while( ($row = $db->sql_fetchrow($result)) && ($row['topic_title']) )
}
$db->sql_freeresult($result);
$template->assign_vars(array(
'S_DISPLAY_RECENT' => true,
));
if (!isset($template->filename['recent_block']))
{
$template->set_filenames(array(
'recent_block' => 'portal/block/recent.html')
);
}
$block_temp = $template->assign_display('recent_block');
$template->assign_block_vars('portal_column_'.$block_pos, array(
'BLOCK_DATA' => $block_temp)
);
unset( $block_temp );
?>