diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-04 09:40:17 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-08-04 09:40:17 +0000 |
| commit | dff2159b9a60ef198230c8ccf4cec127b5fc5a12 (patch) | |
| tree | 270861ea0148ceb55c4973ef8363ae76de3738a4 /wp-inst/wp-admin/admin-header.php | |
| parent | b7f07ae4d07cf7e6990b85969575e95d892ac86d (diff) | |
| download | wordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.tar.gz wordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.tar.xz wordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.zip | |
Changes from Core WP. Added tinymce editor and other fixes
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@120 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/admin-header.php')
| -rw-r--r-- | wp-inst/wp-admin/admin-header.php | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/admin-header.php b/wp-inst/wp-admin/admin-header.php index fb52818..19a5286 100644 --- a/wp-inst/wp-admin/admin-header.php +++ b/wp-inst/wp-admin/admin-header.php @@ -9,6 +9,26 @@ if (!isset($_GET["page"])) require_once('admin.php'); ?> <link rel="stylesheet" href="<?php echo get_settings('siteurl') ?>/wp-admin/wp-admin.css?version=<?php bloginfo('version'); ?>" type="text/css" /> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" /> +<?php if ( get_option('rich_editing') ) :?> +<script type="text/javascript" src="tinymce/tiny_mce_gzip.php"></script> +<script type="text/javascript"> +tinyMCE.init({ + mode : "specific_textareas", + textarea_trigger : "title", + theme : "advanced", + theme_advanced_buttons1 : "bold,italic,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,separator,link,unlink,image,emotions,separator,undo,redo,code", + theme_advanced_buttons2 : "", + theme_advanced_buttons3 : "", + theme_advanced_toolbar_location : "top", + theme_advanced_toolbar_align : "left", + theme_advanced_path_location : "bottom", + entity_encoding : "numeric", + extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|width|height|align],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", + plugins : "emotions" +}); +</script> +<?php endif; ?> + <script type="text/javascript"> //<