Add closing form tag when no comments displayed, props sivel, fixes #8283

git-svn-id: https://develop.svn.wordpress.org/trunk@9799 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-11-20 00:16:41 +00:00
parent d3dde76422
commit 927d260aed
1 changed files with 9 additions and 15 deletions

View File

@ -317,22 +317,16 @@ if ( $page_links )
</form>
<div id="ajax-response"></div>
<?php
} elseif ( 'moderated' == $_GET['comment_status'] ) {
?>
<p>
<?php _e('No comments awaiting moderation&hellip; yet.') ?>
</p>
<?php
} else {
?>
<p>
<?php _e('No results found.') ?>
</p>
<?php
}
?>
<?php } elseif ( 'moderated' == $_GET['comment_status'] ) { ?>
<p><?php _e('No comments awaiting moderation&hellip; yet.') ?></p>
</form>
<?php } else { ?>
<p><?php _e('No results found.') ?></p>
</form>
<?php } ?>
</div>
<script type="text/javascript">