- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/wp-mce-help.php
r18137 r17102 15 15 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 16 16 <title><?php _e('Rich Editor Help') ?></title> 17 <script type="text/javascript" src="tiny_mce_popup.js?ver=3 42"></script>17 <script type="text/javascript" src="tiny_mce_popup.js?ver=3223"></script> 18 18 <?php 19 19 wp_admin_css( 'global', true ); … … 128 128 border-bottom: 0px; 129 129 } 130 131 .mac,132 .macos .win {133 display: none;134 }135 136 .macos span.mac {137 display: inline;138 }139 140 .macwebkit tr.mac {141 display: table-row;142 }143 144 130 </style> 145 131 <?php if ( is_rtl() ) : ?> … … 174 160 } 175 161 176 tinyMCEPopup.onInit.add(function() { 177 var win = tinyMCEPopup.getWin(); 178 179 document.getElementById('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; 162 function init() { 163 document.getElementById('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; 180 164 document.getElementById('date').innerHTML = tinymce.releaseDate; 181 182 if ( win.fullscreen && win.fullscreen.settings.visible ) { 183 d('content1').className = 'hidden'; 184 d('tabs').className = 'hidden'; 185 d('content3').className = 'dfw'; 186 } 187 188 if ( tinymce.isMac ) 189 document.body.className = 'macos'; 190 191 if ( tinymce.isMac && tinymce.isWebKit ) 192 document.body.className = 'macos macwebkit'; 193 194 }); 165 } 166 tinyMCEPopup.onInit.add(init); 195 167 </script> 196 168 </head> 197 169 <body> 170 171 <div id="wphead"><h1><?php echo get_bloginfo('blogtitle'); ?></h1></div> 198 172 199 173 <ul id="tabs"> … … 229 203 <h2><?php _e('Writing at Full Speed') ?></h2> 230 204 <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> 231 232 205 <table class="keys" width="100%" style="border: 0 none;"> 233 206 <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> … … 235 208 <tr><th>a</th><td><?php _e('Select all') ?></td><th>x</th><td><?php _e('Cut') ?></td></tr> 236 209 <tr><th>z</th><td><?php _e('Undo') ?></td><th>y</th><td><?php _e('Redo') ?></td></tr> 237 238 <tr class="win"><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr> 239 <tr class="win"><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Heading 1') ?></td></tr> 240 <tr class="win"><th>2</th><td><?php _e('Heading 2') ?></td><th>3</th><td><?php _e('Heading 3') ?></td></tr> 241 <tr class="win"><th>4</th><td><?php _e('Heading 4') ?></td><th>5</th><td><?php _e('Heading 5') ?></td></tr> 242 <tr class="win"><th>6</th><td><?php _e('Heading 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr> 243 244 <tr><th colspan="4" style="font-weight: normal;padding: 15px 10px 10px;"><?php _e('Editor width in Distraction-free writing mode:'); ?></th></tr> 245 <tr><th><span class="win">Alt +</span><span class="mac">Ctrl +</span></th><td><?php _e('Wider') ?></td> 246 <th><span class="win">Alt -</span><span class="mac">Ctrl -</span></th><td><?php _e('Narrower') ?></td></tr> 247 <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> 210 <script type="text/javascript"> 211 if ( ! tinymce.isWebKit ) 212 document.write("<tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>"+ 213 "<tr><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Heading 1') ?></td></tr>"+ 214 "<tr><th>2</th><td><?php _e('Heading 2') ?></td><th>3</th><td><?php _e('Heading 3') ?></td></tr>"+ 215 "<tr><th>4</th><td><?php _e('Heading 4') ?></td><th>5</th><td><?php _e('Heading 5') ?></td></tr>"+ 216 "<tr><th>6</th><td><?php _e('Heading 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr>") 217 </script> 248 218 </table> 249 219 … … 251 221 <table class="keys" width="100%" style="border: 0 none;"> 252 222 <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> 253 <tr class="mac"><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr> 254 223 <script type="text/javascript"> 224 if ( tinymce.isWebKit ) 225 document.write("<tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>") 226 </script> 255 227 <tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr> 256 228 <tr><th>j</th><td><?php _e('Justify Text') ?></td><th>c</th><td><?php _e('Align Center') ?></td></tr> … … 269 241 270 242 <p><?php _e('Version:'); ?> <span id="version"></span> (<span id="date"></span>)</p> 271 <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>272 <p><?php _e('Copyright © 2003-20 11, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p>243 <p><?php printf(__('TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control 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> 244 <p><?php _e('Copyright © 2003-2007, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p> 273 245 <p><?php _e('For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p> 274 246 275 247 <div id="buttoncontainer"> 276 <a href="http://www.moxiecode.com" target="_blank"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" style="border: 0" /></a> 248 <a href="http://www.moxiecode.com" target="_blank"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" style="border: none;" /></a> 249 <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="themes/advanced/img/sflogo.png" alt="<?php _e('Hosted By Sourceforge') ?>" style="border: none;" /></a> 250 <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="themes/advanced/img/fm.gif" alt="<?php _e('Also on freshmeat') ?>" style="border: none;" /></a> 277 251 </div> 278 252
Note: See TracChangeset
for help on using the changeset viewer.