Fix already pinged list. Props pirateking. fixes #2136

git-svn-id: http://svn.automattic.com/wordpress/trunk@3347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-12-23 20:43:30 +00:00
parent 242cfef107
commit 71d5605298
1 changed files with 5 additions and 5 deletions

View File

@ -33,9 +33,9 @@ $form_prevstatus = '<input type="hidden" name="prev_status" value="' . $post->po
$form_trackback = '<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. str_replace("\n", ' ', $post->to_ping) .'" />';
if ('' != $pinged) {
$pings .= '<p>'. __('Already pinged:') . '</p><ul>';
$already_pinged = explode("\n", trim($pinged));
if ('' != $post->pinged) {
$pings = '<p>'. __('Already pinged:') . '</p><ul>';
$already_pinged = explode("\n", trim($post->pinged));
foreach ($already_pinged as $pinged_url) {
$pings .= "\n\t<li>$pinged_url</li>";
}
@ -163,7 +163,7 @@ if ( tinyMCE.isMSIE )
if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) {
var i = tinyMCE.selectedInstance;
if(typeof i == 'undefined')
return true;
return true;http://boren.nu/
tinyMCE.execCommand("mceStartTyping");
this.blur();
i.contentWindow.focus();
@ -234,7 +234,7 @@ if ( false != $uploading_iframe_src )
<h3 class="dbx-handle"><?php _e('Trackbacks') ?></h3>
<div class="dbx-content"><?php _e('Send trackbacks to'); ?>: <?php echo $form_trackback; ?> (<?php _e('Separate multiple URIs with spaces'); ?>)
<?php
if ('' != $pinged)
if ( ! empty($pings) )
echo $pings;
?>
</div>