Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_clear_selected_f3.gif =================================================================== diff -u -N -r13840 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_search_b_f2.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_move_down_f3.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_process_f2.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_archive.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_print_f3.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_setprimary.gif =================================================================== diff -u -N -r13840 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_search_reset_alt.gif =================================================================== diff -u -N -r14244 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_preview_f3.gif =================================================================== diff -u -N -r14856 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/img/toolbar/tool_preview.gif =================================================================== diff -u -N -r14856 -r15284 Binary files differ Index: branches/5.2.x/core/admin_templates/js/toolbar.js =================================================================== diff -u -N -r14856 -r15284 --- branches/5.2.x/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 14856) +++ branches/5.2.x/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 15284) @@ -55,29 +55,44 @@ } } -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; } return this.ToolBar.IconPath.replace('#MODULE#', $module_path) + 'toolbar/'; } ToolBarButton.prototype.GetHTML = function() { - var add_style = this.ToolBar.ButtonStyle ? 'style="'+this.ToolBar.ButtonStyle+'"' : ''; - var o = '