WordPress 4.0
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / wp-mce-help.php
1 <?php
2 /**
3  * @package TinyMCE
4  * @author Moxiecode
5  * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
6  */
7
8 /** @ignore */
9 require_once( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) . '/wp-load.php' );
10 header('Content-Type: text/html; charset=' . get_bloginfo('charset'));
11 ?>
12 <!DOCTYPE html>
13 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
14 <head>
15 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
16 <title><?php _e('Keyboard Shortcuts'); ?></title>
17
18 <?php wp_admin_css( 'wp-admin', true ); ?>
19 <style type="text/css">
20
21         html {
22                 background: #fcfcfc;
23                 overflow: hidden;
24         }
25
26         body {
27                 min-width: 0;
28         }
29
30         .wrap {
31                 background-color: #fff;
32                 border-top: 1px solid #ddd;
33                 height: 390px;
34                 margin: 0;
35                 overflow: auto;
36                 padding: 10px 16px;
37         }
38
39         th {
40                 text-align: center;
41         }
42
43         .top th {
44                 text-decoration: underline;
45         }
46
47         .top .key {
48                 text-align: center;
49                 width: 5em;
50         }
51
52         .keys {
53                 border: 0 none;
54                 margin-bottom: 15px;
55                 width: 100%;
56         }
57
58         .keys p {
59                 display: inline-block;
60                 margin: 0px;
61                 padding: 0px;
62         }
63
64         .keys .left {
65                 text-align: left;
66         }
67
68         .keys .center {
69                 text-align: center;
70         }
71
72         .keys .right {
73                 text-align: right;
74         }
75
76         .macos .win,
77         .windows .mac {
78                 display: none;
79         }
80
81 </style>
82 <?php if ( is_rtl() ) : ?>
83 <style type="text/css">
84
85         .keys .left {
86                 text-align: right;
87         }
88
89         .keys .right {
90                 text-align: left;
91         }
92
93 </style>
94 <?php endif; ?>
95 </head>
96 <body class="windows wp-core-ui">
97 <script type="text/javascript">
98 if ( navigator.userAgent.indexOf( 'Mac OS' ) > -1 ) {
99         document.body.className = document.body.className.replace( /windows/, 'macos' );
100 }
101 </script>
102
103 <div class="wrap">
104
105 <div>
106         <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>
107
108         <table class="keys">
109                 <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>
110                 <tr><th>c</th><td><?php _e('Copy'); ?></td><th>v</th><td><?php _e('Paste'); ?></td></tr>
111                 <tr><th>a</th><td><?php _e('Select all'); ?></td><th>x</th><td><?php _e('Cut'); ?></td></tr>
112                 <tr><th>z</th><td><?php _e('Undo'); ?></td><th>y</th><td><?php _e('Redo'); ?></td></tr>
113                 <tr><th>b</th><td><?php _e('Bold'); ?></td><th>i</th><td><?php _e('Italic'); ?></td></tr>
114                 <tr><th>u</th><td><?php _e('Underline'); ?></td><th>1</th><td><?php _e('Heading 1'); ?></td></tr>
115                 <tr><th>2</th><td><?php _e('Heading 2'); ?></td><th>3</th><td><?php _e('Heading 3'); ?></td></tr>
116                 <tr><th>4</th><td><?php _e('Heading 4'); ?></td><th>5</th><td><?php _e('Heading 5'); ?></td></tr>
117                 <tr><th>6</th><td><?php _e('Heading 6'); ?></td><th>9</th><td><?php _e('Address'); ?></td></tr>
118                 <tr><th>k</th><td><?php _e('Insert/edit link'); ?></td><th> </th><td>&nbsp;</td></tr>
119         </table>
120
121         <p><?php _e('The following shortcuts use different access keys: Alt + Shift + letter.'); ?></p>
122         <table class="keys">
123                 <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>
124                 <tr><th>n</th><td><?php _e('Check Spelling'); ?></td><th>l</th><td><?php _e('Align Left'); ?></td></tr>
125                 <tr><th>j</th><td><?php _e('Justify Text'); ?></td><th>c</th><td><?php _e('Align Center'); ?></td></tr>
126                 <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>
127                 <tr><th>u</th><td><strong>&bull;</strong> <?php _e('List'); ?></td><th>a</th><td><?php _e('Insert link'); ?></td></tr>
128                 <tr><th>o</th><td>1. <?php _e('List'); ?></td><th>s</th><td><?php _e('Remove link'); ?></td></tr>
129                 <tr><th>q</th><td><?php _e('Quote'); ?></td><th>m</th><td><?php _e('Insert Image'); ?></td></tr>
130                 <tr><th>w</th><td><?php _e('Distraction Free Writing mode'); ?></td><th>t</th><td><?php _e('Insert More Tag'); ?></td></tr>
131                 <tr><th>p</th><td><?php _e('Insert Page Break tag'); ?></td><th>h</th><td><?php _e('Help'); ?></td></tr>
132                 <tr><th>x</th><td><?php _e('Add/remove code tag'); ?></td><th> </th><td>&nbsp;</td></tr>
133         </table>
134
135         <p style="padding: 15px 10px 10px;"><?php _e('Editor width in Distraction Free Writing mode:'); ?></p>
136         <table class="keys">
137                 <tr><th><span class="win">Alt +</span><span class="mac">Ctrl +</span></th><td><?php _e('Wider'); ?></td>
138                         <th><span class="win">Alt -</span><span class="mac">Ctrl -</span></th><td><?php _e('Narrower'); ?></td></tr>
139                 <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>
140         </table>
141 </div>
142
143 </div>
144 </body>
145 </html>