'

' . __('This post is password protected. Enter the password to view any comments.', THEME_NS) . '

')); return; } if (have_comments()){ ob_start(); printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), THEME_NS ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' ); art_post_wrapper(array('content'=>'

' .ob_get_clean() . '

')); $prev_link = get_previous_comments_link(__('Newer Comments ', THEME_NS)); $next_link = get_next_comments_link(__(' Older Comments', THEME_NS)); art_page_navigation(array('prev_link' => $prev_link, 'next_link' => $next_link)); echo ''; art_page_navigation(array('prev_link' => $prev_link, 'next_link' => $next_link)); } elseif('open' != $post->comment_status && !is_page()) { art_post_wrapper(array('content' => '

' . __('Comments are closed.', THEME_NS) .'

')); } if (function_exists('comment_form')){ ob_start(); $args = array(); if(art_get_option('art_comment_use_smilies')) { function art_comment_form_field_comment($form_field){ art_include_lib('smiley.php'); return art_get_smilies_js() . '

' . art_get_smilies() . '

' . $form_field; } add_filter('comment_form_field_comment', 'art_comment_form_field_comment'); } comment_form(); art_post_wrapper(array('content' => str_replace(array(' id="respond"', 'type="submit"'), array('', 'class="art-button" type="submit"'), ob_get_clean()), 'id' => 'respond')); return; } if ('open' == $post->comment_status) { ob_start(); ?>

logged in to post a comment.', THEME_NS), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?>

%2$s. Log out?', THEME_NS), admin_url( 'profile.php' ), $user_identity, wp_logout_url(get_permalink())); ?>

ID); ?>
ob_get_clean(), 'id' => 'respond')); }