mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-12 11:26:08 +03:00
fixes #2163 check user conf
add user['enabled_high'] to condition for adding download link
This commit is contained in:
parent
7fae203a83
commit
b0485f6365
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ foreach (array('first','previous','next','last', 'current') as $which_image)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($conf['picture_download_icon'] and !empty($picture['current']['download_url']))
|
if ($conf['picture_download_icon'] and !empty($picture['current']['download_url']) and $user['enabled_high']=='true')
|
||||||
{
|
{
|
||||||
$template->append('current', array('U_DOWNLOAD' => $picture['current']['download_url']), true);
|
$template->append('current', array('U_DOWNLOAD' => $picture['current']['download_url']), true);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue