146 lines
4.8 KiB
PHP
146 lines
4.8 KiB
PHP
<?php
|
|
/**
|
|
* @package TinyMCE
|
|
* @author Moxiecode
|
|
* @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
|
|
*/
|
|
|
|
/** @ignore */
|
|
require_once( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/wp-load.php' );
|
|
header('Content-Type: text/html; charset=' . get_bloginfo('charset'));
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
|
<title><?php _e('Keyboard Shortcuts'); ?></title>
|
|
|
|
<?php wp_admin_css( 'wp-admin', true ); ?>
|
|
<style type="text/css">
|
|
|
|
html {
|
|
background: #fcfcfc;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.wrap {
|
|
background-color: #fff;
|
|
border-top: 1px solid #ddd;
|
|
height: 390px;
|
|
margin: 0;
|
|
overflow: auto;
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
th {
|
|
text-align: center;
|
|
}
|
|
|
|
.top th {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.top .key {
|
|
text-align: center;
|
|
width: 5em;
|
|
}
|
|
|
|
.keys {
|
|
border: 0 none;
|
|
margin-bottom: 15px;
|
|
width: 100%;
|
|
}
|
|
|
|
.keys p {
|
|
display: inline-block;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.keys .left {
|
|
text-align: left;
|
|
}
|
|
|
|
.keys .center {
|
|
text-align: center;
|
|
}
|
|
|
|
.keys .right {
|
|
text-align: right;
|
|
}
|
|
|
|
.macos .win,
|
|
.windows .mac {
|
|
display: none;
|
|
}
|
|
|
|
</style>
|
|
<?php if ( is_rtl() ) : ?>
|
|
<style type="text/css">
|
|
|
|
.keys .left {
|
|
text-align: right;
|
|
}
|
|
|
|
.keys .right {
|
|
text-align: left;
|
|
}
|
|
|
|
</style>
|
|
<?php endif; ?>
|
|
</head>
|
|
<body class="windows wp-core-ui">
|
|
<script type="text/javascript">
|
|
if ( navigator.userAgent.indexOf( 'Mac OS' ) > -1 ) {
|
|
document.body.className = document.body.className.replace( /windows/, 'macos' );
|
|
}
|
|
</script>
|
|
|
|
<div class="wrap">
|
|
|
|
<div>
|
|
<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>
|
|
|
|
<table class="keys">
|
|
<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>
|
|
<tr><th>c</th><td><?php _e('Copy'); ?></td><th>v</th><td><?php _e('Paste'); ?></td></tr>
|
|
<tr><th>a</th><td><?php _e('Select all'); ?></td><th>x</th><td><?php _e('Cut'); ?></td></tr>
|
|
<tr><th>z</th><td><?php _e('Undo'); ?></td><th>y</th><td><?php _e('Redo'); ?></td></tr>
|
|
<tr><th>b</th><td><?php _e('Bold'); ?></td><th>i</th><td><?php _e('Italic'); ?></td></tr>
|
|
<tr><th>u</th><td><?php _e('Underline'); ?></td><th>1</th><td><?php _e('Heading 1'); ?></td></tr>
|
|
<tr><th>2</th><td><?php _e('Heading 2'); ?></td><th>3</th><td><?php _e('Heading 3'); ?></td></tr>
|
|
<tr><th>4</th><td><?php _e('Heading 4'); ?></td><th>5</th><td><?php _e('Heading 5'); ?></td></tr>
|
|
<tr><th>6</th><td><?php _e('Heading 6'); ?></td><th>9</th><td><?php _e('Address'); ?></td></tr>
|
|
<tr><th>k</th><td><?php _e('Insert/edit link'); ?></td><th> </th><td> </td></tr>
|
|
</table>
|
|
|
|
<p><?php _e('The following shortcuts use different access keys: Alt + Shift + letter.'); ?></p>
|
|
<table class="keys">
|
|
<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>
|
|
<tr><th>n</th><td><?php _e('Check Spelling'); ?></td><th>l</th><td><?php _e('Align Left'); ?></td></tr>
|
|
<tr><th>j</th><td><?php _e('Justify Text'); ?></td><th>c</th><td><?php _e('Align Center'); ?></td></tr>
|
|
<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>
|
|
<tr><th>u</th><td><strong>•</strong> <?php _e('List'); ?></td><th>a</th><td><?php _e('Insert link'); ?></td></tr>
|
|
<tr><th>o</th><td>1. <?php _e('List'); ?></td><th>s</th><td><?php _e('Remove link'); ?></td></tr>
|
|
<tr><th>q</th><td><?php _e('Quote'); ?></td><th>m</th><td><?php _e('Insert Image'); ?></td></tr>
|
|
<tr><th>w</th><td><?php _e('Distraction Free Writing mode'); ?></td><th>t</th><td><?php _e('Insert More Tag'); ?></td></tr>
|
|
<tr><th>p</th><td><?php _e('Insert Page Break tag'); ?></td><th>h</th><td><?php _e('Help'); ?></td></tr>
|
|
<tr><th>x</th><td><?php _e('Add/remove code tag'); ?></td><th> </th><td> </td></tr>
|
|
</table>
|
|
|
|
<p style="padding: 15px 10px 10px;"><?php _e('Editor width in Distraction Free Writing mode:'); ?></p>
|
|
<table class="keys">
|
|
<tr><th><span class="win">Alt +</span><span class="mac">Ctrl +</span></th><td><?php _e('Wider'); ?></td>
|
|
<th><span class="win">Alt -</span><span class="mac">Ctrl -</span></th><td><?php _e('Narrower'); ?></td></tr>
|
|
<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>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|