mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Media-Picker spacer fix.
This commit is contained in:
@@ -5871,6 +5871,8 @@ class e_form
|
||||
$label = varset($parms['label'], 'LAN_EDIT');
|
||||
$max = varset($parms['max'],5);
|
||||
|
||||
$ret .= "<div class='mediaselector-multi field-element-images'>";
|
||||
|
||||
for ($i=0; $i < $max; $i++)
|
||||
{
|
||||
$k = $key.'['.$i.'][path]';
|
||||
@@ -5878,7 +5880,8 @@ class e_form
|
||||
|
||||
$ret .= $this->imagepicker($k, $ival, defset($label, $label), $parms);
|
||||
}
|
||||
|
||||
|
||||
$ret .= "</div>";
|
||||
break;
|
||||
|
||||
/** Generic Media Pick for combinations of images, audio, video, glyphs, files, etc. Field Type = json */
|
||||
@@ -5886,7 +5889,7 @@ class e_form
|
||||
|
||||
$max = varset($parms['max'],1);
|
||||
|
||||
$ret = '';
|
||||
$ret = "<div class='mediaselector-multi field-element-media'>";
|
||||
for ($i=0; $i < $max; $i++)
|
||||
{
|
||||
$k = $key.'['.$i.'][path]';
|
||||
@@ -5895,6 +5898,8 @@ class e_form
|
||||
$ret .= $this->mediapicker($k, $ival, $parms);
|
||||
}
|
||||
|
||||
$ret .= "</div>";
|
||||
|
||||
return $ret;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user