1
0
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:
Cameron 2018-08-13 14:44:20 -07:00
parent 64b4f9a2a1
commit a2e082c75d
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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);