Index: admin_templates/incs/header.tpl =================================================================== --- admin_templates/incs/header.tpl (revision 15165) +++ admin_templates/incs/header.tpl (working copy) @@ -22,7 +22,8 @@ Index: admin_templates/js/toolbar.js =================================================================== --- admin_templates/js/toolbar.js (revision 15165) +++ admin_templates/js/toolbar.js (working copy) @@ -55,11 +55,13 @@ } } -ToolBarButton.prototype.IconsPath = function() +ToolBarButton.prototype.IconsPath = function($module_path) { - var $module_path = this.Module; + if ( $module_path === undefined ) { + $module_path = this.Module; + } - if (this.Module != 'core') { + if ( $module_path != 'core' ) { $module_path = 'modules/' + $module_path; } @@ -67,17 +69,30 @@ } ToolBarButton.prototype.GetHTML = function() { - var add_style = this.ToolBar.ButtonStyle ? 'style="'+this.ToolBar.ButtonStyle+'"' : ''; - var o = '