Start of pallet
This commit is contained in:
@@ -21,9 +21,21 @@ if (!defined('IN_PORTAL'))
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_DISPLAY_PORTALSEARCH' => true,
|
||||
'S_SEARCH_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx"),
|
||||
|
||||
));
|
||||
|
||||
if (!isset($template->filename['search_block']))
|
||||
{
|
||||
$template->set_filenames(array(
|
||||
'search_block' => 'portal/block/search.html')
|
||||
);
|
||||
}
|
||||
|
||||
$block_temp = $template->assign_display('search_block');
|
||||
|
||||
$template->assign_block_vars('portal_column_'.$block_pos, array(
|
||||
'BLOCK_DATA' => $block_temp)
|
||||
);
|
||||
unset( $block_temp );
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user