Pre-release: switch for news link description (newest / first), hide attachments when disabled - http://www.board3.de/viewtopic.php?f=14&t=482 http://www.board3.de/viewtopic.php?f=14&t=481

This commit is contained in:
Kevin
2008-04-30 21:43:03 +00:00
parent 9bea0ae035
commit 1e640e6578
6 changed files with 10 additions and 9 deletions

View File

@@ -163,7 +163,7 @@ if ($portal_config['portal_search'])
include($phpbb_root_path . 'portal/block/search.'.$phpEx);
}
if ($portal_config['portal_attachments'])
if ($portal_config['portal_attachments'] && $config['allow_attachments'])
{
include($phpbb_root_path . 'portal/block/attachments.'.$phpEx);
}