mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
bug:2863
display a message on the upload page if "Resized after upload" is checked git-svn-id: http://piwigo.org/svn/trunk@22135 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -105,6 +105,18 @@ if (pwg_image::get_library() == 'gd')
|
||||
}
|
||||
}
|
||||
|
||||
//warn the user if the picture will be resized after upload
|
||||
if ($conf['original_resize'])
|
||||
{
|
||||
$template->assign(
|
||||
array(
|
||||
'original_resize_maxwidth' => $conf['original_resize_maxwidth'],
|
||||
'original_resize_maxheight' => $conf['original_resize_maxheight'],
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$upload_modes = array('html', 'multiple');
|
||||
$upload_mode = isset($conf['upload_mode']) ? $conf['upload_mode'] : 'multiple';
|
||||
|
||||
@@ -255,7 +267,6 @@ if (!isset($_SESSION['upload_hide_warnings']))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'setup_warnings' => $setup_warnings,
|
||||
|
||||
Reference in New Issue
Block a user