web/wp-includes/js/tinymce/wp-mce-help.php
author ymh
Fri, 12 Mar 2010 13:29:04 +0000
changeset 1 0d28b7c10758
permissions -rw-r--r--
First commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
/**
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
 * @package TinyMCE
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
 * @author Moxiecode
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
 * @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
 */
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
/** @ignore */
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
require_once('../../../wp-load.php');
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
header('Content-Type: text/html; charset=' . get_bloginfo('charset'));
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
<head>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
<title><?php _e('Rich Editor Help') ?></title>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
<script type="text/javascript" src="tiny_mce_popup.js?ver=3223"></script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
wp_admin_css( 'global', true );
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
wp_admin_css( 'wp-admin', true );
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
<style type="text/css">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
	#wphead {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
		font-size: 80%;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
		border-top: 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
		color: #555;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
		background-color: #f1f1f1;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
	#wphead h1 {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
		font-size: 24px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
		color: #555;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
		margin: 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
		padding: 10px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
	#tabs {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
		padding: 15px 15px 3px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
		background-color: #f1f1f1;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
		border-bottom: 1px solid #dfdfdf;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
	#tabs li {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
		display: inline;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    43
	#tabs a.current {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    44
		background-color: #fff;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    45
		border-color: #dfdfdf;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    46
		border-bottom-color: #fff;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    47
		color: #d54e21;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    48
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    49
	#tabs a {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    50
		color: #2583AD;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    51
		padding: 6px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    52
		border-width: 1px 1px 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    53
		border-style: solid solid none;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    54
		border-color: #f1f1f1;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    55
		text-decoration: none;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    56
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    57
	#tabs a:hover {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    58
		color: #d54e21;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    59
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    60
	.wrap h2 {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    61
		border-bottom-color: #dfdfdf;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    62
		color: #555;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    63
		margin: 5px 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    64
		padding: 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    65
		font-size: 18px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    66
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    67
	#user_info {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    68
		right: 5%;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    69
		top: 5px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    70
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    71
	h3 {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    72
		font-size: 1.1em;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    73
		margin-top: 10px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    74
		margin-bottom: 0px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    75
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    76
	#flipper {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    77
		margin: 0;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    78
		padding: 5px 20px 10px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    79
		background-color: #fff;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    80
		border-left: 1px solid #dfdfdf;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    81
		border-bottom: 1px solid #dfdfdf;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    82
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    83
	* html {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    84
        overflow-x: hidden;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    85
        overflow-y: scroll;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    86
    }
0d28b7c10758 First commit
ymh
parents:
diff changeset
    87
	#flipper div p {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    88
		margin-top: 0.4em;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    89
		margin-bottom: 0.8em;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    90
		text-align: justify;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    91
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    92
	th {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    93
		text-align: center;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    94
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    95
	.top th {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    96
		text-decoration: underline;
0d28b7c10758 First commit
ymh
parents:
diff changeset
    97
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
    98
	.top .key {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    99
		text-align: center;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   100
		width: 5em;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   101
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   102
	.top .action {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   103
		text-align: left;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   104
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   105
	.align {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   106
		border-left: 3px double #333;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   107
		border-right: 3px double #333;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   108
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   109
	.keys {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   110
		margin-bottom: 15px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   111
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   112
	.keys p {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   113
		display: inline-block;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   114
		margin: 0px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   115
		padding: 0px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   116
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   117
	.keys .left { text-align: left; }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   118
	.keys .center { text-align: center; }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   119
	.keys .right { text-align: right; }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   120
	td b {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   121
		font-family: "Times New Roman" Times serif;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   122
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   123
	#buttoncontainer {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   124
		text-align: center;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   125
		margin-bottom: 20px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   126
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   127
	#buttoncontainer a, #buttoncontainer a:hover {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   128
		border-bottom: 0px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   129
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   130
</style>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   131
<?php if ( ('rtl' == $wp_locale->text_direction) ) : ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   132
<style type="text/css">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   133
	#wphead, #tabs {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   134
		padding-left: auto;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   135
		padding-right: 15px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   136
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   137
	#flipper {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   138
		margin: 5px 0 3px 10px;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   139
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   140
	.keys .left, .top, .action { text-align: right; }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   141
	.keys .right { text-align: left; }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   142
	td b { font-family: Tahoma, "Times New Roman", Times, serif }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   143
</style>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   144
<?php endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   145
<script type="text/javascript">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   146
	function d(id) { return document.getElementById(id); }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   147
0d28b7c10758 First commit
ymh
parents:
diff changeset
   148
	function flipTab(n) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   149
		for (i=1;i<=4;i++) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   150
			c = d('content'+i.toString());
0d28b7c10758 First commit
ymh
parents:
diff changeset
   151
			t = d('tab'+i.toString());
0d28b7c10758 First commit
ymh
parents:
diff changeset
   152
			if ( n == i ) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   153
				c.className = '';
0d28b7c10758 First commit
ymh
parents:
diff changeset
   154
				t.className = 'current';
0d28b7c10758 First commit
ymh
parents:
diff changeset
   155
			} else {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   156
				c.className = 'hidden';
0d28b7c10758 First commit
ymh
parents:
diff changeset
   157
				t.className = '';
0d28b7c10758 First commit
ymh
parents:
diff changeset
   158
			}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   159
		}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   160
	}
0d28b7c10758 First commit
ymh
parents:
diff changeset
   161
0d28b7c10758 First commit
ymh
parents:
diff changeset
   162
    function init() {
0d28b7c10758 First commit
ymh
parents:
diff changeset
   163
        document.getElementById('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   164
        document.getElementById('date').innerHTML = tinymce.releaseDate;
0d28b7c10758 First commit
ymh
parents:
diff changeset
   165
    }
0d28b7c10758 First commit
ymh
parents:
diff changeset
   166
    tinyMCEPopup.onInit.add(init);
0d28b7c10758 First commit
ymh
parents:
diff changeset
   167
</script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   168
</head>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   169
<body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   170
0d28b7c10758 First commit
ymh
parents:
diff changeset
   171
<div id="wphead"><h1><?php echo get_bloginfo('blogtitle'); ?></h1></div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   172
0d28b7c10758 First commit
ymh
parents:
diff changeset
   173
<ul id="tabs">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   174
	<li><a id="tab1" href="javascript:flipTab(1)" title="<?php _e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   175
	<li><a id="tab2" href="javascript:flipTab(2)" title="<?php _e('Advanced use of the Rich Editor') ?>" accesskey="2" tabindex="2"><?php _e('Advanced') ?></a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   176
	<li><a id="tab3" href="javascript:flipTab(3)" title="<?php _e('Hotkeys') ?>" accesskey="3" tabindex="3"><?php _e('Hotkeys') ?></a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   177
	<li><a id="tab4" href="javascript:flipTab(4)" title="<?php _e('About the software') ?>" accesskey="4" tabindex="4"><?php _e('About') ?></a></li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   178
</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   179
0d28b7c10758 First commit
ymh
parents:
diff changeset
   180
<div id="flipper" class="wrap">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   181
0d28b7c10758 First commit
ymh
parents:
diff changeset
   182
<div id="content1">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   183
	<h2><?php _e('Rich Editing Basics') ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   184
	<p><?php _e('<em>Rich editing</em>, also called WYSIWYG for What You See Is What You Get, means your text is formatted as you type. The rich editor creates HTML code behind the scenes while you concentrate on writing. Font styles, links and images all appear approximately as they will on the internet.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   185
	<p><?php _e('WordPress includes a rich HTML editor that works well in all major web browsers used today. However editing HTML is not the same as typing text. Each web page has two major components: the structure, which is the actual HTML code and is produced by the editor as you type, and the display, that is applied to it by the currently selected WordPress theme and is defined in style.css. WordPress is producing valid XHTML 1.0 which means that inserting multiple line breaks (BR tags) after a paragraph would not produce white space on the web page. The BR tags will be removed as invalid by the internal HTML correcting functions.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   186
	<p><?php _e('While using the editor, most basic keyboard shortcuts work like in any other text editor. For example: Shift+Enter inserts line break, Ctrl+C = copy, Ctrl+X = cut, Ctrl+Z = undo, Ctrl+Y = redo, Ctrl+A = select all, etc. (on Mac use the Command key instead of Ctrl). See the Hotkeys tab for all available keyboard shortcuts.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   187
    <p><?php _e('If you do not like the way the rich editor works, you may turn it off from Your Profile submenu, under Users in the admin menu.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   188
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   189
0d28b7c10758 First commit
ymh
parents:
diff changeset
   190
<div id="content2" class="hidden">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   191
	<h2><?php _e('Advanced Rich Editing') ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   192
	<h3><?php _e('Images and Attachments') ?></h3>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   193
	<p><?php _e('There is a button in the editor toolbar for inserting images that are already hosted somewhere on the internet. If you have a URL for an image, click this button and enter the URL in the box which appears.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   194
	<p><?php _e('If you need to upload an image or another media file from your computer, you can use the Media Library buttons above the editor. The media library will attempt to create a thumbnail-sized copy from each uploaded image. To insert your image into the post, first click on the thumbnail to reveal a menu of options. When you have selected the options you like, click "Send to Editor" and your image or file will appear in the post you are editing. If you are inserting a movie, there are additional options in the "Media" dialog that can be opened from the second toolbar row.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   195
	<h3><?php _e('HTML in the Rich Editor') ?></h3>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   196
	<p><?php _e('Any HTML entered directly into the rich editor will show up as text when the post is viewed. What you see is what you get. When you want to include HTML elements that cannot be generated with the toolbar buttons, you must enter it by hand in the HTML editor. Examples are tables and &lt;code&gt;. To do this, click the HTML tab and edit the code, then switch back to Visual mode. If the code is valid and understood by the editor, you should see it rendered immediately.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   197
	<h3><?php _e('Pasting in the Rich Editor') ?></h3>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   198
	<p><?php _e('When pasting content from another web page the results can be inconsistent and depend on your browser and on the web page you are pasting from. The editor tries to correct any invalid HTML code that was pasted, but for best results try using the HTML tab or one of the paste buttons that are on the second row. Alternatively try pasting paragraph by paragraph. In most browsers to select one paragraph at a time, triple-click on it.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   199
	<p><?php _e('Pasting content from another application, like Word or Excel, is best done with the Paste from Word button on the second row, or in HTML mode.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   200
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   201
0d28b7c10758 First commit
ymh
parents:
diff changeset
   202
<div id="content3" class="hidden">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   203
	<h2><?php _e('Writing at Full Speed') ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   205
	<table class="keys" width="100%" style="border: 0 none;">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   207
		<tr><th>c</th><td><?php _e('Copy') ?></td><th>v</th><td><?php _e('Paste') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   208
		<tr><th>a</th><td><?php _e('Select all') ?></td><th>x</th><td><?php _e('Cut') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   209
		<tr><th>z</th><td><?php _e('Undo') ?></td><th>y</th><td><?php _e('Redo') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   210
		<script type="text/javascript">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   211
		if ( ! tinymce.isWebKit )
0d28b7c10758 First commit
ymh
parents:
diff changeset
   212
			document.write("<tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>"+
0d28b7c10758 First commit
ymh
parents:
diff changeset
   213
			"<tr><th>u</th><td><?php _e('Underline') ?></td><th>1</th><td><?php _e('Header 1') ?></td></tr>"+
0d28b7c10758 First commit
ymh
parents:
diff changeset
   214
			"<tr><th>2</th><td><?php _e('Header 2') ?></td><th>3</th><td><?php _e('Header 3') ?></td></tr>"+
0d28b7c10758 First commit
ymh
parents:
diff changeset
   215
			"<tr><th>4</th><td><?php _e('Header 4') ?></td><th>5</th><td><?php _e('Header 5') ?></td></tr>"+
0d28b7c10758 First commit
ymh
parents:
diff changeset
   216
			"<tr><th>6</th><td><?php _e('Header 6') ?></td><th>9</th><td><?php _e('Address') ?></td></tr>")
0d28b7c10758 First commit
ymh
parents:
diff changeset
   217
		</script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   218
	</table>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   219
0d28b7c10758 First commit
ymh
parents:
diff changeset
   220
	<p><?php _e('The following shortcuts use different access keys: Alt + Shift + letter.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   221
	<table class="keys" width="100%" style="border: 0 none;">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   223
		<script type="text/javascript">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   224
		if ( tinymce.isWebKit )
0d28b7c10758 First commit
ymh
parents:
diff changeset
   225
			document.write("<tr><th>b</th><td><?php _e('Bold') ?></td><th>i</th><td><?php _e('Italic') ?></td></tr>")
0d28b7c10758 First commit
ymh
parents:
diff changeset
   226
		</script>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   227
		<tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   228
		<tr><th>j</th><td><?php _e('Justify Text') ?></td><th>c</th><td><?php _e('Align Center') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   229
		<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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   230
		<tr><th>u</th><td><strong>&bull;</strong> <?php _e('List') ?></td><th>a</th><td><?php _e('Insert link') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   231
		<tr><th>o</th><td>1. <?php _e('List') ?></td><th>s</th><td><?php _e('Remove link') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   232
		<tr><th>q</th><td><?php _e('Quote') ?></td><th>m</th><td><?php _e('Insert Image') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   233
		<tr><th>g</th><td><?php _e('Full Screen') ?></td><th>t</th><td><?php _e('Insert More Tag') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   234
		<tr><th>p</th><td><?php _e('Insert Page Break tag') ?></td><th>h</th><td><?php _e('Help') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   235
		<tr><th>e</th><td colspan="3"><?php _e('Switch to HTML mode') ?></td></tr>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   236
	</table>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   237
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   238
0d28b7c10758 First commit
ymh
parents:
diff changeset
   239
<div id="content4" class="hidden">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   240
	<h2><?php _e('About TinyMCE'); ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   241
0d28b7c10758 First commit
ymh
parents:
diff changeset
   242
    <p><?php _e('Version:'); ?> <span id="version"></span> (<span id="date"></span>)</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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="'.get_bloginfo('url').'/wp-includes/js/tinymce/license.txt" target="_blank" title="'.__('GNU Library General Public Licence').'">') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   244
	<p><?php _e('Copyright &copy; 2003-2007, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   245
	<p><?php _e('For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   246
0d28b7c10758 First commit
ymh
parents:
diff changeset
   247
	<div id="buttoncontainer">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   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>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   251
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   252
0d28b7c10758 First commit
ymh
parents:
diff changeset
   253
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   254
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   255
0d28b7c10758 First commit
ymh
parents:
diff changeset
   256
<div class="mceActionPanel">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   257
	<div style="margin: 8px auto; text-align: center;padding-bottom: 10px;">
0d28b7c10758 First commit
ymh
parents:
diff changeset
   258
		<input type="button" id="cancel" name="cancel" value="<?php _e('Close'); ?>" title="<?php _e('Close'); ?>" onclick="tinyMCEPopup.close();" />
0d28b7c10758 First commit
ymh
parents:
diff changeset
   259
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   260
</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   261
0d28b7c10758 First commit
ymh
parents:
diff changeset
   262
</body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   263
</html>