diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-08 18:25:37 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-08 18:25:37 +0000 |
commit | bb3e16e9745abc5d625a8254303c3875c7a04ebf (patch) | |
tree | 105f7abc052be575a643971ab59b3b38f4fa7056 /wp-includes/general-template.php | |
parent | 11571c1befd735bd1d69caea2b093164215b4fee (diff) | |
download | wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.tar.gz wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.tar.xz wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.zip |
WP Merge to 4701
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@832 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/general-template.php')
-rw-r--r-- | wp-includes/general-template.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 9032c79..69470db 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -818,8 +818,10 @@ function the_editor($content, $id = 'content', $prev_id = 'title') { <input id='edButtonHTML' class='edButtonBack' type='button' value='<?php _e('Code'); ?>' onclick='switchEditors("<?php echo $id; ?>")' /> </div> <script type="text/javascript"> + // <![CDATA[ if ( typeof tinyMCE != "undefined" && tinyMCE.configs.length > 0 ) document.getElementById('edButtons').style.display = 'block'; + // ]]> </script> <?php endif; ?> @@ -828,6 +830,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title') { <script type="text/javascript">edToolbar()</script> </div> <script type="text/javascript"> + // <![CDATA[ if ( typeof tinyMCE != "undefined" && tinyMCE.configs.length > 0 ) document.getElementById("quicktags").style.display="none"; @@ -854,6 +857,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title') { myField.focus(); } } + // ]]> </script> <?php |