function ks_list_comments($comment, $args, $depth) { global $ks_settings; $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?> <dt><a name="comment-<?php comment_ID(); ?> "><?php if (!ks_option('ks_separate_comments')) { ?> <font size="-1" color="<?php echo $ks_settings['comment_color']; ?> ">[<?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> ]</font><?php } ?> </a> <?php ks_comment_content(); $html = array(); comment_reply_link(array_merge(array('before' => '<div>', 'after' => '</div>', 'reply_before' => '', 'reply_text' => '<img localsrc="149" alt="" />' . __('Reply'), 'login_text' => '<img localsrc="120" alt="" />' . __('Log in to Reply')), $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); }
function ks_list_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?> <li><a name="comment-<?php comment_ID(); ?> "><?php if (!ks_option('ks_separate_comments')) { ?> [<?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> ]<?php } ?> </a> <?php ks_comment_content(); comment_reply_link(array_merge(array('before' => '[ ', 'after' => ' ]', 'reply_before' => '', 'reply_text' => __('Reply'), 'login_text' => __('Log in to Reply')), $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </li><?php }
<p><?php _e("Can't post a comment from mobile phones. You must logged in from PC to make a comment.", 'ktai_style'); ?> </p> <?php } } else { $replytocom = isset($_GET['replytocom']) ? abs(intval($_GET['replytocom'])) : NULL; if ($replytocom) { $comment = get_comment($replytocom); if (!$comment || $comment->comment_approved != 1) { return; } ?> <div><?php ks_comment_content(); ?> </div> <hr /> <h3><?php _e('Reply to the above comment', 'ktai_style'); ?> </h3><?php } global $ks_commentdata; if (isset($ks_commentdata['message']) && $ks_commentdata['message']) { $comment_author = $ks_commentdata['author']; $comment_author_email = $ks_commentdata['email']; $comment_author_url = $ks_commentdata['url']; $comment_content = $ks_commentdata['content']; ?>