Start of pallet
This commit is contained in:
1 parent
b4c27b2f0d
commit
b800ee0c96
41 files changed
+1190
-854
No files matched your search
@@ -89,16 +89,18 @@ if( $attach_forums === TRUE )
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// Assign specific vars
|
||||
$template->assign_vars(array(
|
||||
'S_DISPLAY_ATTACHMENTS' => true,
|
||||
));
|
||||
} else {
|
||||
// Assign specific vars
|
||||
$template->assign_vars(array(
|
||||
'S_DISPLAY_ATTACHMENTS' => false,
|
||||
));
|
||||
if (!isset($template->filename['attachments_block']))
|
||||
{
|
||||
$template->set_filenames(array(
|
||||
'attachments_block' => 'portal/block/attachments.html')
|
||||
);
|
||||
}
|
||||
|
||||
$block_temp = $template->assign_display('attachments_block');
|
||||
|
||||
$template->assign_block_vars('portal_column_'.$block_pos, array(
|
||||
'BLOCK_DATA' => $block_temp)
|
||||
);
|
||||
unset( $block_temp );
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user