0 ) $tab_index_attribute = " tabindex=\"$tab_index\""; $time_adj = time() + (get_option( 'gmt_offset' ) * 3600 ); $post_date = $comment->comment_date; $edit = true; $jj = ($edit) ? mysql2date( 'd', $post_date ) : gmdate( 'd', $time_adj ); $mm = ($edit) ? mysql2date( 'm', $post_date ) : gmdate( 'm', $time_adj ); $aa = ($edit) ? mysql2date( 'Y', $post_date ) : gmdate( 'Y', $time_adj ); $hh = ($edit) ? mysql2date( 'H', $post_date ) : gmdate( 'H', $time_adj ); $mn = ($edit) ? mysql2date( 'i', $post_date ) : gmdate( 'i', $time_adj ); $ss = ($edit) ? mysql2date( 's', $post_date ) : gmdate( 's', $time_adj ); $cur_jj = gmdate( 'd', $time_adj ); $cur_mm = gmdate( 'm', $time_adj ); $cur_aa = gmdate( 'Y', $time_adj ); $cur_hh = gmdate( 'H', $time_adj ); $cur_mn = gmdate( 'i', $time_adj ); $month = "'; $day = ''; $year = ''; $hour = ''; $minute = ''; global $WPrapAjaxEditComments; if ($WPrapAjaxEditComments->adminOptions['use_rtl'] == "true") { printf(_c('%1$s%2$s, %3$s @ %4$s : %5$s|1: minute input ,2: hour input,3: year input,4: day input,5: month input'), $minute, $hour, $year, $day, $month); //printf(_c('%5$s : %4$s @ %3$s ,%2$s%1$s|1: minute input ,2: hour input,3: year input,4: day input,5: month input'), $minute, $hour, $year, $day, $month)); } else { printf(_c('%1$s%2$s, %3$s @ %4$s : %5$s|1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input'), $month, $day, $year, $hour, $minute); } echo ''; } //aec_touch_time header('Content-Type: text/html'); $root = dirname(dirname(dirname(dirname(dirname(__FILE__))))); if (file_exists($root.'/wp-load.php')) { // WP 2.6 require_once($root.'/wp-load.php'); } else { // Before 2.6 require_once($root.'/wp-config.php'); } //Check the nonce if (isset($_GET['c'])) { $result = wp_verify_nonce( $_GET['_wpnonce'],'editcomment_' . (int)$_GET['c']); if (!$result) { die(''); } } else { die(''); }; $commentID = (int)$_GET['c']; $postID = (int)$_GET['p']; $commentAction = $_GET['action']; $commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction))); $localization = $WPrapAjaxEditComments->localizationName; $comment = get_comment($commentID); ?> pluginDir . '/js/jquery-1.3.2.min.js'); wp_enqueue_script("wp-ajax-response"); wp_enqueue_script("wp_ajax_tabs_custom", $WPrapAjaxEditComments->pluginDir . '/js/jquery-ui.js'); wp_enqueue_script('wp_ajax_comment_editor', $WPrapAjaxEditComments->pluginDir . '/js/comment-editor.js', array("jquery", "wp-ajax-response", "wp_ajax_tabs_custom") , 2.3); wp_localize_script( 'wp_ajax_comment_editor', 'wpajaxeditcommentedit', $WPrapAjaxEditComments->get_js_vars()); wp_print_scripts(array('wp_ajax_comment_editor')); ?> adminOptions['editor_style_url'])) { if ($WPrapAjaxEditComments->adminOptions['use_rtl'] == "true") { echo ''; } else { echo ''; } } else { echo ''; } echo ''; do_action('add_wp_ajax_comments_css_editor'); ?> WP Ajax Edit Comments Comment Editor
admin && $WPrapAjaxEditComments->adminOptions['show_advanced'] == "true") : ?>
can_edit_options($commentID, $postID)): $showicons = $WPrapAjaxEditComments->adminOptions['allow_icons']; $showoptions = $WPrapAjaxEditComments->adminOptions['show_options']; if ($showoptions == "true") : ?>

+

can_edit_name($commentID, $postID)): ?> can_edit_email($commentID, $postID)): ?> can_edit_url($commentID, $postID)): ?>
:
:
:
admin && $WPrapAjaxEditComments->adminOptions['show_advanced'] == "true") : ?>
adminOptions['use_rtl'] == "true") { $datef = _c( 'i:G @ Y , j M|Publish box date format'); $stamp = __('%1$s :on Submitted', $localization); } else { $datef = _c( 'M j, Y @ G:i|Publish box date format'); $stamp = __('Submitted on: %1$s', $localization); } $date = date_i18n( $datef, strtotime( $comment->comment_date)); ?>


adminOptions['use_rtl'] == "true") { ?>



 -