- 5A009E860A521D0FCBC87E11CDAF5577446F69F25EACEA842A09E9C97C6519E11016BDB04D61358FF1FB0A4D6FA47946336613044133FA9F0FD48D7C2CD2DEE9
+ CC017C1D0D9539EBCC711895B1E02425E2A19FF340DA4D1635988BE7A46764B312C88C969D3240D29E73B3D16017B7F931CE882C60701186549E7CF48E8D63D0
mp-wp/wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js
(11 . 8)(11 . 8)
2331 tinymce.create('tinymce.plugins.WordPress', {
2332 init : function(ed, url) {
2333 var t = this, tbId = ed.getParam('wordpress_adv_toolbar', 'toolbar2');
2334 var moreHTML = '<img src="' + url + '/img/trans.gif" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
2335 var nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
2336 var moreHTML = '<img src="' + url + '/img/trans.svg" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
2337 var nextpageHTML = '<img src="' + url + '/img/trans.svg" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
2338
2339 if ( getUserSetting('hidetb', '0') == '1' )
2340 ed.settings.wordpress_adv_hidden = 0;
(64 . 32)(64 . 32)
2342 // Register buttons
2343 ed.addButton('wp_more', {
2344 title : 'wordpress.wp_more_desc',
2345 image : url + '/img/more.gif',
2346 image : url + '/img/more.svg',
2347 cmd : 'WP_More'
2348 });
2349
2350 ed.addButton('wp_page', {
2351 title : 'wordpress.wp_page_desc',
2352 image : url + '/img/page.gif',
2353 image : url + '/img/page.svg',
2354 cmd : 'WP_Page'
2355 });
2356
2357 ed.addButton('wp_help', {
2358 title : 'wordpress.wp_help_desc',
2359 image : url + '/img/help.gif',
2360 image : url + '/img/help.svg',
2361 cmd : 'WP_Help'
2362 });
2363
2364 ed.addButton('wp_adv', {
2365 title : 'wordpress.wp_adv_desc',
2366 image : url + '/img/toolbars.gif',
2367 image : url + '/img/toolbars.svg',
2368 cmd : 'WP_Adv'
2369 });
2370
2371 // Add Media buttons
2372 ed.addButton('add_media', {
2373 title : 'wordpress.add_media',
2374 image : url + '/img/media.gif',
2375 image : url + '/img/media.svg',
2376 onclick : function() {
2377 tb_show('', tinymce.DOM.get('add_media').href);
2378 tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' );
(98 . 7)(98 . 7)
2380
2381 ed.addButton('add_image', {
2382 title : 'wordpress.add_image',
2383 image : url + '/img/image.gif',
2384 image : url + '/img/image.svg',
2385 onclick : function() {
2386 tb_show('', tinymce.DOM.get('add_image').href);
2387 tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' );
(107 . 7)(107 . 7)
2389
2390 ed.addButton('add_video', {
2391 title : 'wordpress.add_video',
2392 image : url + '/img/video.gif',
2393 image : url + '/img/video.svg',
2394 onclick : function() {
2395 tb_show('', tinymce.DOM.get('add_video').href);
2396 tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' );
(116 . 7)(116 . 7)
2398
2399 ed.addButton('add_audio', {
2400 title : 'wordpress.add_audio',
2401 image : url + '/img/audio.gif',
2402 image : url + '/img/audio.svg',
2403 onclick : function() {
2404 tb_show('', tinymce.DOM.get('add_audio').href);
2405 tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' );
(241 . 8)(241 . 8)
2407 },
2408
2409 _handleMoreBreak : function(ed, url) {
2410 var moreHTML = '<img src="' + url + '/img/trans.gif" alt="$1" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
2411 var nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
2412 var moreHTML = '<img src="' + url + '/img/trans.svg" alt="$1" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />';
2413 var nextpageHTML = '<img src="' + url + '/img/trans.svg" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />';
2414
2415 // Load plugin specific CSS into editor
2416 ed.onInit.add(function() {