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:
flop25
2013-04-11 13:18:46 +00:00
parent c22683add2
commit 0490009705
5 changed files with 20 additions and 1 deletions
@@ -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,