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

git-svn-id: http://svn.automattic.com/wordpress/trunk@9799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-20 00:16:41 +00:00
parent bdde119980
commit 81ad8fe0f7
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">