Indented file.

git-svn-id: https://develop.svn.wordpress.org/trunk@1825 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Donncha O Caoimh 2004-10-22 14:41:01 +00:00
parent 887f94011f
commit 18c485e15a
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;