mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
MediaPicker Icon fix.
This commit is contained in:
parent
64b4f9a2a1
commit
a2e082c75d
@ -2777,7 +2777,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $field
|
||||
* @param string|array $field
|
||||
* @param string $key attribute name
|
||||
* @param mixed $value default value if not set, default is null
|
||||
* @return e_admin_controller_ui
|
||||
|
@ -960,8 +960,8 @@ class e_form
|
||||
{
|
||||
if(deftrue('e_DEBUG_MEDIAPICKER'))
|
||||
{
|
||||
$options['icons'] = 1;
|
||||
$options['glyphs'] = 1;
|
||||
$options['icon'] = 1;
|
||||
$options['glyph'] = 1;
|
||||
$options['w'] = 64;
|
||||
$options['h'] = 64;
|
||||
|
||||
@ -1448,9 +1448,9 @@ class e_form
|
||||
|
||||
$class = '';
|
||||
|
||||
if($parms['icons'])
|
||||
if($parms['icon'])
|
||||
{
|
||||
$class = 'mediaselector-container-icons';
|
||||
$class = 'mediaselector-container-icon';
|
||||
$parms['type'] = 'icon';
|
||||
}
|
||||
|
||||
@ -1479,7 +1479,7 @@ class e_form
|
||||
}
|
||||
|
||||
|
||||
if(!empty($parms['icons'])) // empty overlay without button.
|
||||
if(!empty($parms['icon'])) // empty overlay without button.
|
||||
{
|
||||
$parms['class'] = '';
|
||||
$editIcon = $this->mediaUrl($cat, "<span><!-- --></span>", $name_id,$parms);
|
||||
|
Loading…
x
Reference in New Issue
Block a user