post_status, array('draft', 'pending') ) && (!$post->post_date_gmt || '0000-00-00 00:00:00' == $post->post_date_gmt ) ); $tab_index_attribute = ''; if ( (int) $tab_index > 0 ) $tab_index_attribute = " tabindex=\"$tab_index\""; // echo '
'; $time_adj = current_time('timestamp'); $post_date = ($for_post) ? $post->post_date : $comment->comment_date; $jj = ($edit) ? mysql2date( 'd', $post_date, false ) : gmdate( 'd', $time_adj ); $mm = ($edit) ? mysql2date( 'm', $post_date, false ) : gmdate( 'm', $time_adj ); $aa = ($edit) ? mysql2date( 'Y', $post_date, false ) : gmdate( 'Y', $time_adj ); $hh = ($edit) ? mysql2date( 'H', $post_date, false ) : gmdate( 'H', $time_adj ); $mn = ($edit) ? mysql2date( 'i', $post_date, false ) : gmdate( 'i', $time_adj ); $ss = ($edit) ? mysql2date( 's', $post_date, false ) : 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 = ''; echo '
'; /* translators: 1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input */ printf(__('%1$s%2$s, %3$s @ %4$s : %5$s', 'ajaxEdit' ), $month, $day, $year, $hour, $minute); echo '
'; if ( $multi ) return; echo "\n\n"; foreach ( array('mm', 'jj', 'aa', 'hh', 'mn') as $timeunit ) { echo '' . "\n"; $cur_timeunit = 'cur_' . $timeunit; echo '' . "\n"; } } //aec_touch_time global $aecomments; if (!isset($aecomments)) { //for wp-load.php die( 'Access Denied' ); } //Check the nonce check_admin_referer('editcomment_' . (int)$_GET['cid']); $commentID = (int)$_GET['cid']; $postID = (int)$_GET['pid']; $commentAction = $_GET['action']; $commentAction = addslashes(preg_replace("/[^a-z0-9]/i", '', strip_tags($commentAction))); $comment = get_comment($commentID); $min = ''; if ($aecomments->get_admin_option( 'compressed_scripts' ) == 'true') { $min = ".min"; } ?> WP Ajax Edit Comments Comment Editor
:
:
:
%1$s'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); ?>


get_admin_option( 'use_rtl' ) == "true") { ?>





" />
" />
 -