PluginProbe
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls / 6.5.1
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls v6.5.1
6.5.1 6.5.0 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1 6.4.0 6.3.9 6.3.8 6.3.7 6.3.6 6.3.5 6.3.4 6.3.3 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 All 154 releases
← All changes | admin/partials/poll-maker-ays-polls-actions.php +70 -43 6.4.6 → 6.5.1 View file →
@@ -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
@@ -233,8 +234,9 @@
233 234 'poll_title_font_weight' => "normal",
234 235 'poll_title_font_weight_mobile' => "normal",
235 236 'poll_title_alignment' => "center",
236 237 'poll_title_alignment_mobile' => "center",
238 + 'poll_title_text_transform' => "none",
237 239 'poll_text_type_length_enable' => "off",
238 240 'poll_text_type_limit_type' => "characters",
239 241 'poll_text_type_limit_length' => "",
240 242 'poll_text_type_limit_message' => "off",
@@ -721,8 +723,11 @@
721 723
722 724 // Poll title alignment mobile
723 725 $poll_title_alignment_mobile = ( isset($options['poll_title_alignment_mobile']) && $options['poll_title_alignment_mobile'] != "" ) ? esc_attr($options['poll_title_alignment_mobile']) : $poll_title_alignment;
724 726
727 +// Poll title text transform
728 +$poll_title_text_transform = ( isset($options['poll_title_text_transform']) && $options['poll_title_text_transform'] != "" ) ? esc_attr($options['poll_title_text_transform']) : "none";
729 +
725 730 // Poll view type
726 731 $poll_view_type_for_text = ( isset($poll['view_type']) && $poll['view_type'] == "paragraph" ) ? "paragraph" : "short_text";
727 732
728 733
@@ -2219,8 +2224,30 @@
2219 2224 <option value="right" <?php echo ($poll_title_alignment_mobile == "right") ? "selected" : "";?>><?php echo esc_html__("Right", "poll-maker"); ?></option>
2220 2225 </select>
2221 2226 </div>
2222 2227 </div>
2228 + </div>
2229 + </div>
2230 + <hr>
2231 + <div class="form-group row">
2232 + <div class="col-sm-4">
2233 + <label for='ays_poll_title_text_transform'>
2234 + <?php echo esc_html__('Title text transform', "poll-maker"); ?>
2235 + <a class="ays_help"
2236 + data-toggle="tooltip"
2237 + data-placement="top"
2238 + title="<?php echo esc_html__("Specify the text transformation of the title.", "poll-maker"); ?>">
2239 + <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
2240 + </a>
2241 + </label>
2242 + </div>
2243 + <div class="col-sm-8 ays_divider_left">
2244 + <select class="ays_poll_aysDropdown ays-select-short" id="ays_poll_title_text_transform" name="ays_poll_title_text_transform">
2245 + <option value="none" <?php echo ($poll_title_text_transform == "none") ? "selected" : "";?>><?php echo esc_html__("None", "poll-maker"); ?></option>
2246 + <option value="capitalize" <?php echo ($poll_title_text_transform == "capitalize") ? "selected" : "";?>><?php echo esc_html__("Capitalize", "poll-maker"); ?></option>
2247 + <option value="uppercase" <?php echo ($poll_title_text_transform == "uppercase") ? "selected" : "";?>><?php echo esc_html__("Uppercase", "poll-maker"); ?></option>
2248 + <option value="lowercase" <?php echo ($poll_title_text_transform == "lowercase") ? "selected" : "";?>><?php echo esc_html__("Lowercase", "poll-maker"); ?></option>
2249 + </select>
2223 2250 </div>
2224 2251 </div>
2225 2252 <hr>
2226 2253 <!-- title text shadow start -->