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

@@ -388,11 +388,23 @@ if( $poll_forums === TRUE )
$db->sql_freeresult($result);
$template->assign_vars(array(
'S_DISPLAY_POLL' => true,
'S_HAS_POLL' => $has_poll,
'POLL_LEFT_CAP_IMG' => $user->img('poll_left'),
'POLL_RIGHT_CAP_IMG'=> $user->img('poll_right'),
));
if (!isset($template->filename['poll_block']))
{
$template->set_filenames(array(
'poll_block' => 'portal/block/poll.html')
);
}
$block_temp = $template->assign_display('poll_block');
$template->assign_block_vars('portal_column_'.$block_pos, array(
'BLOCK_DATA' => $block_temp)
);
unset( $block_temp );
}
?>