Fixed missing comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2cc9c25c82
commit
e8ff560568
|
@ -278,15 +278,15 @@ if ($i == "ASC")
|
|||
if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
|
||||
echo "[ <a href=\"b2edit.php?action=editcomment&comment=".$commentdata->comment_ID."\">Edit</a>";
|
||||
echo " - <a href=\"b2edit.php?action=deletecomment&p=".$post->ID."&comment=".$commentdata->comment_ID."\">Delete</a> ]";
|
||||
}
|
||||
} // end if any comments to show
|
||||
?>
|
||||
</li>
|
||||
<!-- /comment -->
|
||||
|
||||
|
||||
<?php //end of the loop, don't delete
|
||||
}
|
||||
} // end foreach
|
||||
echo '</ol>';
|
||||
}//end if comments
|
||||
if ($comment_error)
|
||||
echo "<p>Error: please fill the required fields (name & comment)</p>";
|
||||
?>
|
||||
|
@ -304,16 +304,11 @@ if ($i == "ASC")
|
|||
<input type="text" name="url" class="textarea" value="<?php echo $user_url ?>" size="20" tabindex="3" /><br />
|
||||
<textarea cols="40" rows="4" name="comment" tabindex="4" class="textarea">comment</textarea><br />
|
||||
<input type="submit" name="submit" class="buttonarea" value="ok" tabindex="5" />
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<!-- /form -->
|
||||
|
||||
|
||||
<?php // if you delete this the sky will fall on your head
|
||||
}
|
||||
}
|
||||
?>
|
||||
<br />
|
||||
|
||||
|
|
Loading…
Reference in New Issue