mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
initial 'view attachments' implementation. added new template var (merged include, to preserve previous block vars), could be changed later to consider caching. some config variables and upload icons are not present as of yet...
git-svn-id: file:///svn/phpbb/trunk@3807 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -796,6 +796,7 @@ function obtain_attach_extensions(&$extensions)
|
||||
{
|
||||
$extension = strtolower(trim($row['extension']));
|
||||
|
||||
$extensions['_allowed_'][] = $extension;
|
||||
$extensions[$extension]['display_cat'] = intval($row['cat_id']);
|
||||
$extensions[$extension]['download_mode'] = intval($row['download_mode']);
|
||||
$extensions[$extension]['upload_icon'] = trim($row['upload_icon']);
|
||||
|
Reference in New Issue
Block a user