| @@ -68,51 +68,52 @@ | ||
| 68 | 68 | |
| 69 | 69 | $poll_category_page_url = admin_url( 'admin.php?page=poll-maker-ays-cats' ); |
| 70 | 70 | |
| 71 | 71 | $poll_message_vars = array( |
| 72 | - '%%user_name%%' =>esc_html__("User Name", "poll-maker"), | |
| 73 | - '%%user_email%%' =>esc_html__("User Email", "poll-maker"), | |
| 74 | - '%%user_phone%%' =>esc_html__("User Phone", "poll-maker"), | |
| 75 | - '%%poll_title%%' =>esc_html__("Poll title", "poll-maker"), | |
| 76 | - '%%poll_id%%' =>esc_html__("Poll ID", "poll-maker"), | |
| 77 | - '%%users_first_name%%' =>esc_html__("User's First Name", "poll-maker"), | |
| 78 | - '%%users_last_name%%' =>esc_html__("User's Last Name", "poll-maker"), | |
| 79 | - '%%creation_date%%' =>esc_html__("Creation date of the poll", "poll-maker"), | |
| 80 | - '%%current_date%%' =>esc_html__("Current Date", "poll-maker"), | |
| 81 | - '%%current_time%%' =>esc_html__("Current Time", "poll-maker"), | |
| 82 | - '%%current_day%%' =>esc_html__("Current Day", "poll-maker"), | |
| 83 | - '%%current_month%%' =>esc_html__("Current Month", "poll-maker"), | |
| 84 | - '%%current_poll_author%%' =>esc_html__("Author of the current poll", "poll-maker"), | |
| 85 | - '%%current_poll_author_email%%' =>esc_html__("Author's Email of the current poll", "poll-maker"), | |
| 86 | - '%%current_poll_author_nickname%%' =>esc_html__("Author's Nick Name of the current poll", "poll-maker"), | |
| 87 | - '%%current_poll_author_display_name%%' =>esc_html__("Author's Display Name of the current poll", "poll-maker"), | |
| 88 | - '%%current_poll_author_website_url%%' =>esc_html__("Author's Website URl of the current poll", "poll-maker"), | |
| 89 | - '%%current_poll_author_registered%%' =>esc_html__("Author's Registered Date of the current poll", "poll-maker"), | |
| 90 | - '%%admin_email%%' =>esc_html__("Admin Email", "poll-maker"), | |
| 91 | - '%%user_wordpress_roles%%' =>esc_html__("User's Wordpress Roles", "poll-maker"), | |
| 92 | - "%%user_wordpress_email%%" =>esc_html__("User's WordPress profile email", "poll-maker"), | |
| 93 | - '%%user_wordpress_website%%' =>esc_html__("User's Wordpress Website", "poll-maker"), | |
| 94 | - '%%user_first_name%%' =>esc_html__("User's First Name", "poll-maker"), | |
| 95 | - '%%user_display_name%%' =>esc_html__("User's Display Name", "poll-maker"), | |
| 96 | - '%%user_nickname%%' =>esc_html__("User's Nick Name", "poll-maker"), | |
| 97 | - '%%user_ip_address%%' =>esc_html__("User's IP address", "poll-maker"), | |
| 98 | - '%%user_id%%' =>esc_html__("User's ID", "poll-maker"), | |
| 99 | - '%%user_registered%%' =>esc_html__("User's Registered Date", "poll-maker"), | |
| 100 | - '%%poll_pass_count%%' =>esc_html__("Polls pass count", "poll-maker"), | |
| 101 | - '%%passed_poll_count_per_user%%' =>esc_html__("Passed polls count per user", "poll-maker"), | |
| 102 | - '%%current_poll_page_link%%' =>esc_html__("Current polls posted link", "poll-maker"), | |
| 103 | - '%%post_title%%' =>esc_html__("Post Title", "poll-maker"), | |
| 104 | - '%%post_author_email%%' =>esc_html__("Post Author Email", "poll-maker"), | |
| 105 | - '%%post_author_display_name%%' =>esc_html__("Post Author Display Name", "poll-maker"), | |
| 106 | - '%%post_author_first_name%%' =>esc_html__("Post Author First Name", "poll-maker"), | |
| 107 | - '%%post_author_last_name%%' =>esc_html__("Post Author Last Name", "poll-maker"), | |
| 108 | - '%%post_author_nickname%%' =>esc_html__("Post Author Nickname", "poll-maker"), | |
| 109 | - '%%post_author_website_url%%' =>esc_html__("Post Author Website URL", "poll-maker"), | |
| 110 | - '%%post_author_roles%%' =>esc_html__("Post Author Roles", "poll-maker"), | |
| 111 | - '%%post_id%%' =>esc_html__("Post ID", "poll-maker"), | |
| 112 | - '%%site_title%%' =>esc_html__("Site Title", "poll-maker"), | |
| 113 | - '%%site_description%%' =>esc_html__("Site Description", "poll-maker"), | |
| 114 | - '%%home_page_url%%' =>esc_html__("Home Page", "poll-maker"), | |
| 72 | + '%%user_name%%' =>esc_html__("User Name", "poll-maker"), | |
| 73 | + '%%user_email%%' =>esc_html__("User Email", "poll-maker"), | |
| 74 | + '%%user_phone%%' =>esc_html__("User Phone", "poll-maker"), | |
| 75 | + '%%poll_title%%' =>esc_html__("Poll title", "poll-maker"), | |
| 76 | + '%%poll_category_title%%' =>esc_html__("Poll category title", "poll-maker"), | |
| 77 | + '%%poll_id%%' =>esc_html__("Poll ID", "poll-maker"), | |
| 78 | + '%%users_first_name%%' =>esc_html__("User's First Name", "poll-maker"), | |
| 79 | + '%%users_last_name%%' =>esc_html__("User's Last Name", "poll-maker"), | |
| 80 | + '%%creation_date%%' =>esc_html__("Creation date of the poll", "poll-maker"), | |
| 81 | + '%%current_date%%' =>esc_html__("Current Date", "poll-maker"), | |
| 82 | + '%%current_time%%' =>esc_html__("Current Time", "poll-maker"), | |
| 83 | + '%%current_day%%' =>esc_html__("Current Day", "poll-maker"), | |
| 84 | + '%%current_month%%' =>esc_html__("Current Month", "poll-maker"), | |
| 85 | + '%%current_poll_author%%' =>esc_html__("Author of the current poll", "poll-maker"), | |
| 86 | + '%%current_poll_author_email%%' =>esc_html__("Author's Email of the current poll", "poll-maker"), | |
| 87 | + '%%current_poll_author_nickname%%' =>esc_html__("Author's Nick Name of the current poll", "poll-maker"), | |
| 88 | + '%%current_poll_author_display_name%%' =>esc_html__("Author's Display Name of the current poll", "poll-maker"), | |
| 89 | + '%%current_poll_author_website_url%%' =>esc_html__("Author's Website URl of the current poll", "poll-maker"), | |
| 90 | + '%%current_poll_author_registered%%' =>esc_html__("Author's Registered Date of the current poll", "poll-maker"), | |
| 91 | + '%%admin_email%%' =>esc_html__("Admin Email", "poll-maker"), | |
| 92 | + '%%user_wordpress_roles%%' =>esc_html__("User's Wordpress Roles", "poll-maker"), | |
| 93 | + "%%user_wordpress_email%%" =>esc_html__("User's WordPress profile email", "poll-maker"), | |
| 94 | + '%%user_wordpress_website%%' =>esc_html__("User's Wordpress Website", "poll-maker"), | |
| 95 | + '%%user_first_name%%' =>esc_html__("User's First Name", "poll-maker"), | |
| 96 | + '%%user_display_name%%' =>esc_html__("User's Display Name", "poll-maker"), | |
| 97 | + '%%user_nickname%%' =>esc_html__("User's Nick Name", "poll-maker"), | |
| 98 | + '%%user_ip_address%%' =>esc_html__("User's IP address", "poll-maker"), | |
| 99 | + '%%user_id%%' =>esc_html__("User's ID", "poll-maker"), | |
| 100 | + '%%user_registered%%' =>esc_html__("User's Registered Date", "poll-maker"), | |
| 101 | + '%%poll_pass_count%%' =>esc_html__("Polls pass count", "poll-maker"), | |
| 102 | + '%%passed_poll_count_per_user%%' =>esc_html__("Passed polls count per user", "poll-maker"), | |
| 103 | + '%%current_poll_page_link%%' =>esc_html__("Current polls posted link", "poll-maker"), | |
| 104 | + '%%post_title%%' =>esc_html__("Post Title", "poll-maker"), | |
| 105 | + '%%post_author_email%%' =>esc_html__("Post Author Email", "poll-maker"), | |
| 106 | + '%%post_author_display_name%%' =>esc_html__("Post Author Display Name", "poll-maker"), | |
| 107 | + '%%post_author_first_name%%' =>esc_html__("Post Author First Name", "poll-maker"), | |
| 108 | + '%%post_author_last_name%%' =>esc_html__("Post Author Last Name", "poll-maker"), | |
| 109 | + '%%post_author_nickname%%' =>esc_html__("Post Author Nickname", "poll-maker"), | |
| 110 | + '%%post_author_website_url%%' =>esc_html__("Post Author Website URL", "poll-maker"), | |
| 111 | + '%%post_author_roles%%' =>esc_html__("Post Author Roles", "poll-maker"), | |
| 112 | + '%%post_id%%' =>esc_html__("Post ID", "poll-maker"), | |
| 113 | + '%%site_title%%' =>esc_html__("Site Title", "poll-maker"), | |
| 114 | + '%%site_description%%' =>esc_html__("Site Description", "poll-maker"), | |
| 115 | + '%%home_page_url%%' =>esc_html__("Home Page", "poll-maker"), | |
| 115 | 116 | ); |
| 116 | 117 | |
| 117 | 118 | $poll_message_vars_html = $this->ays_poll_generate_message_vars_html( $poll_message_vars ); |
| 118 | 119 | |