Indented file.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
donncha 2004-10-22 14:41:01 +00:00
parent c2b6df21be
commit 6d4a7e7228
1 changed files with 198 additions and 197 deletions

View File

@ -485,6 +485,7 @@ if (($_SERVER['HTTP_REFERER'] != "") && (false == $noredir)) {
} else {
header('Location: '. get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');
}
clear_smarty_cache();
break;
@ -607,8 +608,11 @@ case 'editedcomment':
);
$referredby = $_POST['referredby'];
if (!empty($referredby)) header('Location: ' . $referredby);
else header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
if (!empty($referredby)) {
header('Location: ' . $referredby);
} else {
header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
}
do_action('edit_comment', $comment_ID);
break;
@ -662,7 +666,7 @@ default:
<p>
<?php
$bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
$bookmarklet_height= (get_settings('use_trackback')) ? 480 : 440;
if ($is_NS4 || $is_gecko) {
?>
@ -697,8 +701,6 @@ window.open ("profile.php?action=IErightclick", "oneclickbookmarklet", "width=50
</div>
<?php
} else {
?>
<div class="wrap">
<p><?php printf(__('Since you&#8217;re a newcomer, you&#8217;ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />
@ -707,7 +709,6 @@ When you&#8217;re promoted, just reload this page and you&#8217;ll be able to bl
</p>
</div>
<?php
}
break;