mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Admin-ui: Fix for size of default plugin-icon in admin menu.
This commit is contained in:
@@ -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', "<i class='S24 e-plugins-24'></i> ");
|
||||
}
|
||||
|
||||
if (!defined('E_32_PLUGIN')) {
|
||||
define('E_32_PLUGIN', "<i class='S32 e-plugins-32'></i> ");
|
||||
}
|
||||
|
@@ -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."<span>".$this->menuTitle."</span>", $selected, $var);
|
||||
|
@@ -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];
|
||||
|
||||
|
Reference in New Issue
Block a user