diff --git a/e107_core/templates/admin_icons_template.php b/e107_core/templates/admin_icons_template.php index 8e142f8f1..4521d71b5 100644 --- a/e107_core/templates/admin_icons_template.php +++ b/e107_core/templates/admin_icons_template.php @@ -137,6 +137,11 @@ if (!defined('E_32_LANGUAGE')) { } // Large Admin Other Link Images +// Large Admin Other Link Images +if (!defined('E_24_PLUGIN')) { + define('E_24_PLUGIN', " "); +} + if (!defined('E_32_PLUGIN')) { define('E_32_PLUGIN', " "); } diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index e20c9450d..f1414aa7f 100644 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -1586,7 +1586,7 @@ class e_admin_dispatcher } elseif(deftrue('e_CURRENT_PLUGIN')) { - $icon = e107::getPlug()->load(e_CURRENT_PLUGIN)->getIcon(32); + $icon = e107::getPlug()->load(e_CURRENT_PLUGIN)->getIcon(24); } return e107::getNav()->admin($icon."".$this->menuTitle."", $selected, $var); diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 88a0eade2..37849500e 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -247,8 +247,8 @@ class e_plugin $link = $this->_data[$this->_plugdir]['adminLinks']['link'][0]['@attributes']; - $k = array(16 => 'iconSmall', 32 => 'icon', 128=>'icon128'); - $def = array(16 => E_16_PLUGIN, 32 => E_32_PLUGIN); + $k = array(16 => 'iconSmall', 24 => 'icon', 32 => 'icon', 128=>'icon128'); + $def = array(16 => E_16_PLUGIN, 24 => E_24_PLUGIN, 32 => E_32_PLUGIN); $key = $k[$size];