adminOptionsName)) { die(''); }
global $wpdb,$user_email;
$WPAjaxEditComments = $this->get_admin_options(); //global settings
$author_options = $this->get_user_options(); //user settings
//Check to see if a user can access the panel
if ( function_exists('current_user_can') && !current_user_can('manage_options') )
die("nope");
//Delete security keys
if (isset($_POST['wpAJAXSecurityKeys'])) {
if ($_POST['wpAJAXSecurityKeys'] == "true") {
check_admin_referer('wp-ajax-edit-comments_admin-options');
$query = "delete from $wpdb->postmeta where left(meta_value, 6) = 'wpAjax'";
@$wpdb->query($query);
$query = "delete from $wpdb->posts where post_type = 'ajax_edit_comments'";
@$wpdb->query($query);
?>
localizationName) ?>
localizationName);
$error = true;
} elseif($_POST['wpAJAXCommentTime'] < 1) {
$commentTimeErrorMessage = __("Comment time must be greater than one minute.",$this->localizationName);
$error = true;
} else {
$WPAjaxEditComments['minutes'] = $_POST['wpAJAXCommentTime'];
$updated = true;
}
if (!empty($commentTimeErrorMessage)) {
?>
localizationName);?>
auth_key_check($authkey);
if ($result['is_valid_key'] == 0 || $result['is_valid_site'] == 0) {
if ($result['is_valid_key'] == 0) {
?>
localizationName);?>
localizationName);?>
localizationName);?>
affiliate_id_check($affiliate_id);
if ($result['is_valid_id'] == 0) {?>
localizationName);?>