mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
MediaPicker Icon fix.
This commit is contained in:
@@ -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 string $key attribute name
|
||||||
* @param mixed $value default value if not set, default is null
|
* @param mixed $value default value if not set, default is null
|
||||||
* @return e_admin_controller_ui
|
* @return e_admin_controller_ui
|
||||||
|
@@ -960,8 +960,8 @@ class e_form
|
|||||||
{
|
{
|
||||||
if(deftrue('e_DEBUG_MEDIAPICKER'))
|
if(deftrue('e_DEBUG_MEDIAPICKER'))
|
||||||
{
|
{
|
||||||
$options['icons'] = 1;
|
$options['icon'] = 1;
|
||||||
$options['glyphs'] = 1;
|
$options['glyph'] = 1;
|
||||||
$options['w'] = 64;
|
$options['w'] = 64;
|
||||||
$options['h'] = 64;
|
$options['h'] = 64;
|
||||||
|
|
||||||
@@ -1448,9 +1448,9 @@ class e_form
|
|||||||
|
|
||||||
$class = '';
|
$class = '';
|
||||||
|
|
||||||
if($parms['icons'])
|
if($parms['icon'])
|
||||||
{
|
{
|
||||||
$class = 'mediaselector-container-icons';
|
$class = 'mediaselector-container-icon';
|
||||||
$parms['type'] = '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'] = '';
|
$parms['class'] = '';
|
||||||
$editIcon = $this->mediaUrl($cat, "<span><!-- --></span>", $name_id,$parms);
|
$editIcon = $this->mediaUrl($cat, "<span><!-- --></span>", $name_id,$parms);
|
||||||
|
Reference in New Issue
Block a user