bug:2840
disable the "resize after upload" options if gd 1 lang key added git-svn-id: http://piwigo.org/svn/trunk@23643 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
cc8835bb1f
commit
bd9529fbf0
4 changed files with 16 additions and 2 deletions
|
|
@ -440,6 +440,8 @@ switch ($page['section'])
|
|||
// when submitting the form and an error remains
|
||||
if (!isset($page['sizes_loaded_in_tpl']))
|
||||
{
|
||||
$is_gd = (pwg_image::get_library()=='gd')? true : false;
|
||||
$template->assign('is_gd', $is_gd);
|
||||
$template->assign(
|
||||
'sizes',
|
||||
array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue