Tweaks and catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
09c016f904
commit
a7b8ae2f17
|
@ -22,8 +22,8 @@ tinyMCE.init({
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "left",
|
theme_advanced_toolbar_align : "left",
|
||||||
theme_advanced_path_location : "bottom",
|
theme_advanced_path_location : "bottom",
|
||||||
entity_encoding : "numeric",
|
entity_encoding : "raw",
|
||||||
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]",
|
extended_valid_elements : "a[id|href|title|onclick],img[class|src|alt|title|width|height|align]",
|
||||||
plugins : "emotions"
|
plugins : "emotions"
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -88,7 +88,7 @@ if ('view' == $mode) {
|
||||||
$class .= ' alternate';
|
$class .= ' alternate';
|
||||||
echo "<li class='$class'>";
|
echo "<li class='$class'>";
|
||||||
?>
|
?>
|
||||||
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
|
<p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_url && 'http://' != $comment->comment_author_url ) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p>
|
||||||
|
|
||||||
<?php comment_text() ?>
|
<?php comment_text() ?>
|
||||||
|
|
||||||
|
|
|
@ -48,13 +48,11 @@ if (empty($post->post_status)) $post->post_status = 'draft';
|
||||||
<?php echo $form_extra ?>
|
<?php echo $form_extra ?>
|
||||||
<?php if (isset($_GET['message']) && 2 > $_GET['message']) : ?>
|
<?php if (isset($_GET['message']) && 2 > $_GET['message']) : ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
|
||||||
function focusit() {
|
function focusit() {
|
||||||
// focus on first input field
|
// focus on first input field
|
||||||
document.post.title.focus();
|
document.post.title.focus();
|
||||||
}
|
}
|
||||||
window.onload = focusit;
|
window.onload = focusit;
|
||||||
//-->
|
|
||||||
</script>
|
</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div id="poststuff">
|
<div id="poststuff">
|
||||||
|
@ -171,7 +169,7 @@ if ('publish' != $post_status || 0 == $post_ID) {
|
||||||
<input name="referredby" type="hidden" id="referredby" value="<?php echo wp_specialchars($_SERVER['HTTP_REFERER']); ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php echo wp_specialchars($_SERVER['HTTP_REFERER']); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php do_action('edit_form_advanced', ''); ?>
|
<?php do_action('edit_form_advanced'); ?>
|
||||||
|
|
||||||
<div id="advancedstuff" class="dbx-group" >
|
<div id="advancedstuff" class="dbx-group" >
|
||||||
|
|
||||||
|
|
|
@ -103,10 +103,11 @@ foreach ($rss->items as $item ) {
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php do_action('activity_box_end'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><?php _e('Dashboard'); ?></h2>
|
<h2><?php _e('Dashboard'); ?></h2>
|
||||||
<p><?php _e('Below is the latest news from the official WordPress development blog, click on a title to read the full entry.'); ?></p>
|
<p><?php _e("Below is the latest news from the official WordPress development blog, click on a title to read the full entry. If you need help with WordPress please see our <a href='http://codex.wordpress.org/'>great documentation</a> or if that doesn't help visit the <a href='http://wordpress.org/support/'>support forums</a>."); ?></p>
|
||||||
<?php
|
<?php
|
||||||
$rss = @fetch_rss('http://wordpress.org/development/feed/');
|
$rss = @fetch_rss('http://wordpress.org/development/feed/');
|
||||||
if ( isset($rss->items) && 0 != count($rss->items) ) {
|
if ( isset($rss->items) && 0 != count($rss->items) ) {
|
||||||
|
|
|
@ -84,7 +84,7 @@ case 'edit':
|
||||||
|
|
||||||
<div class="storycontent">
|
<div class="storycontent">
|
||||||
<?php
|
<?php
|
||||||
echo apply_filters('the_content', $post->post_content);
|
echo apply_filters('the_content', html_entity_decode($post->post_content) );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -53,7 +53,7 @@ $current_stylesheet = $themes[$current_theme]['Stylesheet'];
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><?php _e('Themes Available'); ?></h2>
|
<h2><?php _e('Available Themes'); ?></h2>
|
||||||
<?php if ( 1 < count($themes) ) { ?>
|
<?php if ( 1 < count($themes) ) { ?>
|
||||||
<table width="100%" cellpadding="3" cellspacing="3">
|
<table width="100%" cellpadding="3" cellspacing="3">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -145,7 +145,7 @@ if (count($broken_themes)) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h2><?php _e('Get More Themes'); ?></h2>
|
<h2><?php _e('Get More Themes'); ?></h2>
|
||||||
<p><?php _e('You can find additional themes for your site in the <a href="http://wordpress.org/extend/themes/">WordPress theme directory</a>. To install a theme you generally just need to upload the theme folder into your <code>wp-content/themes</code> directory. Once a theme is uploaded, you may activate it here.'); ?></p>
|
<p><?php _e('You can find additional themes for your site in the <a href="http://wordpress.org/extend/themes/">WordPress theme directory</a>. To install a theme you generally just need to upload the theme folder into your <code>wp-content/themes</code> directory. Once a theme is uploaded, you may activate it on this page.'); ?></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -541,7 +541,7 @@ TinyMCE.prototype._createIFrame = function(replace_element) {
|
||||||
if (tinyMCE.isMSIE)
|
if (tinyMCE.isMSIE)
|
||||||
iframe.setAttribute("src", this.settings['default_document']);
|
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'];
|
iframe.style.height = tinyMCE.settings['area_height'];
|
||||||
|
|
||||||
// MSIE 5.0 issue
|
// MSIE 5.0 issue
|
||||||
|
|
|
@ -153,7 +153,7 @@ textarea, input, select {
|
||||||
}
|
}
|
||||||
|
|
||||||
.alternate {
|
.alternate {
|
||||||
background: #eee;
|
background: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.anchors {
|
.anchors {
|
||||||
|
@ -266,7 +266,7 @@ textarea, input, select {
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrap h2 {
|
.wrap h2 {
|
||||||
margin: .5em 0;
|
margin: .8em 0 .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu {
|
#adminmenu {
|
||||||
|
|
Loading…
Reference in New Issue