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 = ''; 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'); $commentID = (int)$_GET['c']; $postID = (int)$_GET['p']; $commentAction = $_GET['action']; $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'); } $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 ($locale == "ar") { echo ''; } else { echo ''; } } else { echo ''; } echo ''; do_action('add_wp_ajax_comments_css_editor'); ?>| : | |
| : | |
| : |