Ticket #21214: 21214.patch
File 21214.patch, 21.0 KB (added by , 12 years ago) |
---|
-
wp-includes/js/tinymce/langs/wp-langs-en.js
170 170 unload_msg:"The changes you made will be lost if you navigate away from this page." 171 171 }, 172 172 fullscreen:{ 173 desc:"Toggle fullscreen mode (Alt + Shift +G)"173 desc:"Toggle fullscreen mode (Alt + G)" 174 174 }, 175 175 media:{ 176 176 desc:"Insert / edit embedded media", … … 186 186 desc:"Visual control characters on/off." 187 187 }, 188 188 spellchecker:{ 189 desc:"Toggle spellchecker (Alt + Shift +N)",189 desc:"Toggle spellchecker (Alt + N)", 190 190 menu:"Spellchecker settings", 191 191 ignore_word:"Ignore word", 192 192 ignore_words:"Ignore all", … … 243 243 bold_desc:"Bold (Ctrl + B)", 244 244 italic_desc:"Italic (Ctrl + I)", 245 245 underline_desc:"Underline", 246 striketrough_desc:"Strikethrough (Alt + Shift +D)",247 justifyleft_desc:"Align Left (Alt + Shift +L)",248 justifycenter_desc:"Align Center (Alt + Shift +C)",249 justifyright_desc:"Align Right (Alt + Shift +R)",250 justifyfull_desc:"Align Full (Alt + Shift +J)",251 bullist_desc:"Unordered list (Alt + Shift +U)",252 numlist_desc:"Ordered list (Alt + Shift +O)",246 striketrough_desc:"Strikethrough (Alt + D)", 247 justifyleft_desc:"Align Left (Alt + L)", 248 justifycenter_desc:"Align Center (Alt + C)", 249 justifyright_desc:"Align Right (Alt + R)", 250 justifyfull_desc:"Align Full (Alt + J)", 251 bullist_desc:"Unordered list (Alt + U)", 252 numlist_desc:"Ordered list (Alt + O)", 253 253 outdent_desc:"Outdent", 254 254 indent_desc:"Indent", 255 255 undo_desc:"Undo (Ctrl + Z)", 256 256 redo_desc:"Redo (Ctrl + Y)", 257 link_desc:"Insert/edit link (Alt + Shift +A)",258 unlink_desc:"Unlink (Alt + S hift + S)",259 image_desc:"Insert/edit image (Alt + Shift +M)",257 link_desc:"Insert/edit link (Alt + A)", 258 unlink_desc:"Unlink (Alt + S)", 259 image_desc:"Insert/edit image (Alt + M)", 260 260 cleanup_desc:"Cleanup messy code", 261 261 code_desc:"Edit HTML Source", 262 262 sub_desc:"Subscript", … … 274 274 image_props_desc:"Image properties", 275 275 newdocument_desc:"New document", 276 276 help_desc:"Help", 277 blockquote_desc:"Blockquote (Alt + Shift +Q)",277 blockquote_desc:"Blockquote (Alt + Q)", 278 278 clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.", 279 279 path:"Path", 280 280 newdocument:"Are you sure you want to clear all contents?", … … 452 452 }); 453 453 454 454 tinyMCE.addI18n("en.wordpress",{ 455 wp_adv_desc:"Show/Hide Kitchen Sink (Alt + Shift +Z)",456 wp_more_desc:"Insert More Tag (Alt + Shift +T)",457 wp_page_desc:"Insert Page break (Alt + Shift +P)",458 wp_help_desc:"Help (Alt + Shift +H)",455 wp_adv_desc:"Show/Hide Kitchen Sink (Alt + Z)", 456 wp_more_desc:"Insert More Tag (Alt + T)", 457 wp_page_desc:"Insert Page break (Alt + P)", 458 wp_help_desc:"Help (Alt + H)", 459 459 wp_more_alt:"More...", 460 460 wp_page_alt:"Next page...", 461 461 add_media:"Add Media", … … 463 463 add_video:"Add Video", 464 464 add_audio:"Add Audio", 465 465 editgallery:"Edit Gallery", 466 delgallery:"Delete Gallery" 466 delgallery:"Delete Gallery", 467 wp_fullscreen_desc:"Distraction Free Writing mode (Alt + W)" 467 468 }); 468 469 469 470 tinyMCE.addI18n("en.wpeditimage",{ -
wp-includes/js/tinymce/langs/wp-langs.php
204 204 ), 205 205 206 206 'fullscreen' => array( 207 'desc' => __('Toggle fullscreen mode (Alt + Shift +G)')207 'desc' => __('Toggle fullscreen mode (Alt + G)') 208 208 ), 209 209 210 210 'media' => array( … … 225 225 ), 226 226 227 227 'spellchecker' => array( 228 'desc' => __('Toggle spellchecker (Alt + Shift +N)'),228 'desc' => __('Toggle spellchecker (Alt + N)'), 229 229 'menu' => __('Spellchecker settings'), 230 230 'ignore_word' => __('Ignore word'), 231 231 'ignore_words' => __('Ignore all'), … … 286 286 'bold_desc' => __('Bold (Ctrl + B)'), 287 287 'italic_desc' => __('Italic (Ctrl + I)'), 288 288 'underline_desc' => __('Underline'), 289 'striketrough_desc' => __('Strikethrough (Alt + Shift +D)'),290 'justifyleft_desc' => __('Align Left (Alt + Shift +L)'),291 'justifycenter_desc' => __('Align Center (Alt + Shift +C)'),292 'justifyright_desc' => __('Align Right (Alt + Shift +R)'),293 'justifyfull_desc' => __('Align Full (Alt + Shift +J)'),294 'bullist_desc' => __('Unordered list (Alt + Shift +U)'),295 'numlist_desc' => __('Ordered list (Alt + Shift +O)'),289 'striketrough_desc' => __('Strikethrough (Alt + D)'), 290 'justifyleft_desc' => __('Align Left (Alt + L)'), 291 'justifycenter_desc' => __('Align Center (Alt + C)'), 292 'justifyright_desc' => __('Align Right (Alt + R)'), 293 'justifyfull_desc' => __('Align Full (Alt + J)'), 294 'bullist_desc' => __('Unordered list (Alt + U)'), 295 'numlist_desc' => __('Ordered list (Alt + O)'), 296 296 'outdent_desc' => __('Outdent'), 297 297 'indent_desc' => __('Indent'), 298 298 'undo_desc' => __('Undo (Ctrl + Z)'), 299 299 'redo_desc' => __('Redo (Ctrl + Y)'), 300 'link_desc' => __('Insert/edit link (Alt + Shift +A)'),301 'unlink_desc' => __('Unlink (Alt + S hift + S)'),302 'image_desc' => __('Insert/edit image (Alt + Shift +M)'),300 'link_desc' => __('Insert/edit link (Alt + A)'), 301 'unlink_desc' => __('Unlink (Alt + S)'), 302 'image_desc' => __('Insert/edit image (Alt + M)'), 303 303 'cleanup_desc' => __('Cleanup messy code'), 304 304 'code_desc' => __('Edit HTML Source'), 305 305 'sub_desc' => __('Subscript'), … … 317 317 'image_props_desc' => __('Image properties'), 318 318 'newdocument_desc' => __('New document'), 319 319 'help_desc' => __('Help'), 320 'blockquote_desc' => __('Blockquote (Alt + Shift +Q)'),320 'blockquote_desc' => __('Blockquote (Alt + Q)'), 321 321 'clipboard_msg' => __('Copy/Cut/Paste is not available in Mozilla and Firefox.'), 322 322 'path' => __('Path'), 323 323 'newdocument' => __('Are you sure you want to clear all contents?'), … … 495 495 ); 496 496 497 497 $wordpress = array( 498 'wp_adv_desc' => __('Show/Hide Kitchen Sink (Alt + Shift +Z)'),499 'wp_more_desc' => __('Insert More Tag (Alt + Shift +T)'),500 'wp_page_desc' => __('Insert Page break (Alt + Shift +P)'),501 'wp_help_desc' => __('Help (Alt + Shift +H)'),498 'wp_adv_desc' => __('Show/Hide Kitchen Sink (Alt + Z)'), 499 'wp_more_desc' => __('Insert More Tag (Alt + T)'), 500 'wp_page_desc' => __('Insert Page break (Alt + P)'), 501 'wp_help_desc' => __('Help (Alt + H)'), 502 502 'wp_more_alt' => __('More...'), 503 503 'wp_page_alt' => __('Next page...'), 504 504 'add_media' => __('Add Media'), … … 506 506 'add_video' => __('Add Video'), 507 507 'add_audio' => __('Add Audio'), 508 508 'editgallery' => __('Edit Gallery'), 509 'delgallery' => __('Delete Gallery') 509 'delgallery' => __('Delete Gallery'), 510 'wp_fullscreen_desc' => __('Distraction Free Writing mode (Alt + W)') 510 511 ); 511 512 512 513 $wpeditimage = array( -
wp-includes/js/tinymce/plugins/wordpress/editor_plugin_src.js
9 9 mceTout : 0, 10 10 11 11 init : function(ed, url) { 12 var t = this, tbId = ed.getParam('wordpress_adv_toolbar', 'toolbar2'), last = 0, moreHTML, nextpageHTML, closeOnClick ;12 var t = this, tbId = ed.getParam('wordpress_adv_toolbar', 'toolbar2'), last = 0, moreHTML, nextpageHTML, closeOnClick, mod_key; 13 13 moreHTML = '<img src="' + url + '/img/trans.gif" class="mceWPmore mceItemNoResize" title="'+ed.getLang('wordpress.wp_more_alt')+'" />'; 14 14 nextpageHTML = '<img src="' + url + '/img/trans.gif" class="mceWPnextpage mceItemNoResize" title="'+ed.getLang('wordpress.wp_page_alt')+'" />'; 15 15 … … 74 74 return; 75 75 76 76 tb_show('', link.href); 77 tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' );78 77 }); 79 78 80 79 // Register buttons … … 250 249 t._handleMoreBreak(ed, url); 251 250 252 251 // Add custom shortcuts 253 ed.addShortcut('alt+shift+c', ed.getLang('justifycenter_desc'), 'JustifyCenter'); 254 ed.addShortcut('alt+shift+r', ed.getLang('justifyright_desc'), 'JustifyRight'); 255 ed.addShortcut('alt+shift+l', ed.getLang('justifyleft_desc'), 'JustifyLeft'); 256 ed.addShortcut('alt+shift+j', ed.getLang('justifyfull_desc'), 'JustifyFull'); 257 ed.addShortcut('alt+shift+q', ed.getLang('blockquote_desc'), 'mceBlockQuote'); 258 ed.addShortcut('alt+shift+u', ed.getLang('bullist_desc'), 'InsertUnorderedList'); 259 ed.addShortcut('alt+shift+o', ed.getLang('numlist_desc'), 'InsertOrderedList'); 260 ed.addShortcut('alt+shift+d', ed.getLang('striketrough_desc'), 'Strikethrough'); 261 ed.addShortcut('alt+shift+n', ed.getLang('spellchecker.desc'), 'mceSpellCheck'); 262 ed.addShortcut('alt+shift+a', ed.getLang('link_desc'), 'mceLink'); 263 ed.addShortcut('alt+shift+s', ed.getLang('unlink_desc'), 'unlink'); 264 ed.addShortcut('alt+shift+m', ed.getLang('image_desc'), 'WP_Medialib'); 265 ed.addShortcut('alt+shift+g', ed.getLang('fullscreen.desc'), 'mceFullScreen'); 266 ed.addShortcut('alt+shift+z', ed.getLang('wp_adv_desc'), 'WP_Adv'); 267 ed.addShortcut('alt+shift+h', ed.getLang('help_desc'), 'WP_Help'); 268 ed.addShortcut('alt+shift+t', ed.getLang('wp_more_desc'), 'WP_More'); 269 ed.addShortcut('alt+shift+p', ed.getLang('wp_page_desc'), 'WP_Page'); 270 ed.addShortcut('ctrl+s', ed.getLang('save_desc'), function(){if('function'==typeof autosave)autosave();}); 252 mod_key = 'alt'; 271 253 272 if ( tinymce.isWebKit ) { 273 ed.addShortcut('alt+shift+b', ed.getLang('bold_desc'), 'Bold'); 274 ed.addShortcut('alt+shift+i', ed.getLang('italic_desc'), 'Italic'); 275 } 254 if ( tinymce.isIE || tinymce.isOpera ) 255 mod_key = 'shift+alt'; 276 256 257 ed.addShortcut(mod_key + '+c', 'justifycenter_desc', 'JustifyCenter'); 258 ed.addShortcut(mod_key + '+r', 'justifyright_desc', 'JustifyRight'); 259 ed.addShortcut(mod_key + '+l', 'justifyleft_desc', 'JustifyLeft'); 260 ed.addShortcut(mod_key + '+j', 'justifyfull_desc', 'JustifyFull'); 261 ed.addShortcut(mod_key + '+q', 'blockquote_desc', 'mceBlockQuote'); 262 ed.addShortcut(mod_key + '+u', 'bullist_desc', 'InsertUnorderedList'); 263 ed.addShortcut(mod_key + '+o', 'numlist_desc', 'InsertOrderedList'); 264 ed.addShortcut(mod_key + '+n', 'spellchecker.desc', 'mceSpellCheck'); 265 ed.addShortcut(mod_key + '+a', 'link_desc', 'WP_Link'); 266 ed.addShortcut(mod_key + '+s', 'unlink_desc', 'unlink'); 267 ed.addShortcut(mod_key + '+m', 'image_desc', 'WP_Medialib'); 268 ed.addShortcut(mod_key + '+z', 'wordpress.wp_adv_desc', 'WP_Adv'); 269 ed.addShortcut(mod_key + '+t', 'wordpress.wp_more_desc', 'WP_More'); 270 ed.addShortcut(mod_key + '+d', 'striketrough_desc', 'Strikethrough'); 271 ed.addShortcut(mod_key + '+h', 'help_desc', 'WP_Help'); 272 ed.addShortcut(mod_key + '+p', 'wordpress.wp_page_desc', 'WP_Page'); 273 ed.addShortcut('ctrl+s', 'save_desc', function(){if('function'==typeof autosave)autosave();}); 274 275 if ( ed.settings.plugins.indexOf('wpfullscreen') != -1 ) 276 ed.addShortcut(mod_key + '+w', 'wordpress.wp_fullscreen_desc', 'wpFullScreen'); 277 else 278 ed.addShortcut(mod_key + '+g', 'fullscreen.desc', 'mceFullScreen'); 279 280 // popup buttons 277 281 ed.onInit.add(function(ed) { 278 282 tinymce.dom.Event.add(ed.getWin(), 'scroll', function(e) { 279 283 ed.plugins.wordpress._hideButtons(); -
wp-includes/js/tinymce/plugins/wpfullscreen/editor_plugin_src.js
93 93 } 94 94 }); 95 95 96 ed.addCommand('wpFullScreen', function() { 97 if ( typeof(fullscreen) == 'undefined' ) 98 return; 99 100 if ( 'wp_mce_fullscreen' == ed.id ) 101 fullscreen.off(); 102 else 103 fullscreen.on(); 104 }); 105 96 106 // Register buttons 97 if ( 'undefined' != fullscreen ) { 98 ed.addButton('wp_fullscreen', { 99 title : 'fullscreen.desc', 100 onclick : function(){ fullscreen.on(); } 101 }); 102 } 107 ed.addButton('wp_fullscreen', { 108 title : 'wordpress.wp_fullscreen_desc', 109 cmd : 'wpFullScreen' 110 }); 103 111 104 112 // END fullscreen 105 113 //---------------------------------------------------------------- -
wp-includes/js/tinymce/plugins/wplink/editor_plugin_src.js
28 28 29 29 // Register example button 30 30 ed.addButton('link', { 31 title : ed.getLang('advanced.link_desc'),31 title : 'advanced.link_desc', 32 32 cmd : 'WP_Link' 33 33 }); 34 34 35 ed.addShortcut('alt+shift+a', ed.getLang('advanced.link_desc'), 'WP_Link');36 37 35 ed.onNodeChange.add(function(ed, cm, n, co) { 38 36 disabled = co && n.nodeName != 'A'; 39 37 }); … … 57 55 58 56 // Register plugin 59 57 tinymce.PluginManager.add('wplink', tinymce.plugins.wpLink); 60 })(); 61 No newline at end of file 58 })(); 59 -
wp-includes/js/tinymce/wp-mce-help.php
111 111 } 112 112 .keys { 113 113 margin-bottom: 15px; 114 width: 100%; 115 border: 0 none; 114 116 } 115 117 .keys p { 116 118 display: inline-block; … … 130 132 #buttoncontainer a, #buttoncontainer a:hover { 131 133 border-bottom: 0px; 132 134 } 133 134 .mac, 135 .macos .win { 135 .macos .win, 136 .windows .mac { 136 137 display: none; 137 138 } 138 139 .macos span.mac {140 display: inline;141 }142 143 .macwebkit tr.mac {144 display: table-row;145 }146 147 139 </style> 148 140 <?php if ( is_rtl() ) : ?> 149 141 <style type="text/css"> … … 159 151 td b { font-family: Tahoma, "Times New Roman", Times, serif } 160 152 </style> 161 153 <?php endif; ?> 154 </head> 155 <body class="windows"> 162 156 <script type="text/javascript"> 163 function d(id) { return document.getElementById(id); } 164 165 function flipTab(n) { 166 for (i=1;i<=4;i++) { 167 c = d('content'+i.toString()); 168 t = d('tab'+i.toString()); 169 if ( n == i ) { 170 c.className = ''; 171 t.className = 'current'; 172 } else { 173 c.className = 'hidden'; 174 t.className = ''; 175 } 176 } 177 } 178 179 tinyMCEPopup.onInit.add(function() { 180 var win = tinyMCEPopup.getWin(); 181 182 document.getElementById('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; 183 document.getElementById('date').innerHTML = tinymce.releaseDate; 184 185 if ( win.fullscreen && win.fullscreen.settings.visible ) { 186 d('content1').className = 'hidden'; 187 d('tabs').className = 'hidden'; 188 d('content3').className = 'dfw'; 189 } 190 191 if ( tinymce.isMac ) 192 document.body.className = 'macos'; 193 194 if ( tinymce.isMac && tinymce.isWebKit ) 195 document.body.className = 'macos macwebkit'; 196 197 }); 157 if ( tinymce.isMac ) 158 document.body.className = document.body.className.replace(/windows/, 'macos'); 198 159 </script> 199 </head>200 <body>201 160 202 161 <ul id="tabs"> 203 162 <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li> … … 232 191 <h2><?php _e('Writing at Full Speed') ?></h2> 233 192 <p><?php _e('Rather than reaching for your mouse to click on the toolbar, use these access keys. Windows and Linux use Ctrl + letter. Macintosh uses Command + letter.') ?></p> 234 193 235 <table class="keys" width="100%" style="border: 0 none;">194 <table class="keys"> 236 195 <tr class="top"><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th></tr> 237 196 <tr><th>c</th><td><?php _e('Copy') ?></td><th>v</th><td><?php _e('Paste') ?></td></tr> 238 197 <tr><th>a</th><td><?php _e('Select all') ?></td><th>x</th><td><?php _e('Cut') ?></td></tr> 239 198 <tr><th>z</th><td><?php _e('Undo') ?></td><th>y</th><td><?php _e('Redo') ?></td></tr> 240 199 241 <tr class="win"><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>242 <tr class="win"><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Heading 1') ?></td></tr>243 <tr class="win"><th>2</th><td><?php _e('Heading 2') ?></td><th>3</th><td><?php _e('Heading 3') ?></td></tr>244 <tr class="win"><th>4</th><td><?php _e('Heading 4') ?></td><th>5</th><td><?php _e('Heading 5') ?></td></tr>245 <tr class="win"><th>6</th><td><?php _e('Heading 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr>200 <tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr> 201 <tr><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Heading 1') ?></td></tr> 202 <tr><th>2</th><td><?php _e('Heading 2') ?></td><th>3</th><td><?php _e('Heading 3') ?></td></tr> 203 <tr><th>4</th><td><?php _e('Heading 4') ?></td><th>5</th><td><?php _e('Heading 5') ?></td></tr> 204 <tr><th>6</th><td><?php _e('Heading 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr> 246 205 </table> 247 206 248 <p><?php _e('The following shortcuts use different access keys: Alt + Shift + letter.') ?></p>249 <table class="keys" width="100%" style="border: 0 none;">207 <p><?php _e('The following shortcuts use different access keys: Alt + letter in Firefox, Chrome and Safari, Alt + Shift + letter in Internet Explorer and Opera.') ?></p> 208 <table class="keys"> 250 209 <tr class="top"><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th></tr> 251 <tr class="mac"><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>252 253 210 <tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr> 254 211 <tr><th>j</th><td><?php _e('Justify Text') ?></td><th>c</th><td><?php _e('Align Center') ?></td></tr> 255 212 <tr><th>d</th><td><span style="text-decoration: line-through;"><?php _e('Strikethrough') ?></span></td><th>r</th><td><?php _e('Align Right') ?></td></tr> … … 258 215 <tr><th>q</th><td><?php _e('Quote') ?></td><th>m</th><td><?php _e('Insert Image') ?></td></tr> 259 216 <tr><th>g</th><td><?php _e('Full Screen') ?></td><th>t</th><td><?php _e('Insert More Tag') ?></td></tr> 260 217 <tr><th>p</th><td><?php _e('Insert Page Break tag') ?></td><th>h</th><td><?php _e('Help') ?></td></tr> 261 <tr><th>e</th><td colspan="3"><?php _e('Switch to Text mode') ?></td></tr> 218 <tr><th>w</th><td colspan="3"><?php _e('Distraction Free Writing mode') ?></td></tr> 219 </table> 262 220 263 <tr><th colspan="4" style="font-weight: normal;padding: 15px 10px 10px;"><?php _e('Editor width in Distraction-free writing mode:'); ?></th></tr> 221 <p style="padding: 15px 10px 10px;"><?php _e('Editor width in Distraction Free Writing mode:'); ?></p> 222 <table class="keys"> 264 223 <tr><th><span class="win">Alt +</span><span class="mac">Ctrl +</span></th><td><?php _e('Wider') ?></td> 265 224 <th><span class="win">Alt -</span><span class="mac">Ctrl -</span></th><td><?php _e('Narrower') ?></td></tr> 266 225 <tr><th><span class="win">Alt 0</span><span class="mac">Ctrl 0</span></th><td><?php _e('Default width') ?></td><th></th><td></td></tr> … … 273 232 <p><?php _e('Version:'); ?> <span id="version"></span> (<span id="date"></span>)</p> 274 233 <p><?php printf(__('TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor released as Open Source under %sLGPL</a> by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.'), '<a href="'.home_url('/wp-includes/js/tinymce/license.txt').'" target="_blank" title="'.esc_attr__('GNU Library General Public Licence').'">') ?></p> 275 234 <p><?php _e('Copyright © 2003-2011, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p> 276 <p><?php _e('For more information about this software visit the <a href="http://tinymce. moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p>235 <p><?php _e('For more information about this software visit the <a href="http://tinymce.com" target="_blank">TinyMCE website</a>.') ?></p> 277 236 278 237 <div id="buttoncontainer"> 279 238 <a href="http://www.moxiecode.com" target="_blank"><img src="themes/advanced/img/gotmoxie.png" alt="<?php esc_attr_e('Got Moxie?') ?>" style="border: 0" /></a> … … 287 246 <input type="button" id="cancel" name="cancel" value="<?php esc_attr_e('Close'); ?>" title="<?php esc_attr_e('Close'); ?>" onclick="tinyMCEPopup.close();" /> 288 247 </div> 289 248 </div> 249 <script type="text/javascript"> 250 function d(id) { return document.getElementById(id); } 290 251 252 function flipTab(n) { 253 var i, c, t; 254 255 for ( i = 1; i <= 4; i++ ) { 256 c = d('content'+i.toString()); 257 t = d('tab'+i.toString()); 258 if ( n == i ) { 259 c.className = ''; 260 t.className = 'current'; 261 } else { 262 c.className = 'hidden'; 263 t.className = ''; 264 } 265 } 266 } 267 268 tinyMCEPopup.onInit.add(function() { 269 var win = tinyMCEPopup.getWin(); 270 271 d('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; 272 d('date').innerHTML = tinymce.releaseDate; 273 274 if ( win.fullscreen && win.fullscreen.settings.visible ) { 275 d('content1').className = 'hidden'; 276 d('tabs').className = 'hidden'; 277 d('content3').className = 'dfw'; 278 } 279 }); 280 </script> 291 281 </body> 292 282 </html>