echo esc_html($comment_content); ?> </textarea><br /> <?php ks_inline_error_submit(__('Say It!')); if (function_exists('comment_id_fields')) { comment_id_fields(); } else { ?> <input type="hidden" name="comment_post_ID" value="<?php echo intval($id); ?> " /> <?php } ks_do_comment_form_action(); ?> </p></form> <?php if (ks_is_required_term_id()) { ?> <div><?php _e('NOTE: If submit comments, your terminal ID will be sent.', 'ktai_style'); ?> </div> <?php } if (!is_user_logged_in() && ks_cookie_available()) { ?> <div><?php _e('NOTE: Your name, e-mail and URL will be stored o your phone. (If cookie is ON)', 'ktai_style');
private function show_form($errors = array()) { global $user_ID, $title, $comment, $id; $comment = intval($_GET['replytocom']); if (!($comment = get_comment($comment))) { $this->base->ks_die(__('Oops, no comment with this ID.')); } $title = __('Comment Reply', 'ktai_style'); include dirname(__FILE__) . '/admin-header.php'; $id = $comment->comment_post_ID; echo '<h2>' . sprintf(__('Comments for %s', 'ktai_style'), get_the_title($id)) . '</h2>'; ?> <img localsrc="<?php comment_type(68, 112, 112); ?> " alt="" /><?php ks_comment_author_link(); ?> <img localsrc="46" alt=" @ " /><font color="<?php echo ks_option('ks_date_color'); ?> "><?php ks_comment_datetime(); ?> </font><br /> <?php comment_text(); ?> <hr /> <h3><?php _e('Reply to the above comment', 'ktai_style'); ?> </h3> <?php if ($errors) { ?> <p><font color="red"><?php echo implode('<br />', array_map('wp_specialchars', $errors)); ?> </font></p> <?php } ?> <form action="" method="post"> <input type="hidden" name="action" value="post" /> <input type="hidden" name="redirect_to" value="<?php echo esc_attr($this->admin->get_referer()); ?> " /> <?php $this->admin->sid_field(); ks_fix_encoding_form(); ?> <p><?php _e('Comment', 'ktai_style'); if (ks_option('ks_allow_pictograms')) { _e('(Pictograms Available)', 'ktai_style'); } ?> <br /> <textarea name="content" cols="100%" rows="4"></textarea><br /> <a href="<?php echo esc_attr($this->admin->get_referer()); ?> "><?php _e('Cancel reply', 'ktai_style'); ?> </a><br /> <input type="submit" name="submit" value="<?php _e('Say It!'); ?> " /> <?php if (function_exists('comment_id_fields')) { comment_id_fields($id); } else { ?> <input type="hidden" name="comment_post_ID" value="<?php echo intval($id); ?> " /> <?php } ks_do_comment_form_action(); ?> </p></form> <?php include dirname(__FILE__) . '/admin-footer.php'; }