493 t._addStatusBar(tb, o); |
493 t._addStatusBar(tb, o); |
494 break; |
494 break; |
495 |
495 |
496 default: |
496 default: |
497 n = DOM.add(DOM.add(tb, 'tr'), 'td', { |
497 n = DOM.add(DOM.add(tb, 'tr'), 'td', { |
498 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc), |
498 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + s['theme_advanced_container_' + c + '_align'] || da |
499 align : s['theme_advanced_container_' + c + '_align'] || da |
|
500 }); |
499 }); |
501 |
500 |
502 to = cf.createToolbar("toolbar" + i); |
501 to = cf.createToolbar("toolbar" + i); |
503 t._addControls(v, to); |
502 t._addControls(v, to); |
504 DOM.setHTML(n, to.renderHTML()); |
503 DOM.setHTML(n, to.renderHTML()); |
549 }, |
548 }, |
550 |
549 |
551 _addToolbars : function(c, o) { |
550 _addToolbars : function(c, o) { |
552 var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = []; |
551 var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = []; |
553 |
552 |
554 n = DOM.add(DOM.add(c, 'tr'), 'td', {'class' : 'mceToolbar', align : s.theme_advanced_toolbar_align}); |
553 n = DOM.add(DOM.add(c, 'tr'), 'td', {'class' : 'mceToolbar ' + s.theme_advanced_toolbar_align}); |
555 |
554 |
556 if (!ed.getParam('accessibility_focus') || ed.getParam('tab_focus')) |
555 if (!ed.getParam('accessibility_focus') || ed.getParam('tab_focus')) |
557 h.push(DOM.createHTML('a', {href : '#', onfocus : 'tinyMCE.get(\'' + ed.id + '\').focus();'}, '<!-- IE -->')); |
556 h.push(DOM.createHTML('a', {href : '#', onfocus : 'tinyMCE.get(\'' + ed.id + '\').focus();'}, '<!-- IE -->')); |
558 |
557 |
559 h.push(DOM.createHTML('a', {href : '#', accesskey : 'q', title : ed.getLang("advanced.toolbar_focus")}, '<!-- IE -->')); |
558 h.push(DOM.createHTML('a', {href : '#', accesskey : 'q', title : ed.getLang("advanced.toolbar_focus")}, '<!-- IE -->')); |