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 +180 -102 6.4.0 → 6.5.1 View file →
@@ -68,50 +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 - '%%admin_email%%' =>esc_html__("Admin Email", "poll-maker"),
90 - '%%user_wordpress_roles%%' =>esc_html__("User's Wordpress Roles", "poll-maker"),
91 - "%%user_wordpress_email%%" =>esc_html__("User's WordPress profile email", "poll-maker"),
92 - '%%user_wordpress_website%%' =>esc_html__("User's Wordpress Website", "poll-maker"),
93 - '%%user_first_name%%' =>esc_html__("User's First Name", "poll-maker"),
94 - '%%user_display_name%%' =>esc_html__("User's Display Name", "poll-maker"),
95 - '%%user_nickname%%' =>esc_html__("User's Nick Name", "poll-maker"),
96 - '%%user_ip_address%%' =>esc_html__("User's IP address", "poll-maker"),
97 - '%%user_id%%' =>esc_html__("User's ID", "poll-maker"),
98 - '%%user_registered%%' =>esc_html__("User's Registered Date", "poll-maker"),
99 - '%%poll_pass_count%%' =>esc_html__("Polls pass count", "poll-maker"),
100 - '%%passed_poll_count_per_user%%' =>esc_html__("Passed polls count per user", "poll-maker"),
101 - '%%current_poll_page_link%%' =>esc_html__("Current polls posted link", "poll-maker"),
102 - '%%post_title%%' =>esc_html__("Post Title", "poll-maker"),
103 - '%%post_author_email%%' =>esc_html__("Post Author Email", "poll-maker"),
104 - '%%post_author_display_name%%' =>esc_html__("Post Author Display Name", "poll-maker"),
105 - '%%post_author_first_name%%' =>esc_html__("Post Author First Name", "poll-maker"),
106 - '%%post_author_last_name%%' =>esc_html__("Post Author Last Name", "poll-maker"),
107 - '%%post_author_nickname%%' =>esc_html__("Post Author Nickname", "poll-maker"),
108 - '%%post_author_website_url%%' =>esc_html__("Post Author Website URL", "poll-maker"),
109 - '%%post_author_roles%%' =>esc_html__("Post Author Roles", "poll-maker"),
110 - '%%post_id%%' =>esc_html__("Post ID", "poll-maker"),
111 - '%%site_title%%' =>esc_html__("Site Title", "poll-maker"),
112 - '%%site_description%%' =>esc_html__("Site Description", "poll-maker"),
113 - '%%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"),
114 116 );
115 117
116 118 $poll_message_vars_html = $this->ays_poll_generate_message_vars_html( $poll_message_vars );
117 119
@@ -228,10 +230,13 @@
228 230 'poll_question_size_mobile' => 16,
229 231 'poll_question_image_object_fit' => "cover",
230 232 'poll_title_font_size' => 20,
231 233 'poll_title_font_size_mobile' => 20,
234 + 'poll_title_font_weight' => "normal",
235 + 'poll_title_font_weight_mobile' => "normal",
232 236 'poll_title_alignment' => "center",
233 237 'poll_title_alignment_mobile' => "center",
238 + 'poll_title_text_transform' => "none",
234 239 'poll_text_type_length_enable' => "off",
235 240 'poll_text_type_limit_type' => "characters",
236 241 'poll_text_type_limit_length' => "",
237 242 'poll_text_type_limit_message' => "off",
@@ -706,8 +711,14 @@
706 711
707 712 // Poll title font size for mobile
708 713 $poll_title_font_size_mobile = (isset($options['poll_title_font_size_mobile']) && $options['poll_title_font_size_mobile'] != "") ? absint(intval(esc_attr($options['poll_title_font_size_mobile']))) : "20";
709 714
715 +// Poll title font weight
716 +$poll_title_font_weight = (isset($options['poll_title_font_weight']) && $options['poll_title_font_weight'] != "") ? esc_attr($options['poll_title_font_weight']) : "normal";
717 +
718 +// Poll title font weight mobile
719 +$poll_title_font_weight_mobile = (isset($options['poll_title_font_weight_mobile']) && $options['poll_title_font_weight_mobile'] != "") ? esc_attr($options['poll_title_font_weight_mobile']) : $poll_title_font_weight;
720 +
710 721 // Poll title alignment
711 722 $poll_title_alignment = ( isset($options['poll_title_alignment']) && $options['poll_title_alignment'] != "" ) ? esc_attr($options['poll_title_alignment']) : "center";
712 723
713 724 // Poll title alignment mobile
@@ -712,8 +723,11 @@
712 723
713 724 // Poll title alignment mobile
714 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;
715 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 +
716 730 // Poll view type
717 731 $poll_view_type_for_text = ( isset($poll['view_type']) && $poll['view_type'] == "paragraph" ) ? "paragraph" : "short_text";
718 732
719 733
@@ -819,8 +833,9 @@
819 833 $twitter_link = isset($social_links['twitter_link']) && $social_links['twitter_link'] != '' ? $social_links['twitter_link'] : '';
820 834 $vkontakte_link = isset($social_links['vkontakte_link']) && $social_links['vkontakte_link'] != '' ? $social_links['vkontakte_link'] : '';
821 835 $youtube_link = isset($social_links['youtube_link']) && $social_links['youtube_link'] != '' ? $social_links['youtube_link'] : '';
822 836 $tiktok_link = isset($social_links['tiktok_link']) && $social_links['tiktok_link'] != '' ? $social_links['tiktok_link'] : '';
837 +$instagram_link = isset($social_links['instagram_link']) && $social_links['instagram_link'] != '' ? $social_links['instagram_link'] : '';
823 838 $poll_social_links_heading = ( isset( $options[ 'poll_social_links_heading' ] ) && $options[ 'poll_social_links_heading' ] != '' ) ? stripslashes( wpautop( $options[ 'poll_social_links_heading' ] ) ) : '';
824 839
825 840 $show_chart_type = (isset($options['show_chart_type']) && $options['show_chart_type'] != "") ? $options['show_chart_type'] : 'google_bar_chart';
826 841 $show_chart_type_google_height = (isset($options['show_chart_type_google_height']) && $options['show_chart_type_google_height'] != "") ? $options['show_chart_type_google_height'] : 400;
@@ -2094,8 +2109,77 @@
2094 2109 </div>
2095 2110 <hr>
2096 2111 <div class="form-group row">
2097 2112 <div class="col-sm-4">
2113 + <label for='ays_poll_title_font_weight'>
2114 + <?php echo esc_html__('Title font weight', "poll-maker"); ?>
2115 + <a class="ays_help"
2116 + data-toggle="tooltip"
2117 + data-placement="top"
2118 + title="<?php echo esc_html__("Specify the font weight of the title.", "poll-maker"); ?>">
2119 + <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
2120 + </a>
2121 + </label>
2122 + </div>
2123 + <div class="col-sm-8 ays_divider_left">
2124 + <div>
2125 + <div>
2126 + <label for='ays_poll_title_font_weight'>
2127 + <?php echo esc_html__('On desktop', "poll-maker"); ?>
2128 + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Define the font weight for PC devices.', "poll-maker")?>">
2129 + <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
2130 + </a>
2131 + </label>
2132 + </div>
2133 + <div>
2134 + <select class="ays_poll_aysDropdown ays-select-short" id="ays_poll_title_font_weight" name="ays_poll_title_font_weight">
2135 + <option value="normal" <?php echo ($poll_title_font_weight == "normal") ? "selected" : "";?>><?php echo esc_html__("Normal", "poll-maker"); ?></option>
2136 + <option value="bold" <?php echo ($poll_title_font_weight == "bold") ? "selected" : "";?>><?php echo esc_html__("Bold", "poll-maker"); ?></option>
2137 + <option value="bolder" <?php echo ($poll_title_font_weight == "bolder") ? "selected" : "";?>><?php echo esc_html__("Bolder", "poll-maker"); ?></option>
2138 + <option value="100" <?php echo ($poll_title_font_weight == "100") ? "selected" : "";?>><?php echo esc_html__("100", "poll-maker"); ?></option>
2139 + <option value="200" <?php echo ($poll_title_font_weight == "200") ? "selected" : "";?>><?php echo esc_html__("200", "poll-maker"); ?></option>
2140 + <option value="300" <?php echo ($poll_title_font_weight == "300") ? "selected" : "";?>><?php echo esc_html__("300", "poll-maker"); ?></option>
2141 + <option value="400" <?php echo ($poll_title_font_weight == "400") ? "selected" : "";?>><?php echo esc_html__("400", "poll-maker"); ?></option>
2142 + <option value="500" <?php echo ($poll_title_font_weight == "500") ? "selected" : "";?>><?php echo esc_html__("500", "poll-maker"); ?></option>
2143 + <option value="600" <?php echo ($poll_title_font_weight == "600") ? "selected" : "";?>><?php echo esc_html__("600", "poll-maker"); ?></option>
2144 + <option value="700" <?php echo ($poll_title_font_weight == "700") ? "selected" : "";?>><?php echo esc_html__("700", "poll-maker"); ?></option>
2145 + <option value="800" <?php echo ($poll_title_font_weight == "800") ? "selected" : "";?>><?php echo esc_html__("800", "poll-maker"); ?></option>
2146 + <option value="900" <?php echo ($poll_title_font_weight == "900") ? "selected" : "";?>><?php echo esc_html__("900", "poll-maker"); ?></option>
2147 + </select>
2148 + </div>
2149 + </div>
2150 + <hr>
2151 + <div>
2152 + <div>
2153 + <label for='ays_poll_title_font_weight_mobile'>
2154 + <?php echo esc_html__('On mobile', "poll-maker"); ?>
2155 + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Define the font weight for mobile devices.', "poll-maker")?>">
2156 + <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
2157 + </a>
2158 + </label>
2159 + </div>
2160 + <div>
2161 + <select class="ays_poll_aysDropdown ays-select-short" id="ays_poll_title_font_weight_mobile" name="ays_poll_title_font_weight_mobile">
2162 + <option value="normal" <?php echo ($poll_title_font_weight_mobile == "normal") ? "selected" : "";?>><?php echo esc_html__("Normal", "poll-maker"); ?></option>
2163 + <option value="bold" <?php echo ($poll_title_font_weight_mobile == "bold") ? "selected" : "";?>><?php echo esc_html__("Bold", "poll-maker"); ?></option>
2164 + <option value="bolder" <?php echo ($poll_title_font_weight_mobile == "bolder") ? "selected" : "";?>><?php echo esc_html__("Bolder", "poll-maker"); ?></option>
2165 + <option value="100" <?php echo ($poll_title_font_weight_mobile == "100") ? "selected" : "";?>><?php echo esc_html__("100", "poll-maker"); ?></option>
2166 + <option value="200" <?php echo ($poll_title_font_weight_mobile == "200") ? "selected" : "";?>><?php echo esc_html__("200", "poll-maker"); ?></option>
2167 + <option value="300" <?php echo ($poll_title_font_weight_mobile == "300") ? "selected" : "";?>><?php echo esc_html__("300", "poll-maker"); ?></option>
2168 + <option value="400" <?php echo ($poll_title_font_weight_mobile == "400") ? "selected" : "";?>><?php echo esc_html__("400", "poll-maker"); ?></option>
2169 + <option value="500" <?php echo ($poll_title_font_weight_mobile == "500") ? "selected" : "";?>><?php echo esc_html__("500", "poll-maker"); ?></option>
2170 + <option value="600" <?php echo ($poll_title_font_weight_mobile == "600") ? "selected" : "";?>><?php echo esc_html__("600", "poll-maker"); ?></option>
2171 + <option value="700" <?php echo ($poll_title_font_weight_mobile == "700") ? "selected" : "";?>><?php echo esc_html__("700", "poll-maker"); ?></option>
2172 + <option value="800" <?php echo ($poll_title_font_weight_mobile == "800") ? "selected" : "";?>><?php echo esc_html__("800", "poll-maker"); ?></option>
2173 + <option value="900" <?php echo ($poll_title_font_weight_mobile == "900") ? "selected" : "";?>><?php echo esc_html__("900", "poll-maker"); ?></option>
2174 + </select>
2175 + </div>
2176 + </div>
2177 + </div>
2178 + </div>
2179 + <hr>
2180 + <div class="form-group row">
2181 + <div class="col-sm-4">
2098 2182 <label for='ays_poll_title_alignment'>
2099 2183 <?php echo esc_html__('Title alignment', "poll-maker"); ?>
2100 2184 <a class="ays_help"
2101 2185 data-toggle="tooltip"
@@ -2143,8 +2227,30 @@
2143 2227 </div>
2144 2228 </div>
2145 2229 </div>
2146 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>
2250 + </div>
2251 + </div>
2252 + <hr>
2147 2253 <!-- title text shadow start -->
2148 2254 <div class="form-group row">
2149 2255 <div class="col-sm-4">
2150 2256 <label for="ays_poll_enable_title_text_shadow">
@@ -6186,35 +6292,9 @@
6186 6292 </a>
6187 6293 </label>
6188 6294 </div>
6189 6295 <?php
6190 - $allowed_tags = array(
6191 - 'div' => array(
6192 - 'class' => true
6193 - ),
6194 - 'i' => array(
6195 - 'class' => true
6196 - ),
6197 - 'span' => array(),
6198 - 'a' => array(
6199 - 'class' => true,
6200 - 'data-toggle' => true,
6201 - 'data-html' => true,
6202 - 'title' => true
6203 - ),
6204 - 'label' => array(
6205 - 'class' => true
6206 - ),
6207 - 'input' => array(
6208 - 'type' => true,
6209 - 'class' => true,
6210 - 'hidden' => true,
6211 - 'id' => true,
6212 - 'name' => true,
6213 - 'value' => true
6214 - )
6215 - );
6216 - echo wp_kses($poll_message_vars_html, $allowed_tags);
6296 + echo $poll_message_vars_html;
6217 6297 $content = !empty($options['hide_results_text']) ? stripslashes($options['hide_results_text']) : stripslashes($default_options['hide_results_text']);
6218 6298 $editor_id = 'ays-poll-hide-results-text';
6219 6299 $settings = array(
6220 6300 'editor_height' => $poll_wp_editor_height,
@@ -6252,35 +6332,10 @@
6252 6332 </div>
6253 6333 <div class="col-sm-12 if_poll_hide_result_message ays_toggle_target" style="margin-top: 15px; <?php echo isset($options['hide_result_message']) && $options['hide_result_message'] ? '' : 'display:none;'; ?>">
6254 6334 <?php
6255 6335 $res_def_message = isset($poll['type']) && $poll['type'] == 'text' ? '<p style="text-align: center;">'.esc_html__("Thank you!", "poll-maker") .'</p>' : '';
6256 - $allowed_tags = array(
6257 - 'div' => array(
6258 - 'class' => true
6259 - ),
6260 - 'i' => array(
6261 - 'class' => true
6262 - ),
6263 - 'span' => array(),
6264 - 'a' => array(
6265 - 'class' => true,
6266 - 'data-toggle' => true,
6267 - 'data-html' => true,
6268 - 'title' => true
6269 - ),
6270 - 'label' => array(
6271 - 'class' => true
6272 - ),
6273 - 'input' => array(
6274 - 'type' => true,
6275 - 'class' => true,
6276 - 'hidden' => true,
6277 - 'id' => true,
6278 - 'name' => true,
6279 - 'value' => true
6280 - )
6281 - );
6282 - echo wp_kses($poll_message_vars_html, $allowed_tags);
6336 +
6337 + echo $poll_message_vars_html;
6283 6338 $content = wpautop(stripslashes((isset($options['result_message'])) ? $options['result_message'] : $res_def_message));
6284 6339 $editor_id = 'ays_result_message';
6285 6340 $settings = array('editor_height' => $poll_wp_editor_height, 'textarea_name' => 'ays_result_message', 'editor_class' => 'ays-textarea', 'media_elements' => false);
6286 6341 wp_editor($content, $editor_id, $settings);
@@ -6809,9 +6864,12 @@
6809 6864 <hr/>
6810 6865 <div class="form-group row">
6811 6866 <div class="col-sm-4">
6812 6867 <label for="ays_twitter_link">
6813 - <i class="ays_fa ays_fa_twitter_square"></i>
6868 + <!-- <i class="ays_fa ays_fa_twitter_square"></i> -->
6869 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="14" height="16">
6870 + <path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path>
6871 + </svg>
6814 6872 <?php echo esc_html__('X link', "poll-maker")?>
6815 6873 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('X profile or page link for showing after poll finish.', "poll-maker")?>">
6816 6874 <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
6817 6875 </a>
@@ -6825,9 +6883,9 @@
6825 6883 <hr/>
6826 6884 <div class="form-group row">
6827 6885 <div class="col-sm-4">
6828 6886 <label for="ays_vkontakte_link">
6829 - <i class="ays_fa ays_fa_vk"></i>
6887 + <i class="ays_fa ays_fa_vk_square"></i>
6830 6888 <?php echo esc_html__('VKontakte link', "poll-maker")?>
6831 6889 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('VKontakte profile or page link for showing after poll finish.', "poll-maker")?>">
6832 6890 <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
6833 6891 </a>
@@ -6841,9 +6899,9 @@
6841 6899 <hr>
6842 6900 <div class="form-group row">
6843 6901 <div class="col-sm-4">
6844 6902 <label for="ays_youtube_link">
6845 - <i class="ays_fa ays_fa_vk"></i>
6903 + <i class="ays_fa ays_fa_youtube_square"></i>
6846 6904 <?php echo esc_html__('YouTube link', "poll-maker")?>
6847 6905 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('YouTube profile or page link for showing after poll finish.', "poll-maker")?>">
6848 6906 <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
6849 6907 </a>
@@ -6853,12 +6911,16 @@
6853 6911 <input type="text" class="ays-text-input" id="ays_youtube_link" name="ays_poll_social_links[ays_youtube_link]"
6854 6912 value="<?php echo $youtube_link; ?>" />
6855 6913 </div>
6856 6914 </div>
6915 + <hr>
6857 6916 <div class="form-group row">
6858 6917 <div class="col-sm-4">
6859 - <label for="ays_youtube_link">
6860 - <i class="ays_fa ays_fa_vk"></i>
6918 + <label for="ays_tiktok_link">
6919 + <!-- <i class="ays_fa ays_fa_tiktok_square"></i> -->
6920 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="14" height="16">
6921 + <path d="M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"></path>
6922 + </svg>
6861 6923 <?php echo esc_html__('TikTok link', "poll-maker")?>
6862 6924 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Tiktok profile or page link for showing after poll finish.', "poll-maker")?>">
6863 6925 <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
6864 6926 </a>
@@ -6864,10 +6926,26 @@
6864 6926 </a>
6865 6927 </label>
6866 6928 </div>
6867 6929 <div class="col-sm-8">
6868 - <input type="text" class="ays-text-input" id="ays_youtube_link" name="ays_poll_social_links[ays_tiktok_link]"
6930 + <input type="text" class="ays-text-input" id="ays_tiktok_link" name="ays_poll_social_links[ays_tiktok_link]"
6869 6931 value="<?php echo $tiktok_link; ?>" />
6932 + </div>
6933 + </div>
6934 + <hr>
6935 + <div class="form-group row">
6936 + <div class="col-sm-4">
6937 + <label for="ays_instagram_link">
6938 + <i class="ays_fa ays_fa_instagram_square"></i>
6939 + <?php echo esc_html__('Instagram link', "poll-maker")?>
6940 + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Instagram profile or page link for showing after poll finish.', "poll-maker")?>">
6941 + <i class="ays_poll_fas ays_poll_fa-info-circle"></i>
6942 + </a>
6943 + </label>
6944 + </div>
6945 + <div class="col-sm-8">
6946 + <input type="text" class="ays-text-input" id="ays_instagram_link" name="ays_poll_social_links[ays_instagram_link]"
6947 + value="<?php echo $instagram_link; ?>" />
6870 6948 </div>
6871 6949 </div>
6872 6950 </div>
6873 6951 </div>