mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 03:54:09 +02:00
adminUI: Fixes #1686 - 'max' option added to writeParms when type=images. Default value is 5. thumbUrl() empty image prevention.
This commit is contained in:
@@ -4948,8 +4948,9 @@ class e_form
|
||||
// return print_a($value, true);
|
||||
$ret = "";
|
||||
$label = varset($parms['label'], 'LAN_EDIT');
|
||||
$max = varset($parms['max'],5);
|
||||
|
||||
for ($i=0; $i < 5; $i++)
|
||||
for ($i=0; $i < $max; $i++)
|
||||
{
|
||||
$k = $key.'['.$i.'][path]';
|
||||
$ival = $value[$i]['path'];
|
||||
|
Reference in New Issue
Block a user