MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/mmagma.com/wp-content/themes/nirvana/
File Upload :
Current < : /hermes/bosweb/b1705/mmagma.com/wp-content/themes/nirvana/comments.php

<?php
/**
 * The template for displaying Comments.
 *
 * The area of the page that contains both current comments
 * and the comment form.  The actual display of comments is
 * handled by a callback to nirvana_comment which is
 * located in the includes/theme-comments.php file.
 *
 * @package Cryout Creations
 * @subpackage nirvana
 * @since nirvana 0.5
 */

$nirvanas = nirvana_get_theme_options();
$nirvana_comclass = '';
if ( (!comments_open()) && (get_comments_number()<1) && 
	( ($nirvanas['nirvana_comclosed']=="Hide everywhere") || (is_page() && ($nirvanas['nirvana_comclosed']=="Hide in pages")) || 
	( is_single() && ($nirvanas['nirvana_comclosed']=="Hide in posts")) ) ) {
		$nirvana_comclass = "hideme";
}; ?>
<div id="comments" class="<?php echo $nirvana_comclass ?>"> <?php
	if ( have_comments() ) { 
		if ( post_password_required() ) { ?>
			<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'nirvana' ); ?></p>
			</div><!-- #comments --> <?php
			/* Stop the rest of comments.php from being processed,
			 * but don't kill the script entirely -- we still have
			 * to fully load the template.
			 */
			return;
		}

		cryout_before_comments_hook(); ?>
		<ol class="commentlist">
			<?php cryout_comments_hook(); ?>
		</ol>
		<?php cryout_after_comments_hook(); 
	} else { 
		// or, if we don't have comments:
		cryout_nocomments_hook();
	} // end have_comments() 
	
	if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) { ?>  
		<p class="nocomments<?php if (is_page()) echo "2"; ?>"><?php _e("Comments are closed","nirvana");?></p> 
	<?php }
comment_form(); ?>
</div><!-- #comments -->