if ( ( comments_open() || get_comments_number() ) && !post_password_required() ) { ?>
function baxel_setCommentItem( $comment, $args, $depth ) {
$GLOBALS['comment'] = $comment; ?>
id="comment-">
comment_approved ) { echo '' . esc_attr( baxel_translation( '_Awaiting' ) ) . ''; } ?>
comment_text();
if ( $depth < 3 ) { comment_reply_link( array_merge( $args, array( 'reply_text' => esc_attr( baxel_translation( '_Reply' ) ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ), $comment->comment_ID); }
if ( user_can( wp_get_current_user(), 'administrator' ) ) { edit_comment_link( esc_attr( baxel_translation( '_Edit' ) ) ); }
?>
wp_list_comments( array(
'avatar_size' => 40,
'max_depth' => 3,
'style' => 'ul',
'callback' => 'baxel_setCommentItem',
'type' => 'all'
) );
?>
1 && get_option( 'page_comments' ) ) { ?>
$req = get_option( 'require_name_email' );
$aria_req = ( $req ? " aria-required='true'" : '' );
$fields = array (
'author' => '',
'email' => '',
);
$comment_field = '';
$must_log_in = sprintf( '' . esc_attr( baxel_translation( '_MustBeLogged' ) ) . '.', wp_login_url( apply_filters( 'the_permalink', get_permalink() ) ) );
$logged_in_as = '
' . sprintf( esc_attr( baxel_translation( '_Logged' ) ) . ': %2$s - ' . esc_attr( baxel_translation( '_LogOut' ) ) . '', get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink() ) ) ) . '
';$cancel_reply = esc_attr( baxel_translation( '_CancelReply' ) );
comment_form( array(
'fields' => $fields,
'comment_field' => $comment_field,
'comment_notes_after' => '',
'comment_notes_before' => '',
'title_reply_before' => '
',
','title_reply_after' => '
'title_reply' => esc_attr( baxel_translation( '_LeaveReply' ) ),
'title_reply_to' => esc_attr( baxel_translation( '_LeaveReply' ) ),
'cancel_reply_link' => $cancel_reply,
'label_submit' => esc_attr( baxel_translation( '_PostComment' ) ),
'must_log_in' => $must_log_in,
'logged_in_as' => $logged_in_as
) );
?>