From 1d5e21d175411f8e399dee07d0246aa52146be70 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 7 Aug 2005 08:58:10 +0000 Subject: [PATCH] Tweaks and catchups git-svn-id: https://develop.svn.wordpress.org/trunk@2756 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-header.php | 4 ++-- wp-admin/edit-comments.php | 2 +- wp-admin/edit-form-advanced.php | 4 +--- wp-admin/index.php | 3 ++- wp-admin/post.php | 2 +- wp-admin/themes.php | 4 ++-- wp-admin/tinymce/tiny_mce_src.js | 2 +- wp-admin/wp-admin.css | 4 ++-- 8 files changed, 12 insertions(+), 13 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 742e05db97..60c6d21287 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -22,8 +22,8 @@ tinyMCE.init({ 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]", + entity_encoding : "raw", + extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]", plugins : "emotions" }); diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index d26d68d5ea..f239364f12 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -88,7 +88,7 @@ if ('view' == $mode) { $class .= ' alternate'; echo "
  • "; ?> -

    comment_author_email) { ?>| comment_author_url) { ?> | |

    +

    comment_author_email) { ?>| comment_author_url && 'http://' != $comment->comment_author_url ) { ?> | |

    diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 0effeb9d4b..44f9bb10ca 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -48,13 +48,11 @@ if (empty($post->post_status)) $post->post_status = 'draft'; $_GET['message']) : ?>
    @@ -171,7 +169,7 @@ if ('publish' != $post_status || 0 == $post_ID) {

    - +
    diff --git a/wp-admin/index.php b/wp-admin/index.php index 37dbef65b5..1ed08db3cc 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -103,10 +103,11 @@ foreach ($rss->items as $item ) {
    +

    -

    +

    great documentation or if that doesn't help visit the support forums."); ?>

    items) && 0 != count($rss->items) ) { diff --git a/wp-admin/post.php b/wp-admin/post.php index bf6a15ac23..6f454e0256 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -84,7 +84,7 @@ case 'edit':
    post_content); + echo apply_filters('the_content', html_entity_decode($post->post_content) ); ?>
    diff --git a/wp-admin/themes.php b/wp-admin/themes.php index af0b6e6048..350bd327e8 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -53,7 +53,7 @@ $current_stylesheet = $themes[$current_theme]['Stylesheet']; -

    +

    @@ -145,7 +145,7 @@ if (count($broken_themes)) { ?>

    -

    WordPress theme directory. To install a theme you generally just need to upload the theme folder into your wp-content/themes directory. Once a theme is uploaded, you may activate it here.'); ?>

    +

    WordPress theme directory. To install a theme you generally just need to upload the theme folder into your wp-content/themes directory. Once a theme is uploaded, you may activate it on this page.'); ?>

    diff --git a/wp-admin/tinymce/tiny_mce_src.js b/wp-admin/tinymce/tiny_mce_src.js index 3cf566b5d0..efa5ee97aa 100644 --- a/wp-admin/tinymce/tiny_mce_src.js +++ b/wp-admin/tinymce/tiny_mce_src.js @@ -541,7 +541,7 @@ TinyMCE.prototype._createIFrame = function(replace_element) { if (tinyMCE.isMSIE) iframe.setAttribute("src", this.settings['default_document']); - iframe.style.width = "98%"; + iframe.style.width = tinyMCE.settings['area_width']; iframe.style.height = tinyMCE.settings['area_height']; // MSIE 5.0 issue diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index ef1a020321..10fe7e99c5 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -153,7 +153,7 @@ textarea, input, select { } .alternate { - background: #eee; + background: #f1f1f1; } .anchors { @@ -266,7 +266,7 @@ textarea, input, select { } .wrap h2 { - margin: .5em 0; + margin: .8em 0 .5em; } #adminmenu {