| @@ -88,14 +88,21 @@ | ||
| 88 | 88 | |
| 89 | 89 | |
| 90 | 90 | // Fields labels | End |
| 91 | 91 | |
| 92 | +$show_cat_title = isset($options['show_cat_title']) && $options['show_cat_title'] == 'on' ? 'checked' : ''; | |
| 93 | + | |
| 94 | + | |
| 92 | 95 | // General CSS File |
| 93 | 96 | $options['poll_exclude_general_css'] = isset($options['poll_exclude_general_css']) ? esc_attr( $options['poll_exclude_general_css'] ) : 'off'; |
| 94 | 97 | $poll_exclude_general_css = (isset($options['poll_exclude_general_css']) && esc_attr( $options['poll_exclude_general_css'] ) == "on") ? true : false; |
| 95 | 98 | |
| 99 | +// Menu notifications | |
| 100 | +$options['poll_disable_poll_menu_notification'] = isset($options['poll_disable_poll_menu_notification']) ? esc_attr( $options['poll_disable_poll_menu_notification'] ) : 'off'; | |
| 101 | +$poll_disable_poll_menu_notification = (isset($options['poll_disable_poll_menu_notification']) && esc_attr( $options['poll_disable_poll_menu_notification'] ) == "on") ? true : false; | |
| 102 | + | |
| 96 | 103 | // WP Editor height |
| 97 | -$poll_wp_editor_height = (isset($options['poll_wp_editor_height']) && $options['poll_wp_editor_height'] != '' && $options['poll_wp_editor_height'] != 0) ? absint( sanitize_text_field($options['poll_wp_editor_height']) ) : 100 ; | |
| 104 | +$poll_wp_editor_height = (isset($options['poll_wp_editor_height']) && $options['poll_wp_editor_height'] != '' && $options['poll_wp_editor_height'] != 0) ? absint( sanitize_text_field($options['poll_wp_editor_height']) ) : 50 ; | |
| 98 | 105 | |
| 99 | 106 | ?> |
| 100 | 107 | <div class="wrap" style="position:relative;"> |
| 101 | 108 | <div class="ays-poll-heading-box"> |
| @@ -101,9 +108,9 @@ | ||
| 101 | 108 | <div class="ays-poll-heading-box"> |
| 102 | 109 | <div class="ays-poll-wordpress-user-manual-box"> |
| 103 | 110 | <a href="https://ays-pro.com/wordpress-poll-maker-user-manual" target="_blank" style="text-decoration: none;font-size: 13px;"> |
| 104 | 111 | <i class="ays_poll_fas ays_fa_file_text"></i> |
| 105 | - <span style="margin-left: 3px;text-decoration: underline;"><?php echo __("View Documentation", "poll-maker"); ?></span> | |
| 112 | + <span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__("View Documentation", "poll-maker"); ?></span> | |
| 106 | 113 | </a> |
| 107 | 114 | </div> |
| 108 | 115 | </div> |
| 109 | 116 | <div class="container-fluid"> |
| @@ -110,9 +117,9 @@ | ||
| 110 | 117 | <form method="post" class="ays-poll-general-settings-form" id="ays-poll-general-settings-form"> |
| 111 | 118 | <input type="hidden" name="ays_poll_tab" value="<?php echo htmlentities($ays_poll_tab); ?>" id="ays_poll_active_tab_results"> |
| 112 | 119 | <h1 class="wp-heading-inline"> |
| 113 | 120 | <?php |
| 114 | - echo __('Settings', "poll-maker"); | |
| 121 | + echo esc_html__('Settings', "poll-maker"); | |
| 115 | 122 | ?> |
| 116 | 123 | </h1> |
| 117 | 124 | <?php |
| 118 | 125 | if (isset($_REQUEST['status'])) { |
| @@ -124,29 +131,29 @@ | ||
| 124 | 131 | <div> |
| 125 | 132 | <div class="nav-tab-wrapper" style="position:sticky; top:35px;"> |
| 126 | 133 | <a href="#tab1" data-tab="tab1" |
| 127 | 134 | class="nav-tab <?php echo ($ays_poll_tab == 'tab1') ? 'nav-tab-active' : ''; ?>"> |
| 128 | - <?php echo __("General", "poll-maker"); ?> | |
| 135 | + <?php echo esc_html__("General", "poll-maker"); ?> | |
| 129 | 136 | </a> |
| 130 | 137 | <a href="#tab2" data-tab="tab2" |
| 131 | 138 | class="nav-tab <?php echo ($ays_poll_tab == 'tab2') ? 'nav-tab-active' : ''; ?>"> |
| 132 | - <?php echo __("Integrations", "poll-maker"); ?> | |
| 139 | + <?php echo esc_html__("Integrations", "poll-maker"); ?> | |
| 133 | 140 | </a> |
| 134 | 141 | <a href="#tab3" data-tab="tab3" |
| 135 | 142 | class="nav-tab <?php echo ($ays_poll_tab == 'tab3') ? 'nav-tab-active' : ''; ?>"> |
| 136 | - <?php echo __("Shortcodes", "poll-maker"); ?> | |
| 143 | + <?php echo esc_html__("Shortcodes", "poll-maker"); ?> | |
| 137 | 144 | </a> |
| 138 | 145 | <a href="#tab4" data-tab="tab4" |
| 139 | 146 | class="nav-tab <?php echo ($ays_poll_tab == 'tab4') ? 'nav-tab-active' : ''; ?>"> |
| 140 | - <?php echo __("Extra Shortcodes", "poll-maker"); ?> | |
| 147 | + <?php echo esc_html__("Extra Shortcodes", "poll-maker"); ?> | |
| 141 | 148 | </a> |
| 142 | 149 | <a href="#tab5" data-tab="tab5" |
| 143 | 150 | class="nav-tab <?php echo ($ays_poll_tab == 'tab5') ? 'nav-tab-active' : ''; ?>"> |
| 144 | - <?php echo __("Fields placeholders", "poll-maker"); ?> | |
| 151 | + <?php echo esc_html__("Fields placeholders", "poll-maker"); ?> | |
| 145 | 152 | </a> |
| 146 | 153 | <a href="#tab6" data-tab="tab6" |
| 147 | 154 | class="nav-tab <?php echo ($ays_poll_tab == 'tab6') ? 'nav-tab-active' : ''; ?>"> |
| 148 | - <?php echo __("Message variables", "poll-maker"); ?> | |
| 155 | + <?php echo esc_html__("Message variables", "poll-maker"); ?> | |
| 149 | 156 | </a> |
| 150 | 157 | </div> |
| 151 | 158 | </div> |
| 152 | 159 | <div class="ays-poll-tabs-wrapper"> |
| @@ -151,22 +158,22 @@ | ||
| 151 | 158 | </div> |
| 152 | 159 | <div class="ays-poll-tabs-wrapper"> |
| 153 | 160 | <div id="tab1" |
| 154 | 161 | class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab1') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 155 | - <p class="ays-subtitle"><?php echo __('General Settings', "poll-maker") ?></p> | |
| 162 | + <p class="ays-subtitle"><?php echo esc_html__('General Settings', "poll-maker") ?></p> | |
| 156 | 163 | <hr/> |
| 157 | 164 | <fieldset> |
| 158 | 165 | <legend> |
| 159 | 166 | <strong style="font-size:30px;"><i class="ays_fa ays_poll_fa_question_circle"></i></strong> |
| 160 | - <h5><?php echo __('Default parameters for Poll', "poll-maker")?></h5> | |
| 167 | + <h5><?php echo esc_html__('Default parameters for Poll', "poll-maker")?></h5> | |
| 161 | 168 | </legend> |
| 162 | 169 | <div class="form-group row"> |
| 163 | 170 | <div class="col-sm-4"> |
| 164 | 171 | <label for="ays_disable_ip_storing"> |
| 165 | - <?= __('Disable IP Storing', "poll-maker"); ?> | |
| 172 | + <?php echo esc_html__('Disable IP Storing', "poll-maker"); ?> | |
| 166 | 173 | <a class="ays_help" data-toggle="tooltip" |
| 167 | 174 | data-placement="top" |
| 168 | - title="<?= __("After enabling this option, the IP address of the users will not be stored in the database. Note: If this option is enabled, then the Limitation options connected with IP will not work.", "poll-maker"); ?>"> | |
| 175 | + title="<?php echo esc_html__("After enabling this option, the IP address of the users will not be stored in the database. Note: If this option is enabled, then the Limitation options connected with IP will not work.", "poll-maker"); ?>"> | |
| 169 | 176 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 170 | 177 | </a> |
| 171 | 178 | </label> |
| 172 | 179 | </div> |
| @@ -180,12 +187,12 @@ | ||
| 180 | 187 | </div> |
| 181 | 188 | <div class="form-group row"> |
| 182 | 189 | <div class="col-sm-4"> |
| 183 | 190 | <label for="ays_answer_default_count"> |
| 184 | - <?= __('Answer Default Count', "poll-maker"); ?> | |
| 191 | + <?php echo esc_html__('Answer Default Count', "poll-maker"); ?> | |
| 185 | 192 | <a class="ays_help" data-toggle="tooltip" |
| 186 | 193 | data-placement="top" |
| 187 | - title="<?= __("Define the default count for the answers which will be displayed in the Add new poll page. (This will work only with choosing type.)", "poll-maker"); ?>"> | |
| 194 | + title="<?php echo esc_html__("Define the default count for the answers which will be displayed in the Add new poll page. (This will work only with choosing type.)", "poll-maker"); ?>"> | |
| 188 | 195 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 189 | 196 | </a> |
| 190 | 197 | </label> |
| 191 | 198 | </div> |
| @@ -201,12 +208,12 @@ | ||
| 201 | 208 | </div> |
| 202 | 209 | <div class="form-group row"> |
| 203 | 210 | <div class="col-sm-4"> |
| 204 | 211 | <label for="ays_poll_default_cat"> |
| 205 | - <?= __('Polls default category', "poll-maker"); ?> | |
| 212 | + <?php echo esc_html__('Polls default category', "poll-maker"); ?> | |
| 206 | 213 | <a class="ays_help" data-toggle="tooltip" |
| 207 | 214 | data-placement="top" |
| 208 | - title="<?= __("Choose the category of the poll which will be selected by default each time you create a poll by the Add New button.", "poll-maker"); ?>"> | |
| 215 | + title="<?php echo esc_html__("Choose the category of the poll which will be selected by default each time you create a poll by the Add New button.", "poll-maker"); ?>"> | |
| 209 | 216 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 210 | 217 | </a> |
| 211 | 218 | </label> |
| 212 | 219 | </div> |
| @@ -228,12 +235,12 @@ | ||
| 228 | 235 | </div> <!-- Default Category --> |
| 229 | 236 | <div class="form-group row"> |
| 230 | 237 | <div class="col-sm-4"> |
| 231 | 238 | <label for="ays_poll_default_type"> |
| 232 | - <?= __('Polls default type', "poll-maker"); ?> | |
| 239 | + <?php echo esc_html__('Polls default type', "poll-maker"); ?> | |
| 233 | 240 | <a class="ays_help" data-toggle="tooltip" |
| 234 | 241 | data-placement="top" |
| 235 | - title="<?= __("Choose the type of the poll which will be selected by default each time you create a poll by the Add New button.", "poll-maker"); ?>"> | |
| 242 | + title="<?php echo esc_html__("Choose the type of the poll which will be selected by default each time you create a poll by the Add New button.", "poll-maker"); ?>"> | |
| 236 | 243 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 237 | 244 | </a> |
| 238 | 245 | </label> |
| 239 | 246 | </div> |
| @@ -255,11 +262,11 @@ | ||
| 255 | 262 | </div> <!-- Default Type --> |
| 256 | 263 | <div class="form-group row"> |
| 257 | 264 | <div class="col-sm-4"> |
| 258 | 265 | <label for="ays_poll_wp_editor_height"> |
| 259 | - <?php echo __( "WP Editor height", "poll-maker" ); ?> | |
| 260 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Give the default value to the height of the WP Editor. It will apply to all WP Editors within the plugin on the dashboard.', "poll-maker"); ?>"> | |
| 261 | - <i class="ays_fa ays_fa_info_circle"></i> | |
| 266 | + <?php echo esc_html__( "WP Editor height", "poll-maker" ); ?> | |
| 267 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Give the default value to the height of the WP Editor. It will apply to all WP Editors within the plugin on the dashboard.', "poll-maker"); ?>"> | |
| 268 | + <i class="ays_poll_fas ays_poll_fa-info-circle"></i> | |
| 262 | 269 | </a> |
| 263 | 270 | </label> |
| 264 | 271 | </div> |
| 265 | 272 | <div class="col-sm-8"> |
| @@ -270,15 +277,15 @@ | ||
| 270 | 277 | <hr/> |
| 271 | 278 | <fieldset> |
| 272 | 279 | <legend> |
| 273 | 280 | <strong style="font-size:30px;"><i class="ays_poll_fa ays_poll_fa_music"></i></strong> |
| 274 | - <h5><?php echo __('Poll answers sound', "poll-maker")?></h5> | |
| 281 | + <h5><?php echo esc_html__('Poll answers sound', "poll-maker")?></h5> | |
| 275 | 282 | </legend> |
| 276 | 283 | <div class="form-group row"> |
| 277 | 284 | <div class="col-sm-4"> |
| 278 | 285 | <label for="ays_questions_default_type"> |
| 279 | - <?php echo __( "Sound for answers", "poll-maker" ); ?> | |
| 280 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('The selected sound will be played in the poll if the Enable answers sound option is enabled from the particular poll settings.', "poll-maker"); ?>"> | |
| 286 | + <?php echo esc_html__( "Sound for answers", "poll-maker" ); ?> | |
| 287 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('The selected sound will be played in the poll if the Enable answers sound option is enabled from the particular poll settings.', "poll-maker"); ?>"> | |
| 281 | 288 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 282 | 289 | </a> |
| 283 | 290 | </label> |
| 284 | 291 | </div> |
| @@ -283,9 +290,9 @@ | ||
| 283 | 290 | </label> |
| 284 | 291 | </div> |
| 285 | 292 | <div class="col-sm-8"> |
| 286 | 293 | <div class="ays-bg-music-container"> |
| 287 | - <a class="add-poll-bg-music" href="javascript:void(0);"><?php echo __("Select sound", "poll-maker"); ?></a> | |
| 294 | + <a class="add-poll-bg-music" href="javascript:void(0);"><?php echo esc_html__("Select sound", "poll-maker"); ?></a> | |
| 288 | 295 | <audio controls src="<?php echo $answers_sound; ?>"></audio> |
| 289 | 296 | <input type="hidden" name="ays_poll_answers_sound" class="ays_poll_bg_music" value="<?php echo $answers_sound; ?>"> |
| 290 | 297 | </div> |
| 291 | 298 | </div> |
| @@ -294,15 +301,15 @@ | ||
| 294 | 301 | <hr/> |
| 295 | 302 | <fieldset> |
| 296 | 303 | <legend> |
| 297 | 304 | <strong style="font-size:30px;"><i class="ays_poll_fas ays_poll_fa_text"></i></strong> |
| 298 | - <h5><?php echo __('Excerpt words count in list tables', "poll-maker")?></h5> | |
| 305 | + <h5><?php echo esc_html__('Excerpt words count in list tables', "poll-maker")?></h5> | |
| 299 | 306 | </legend> |
| 300 | 307 | <div class="form-group row"> |
| 301 | 308 | <div class="col-sm-4"> |
| 302 | 309 | <label for="ays_poll_title_length"> |
| 303 | - <?php echo __( "Polls list table", "poll-maker" ); ?> | |
| 304 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Determine the length of the polls to be shown in the Polls List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 310 | + <?php echo esc_html__( "Polls list table", "poll-maker" ); ?> | |
| 311 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the polls to be shown in the Polls List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 305 | 312 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 306 | 313 | </a> |
| 307 | 314 | </label> |
| 308 | 315 | </div> |
| @@ -312,10 +319,10 @@ | ||
| 312 | 319 | </div> |
| 313 | 320 | <div class="form-group row"> |
| 314 | 321 | <div class="col-sm-4"> |
| 315 | 322 | <label for="ays_poll_category_title_length"> |
| 316 | - <?php echo __( "Categories list table", "poll-maker" ); ?> | |
| 317 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Determine the length of the category to be shown in the Category List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 323 | + <?php echo esc_html__( "Categories list table", "poll-maker" ); ?> | |
| 324 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the category to be shown in the Category List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 318 | 325 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 319 | 326 | </a> |
| 320 | 327 | </label> |
| 321 | 328 | </div> |
| @@ -325,10 +332,10 @@ | ||
| 325 | 332 | </div> |
| 326 | 333 | <div class="form-group row"> |
| 327 | 334 | <div class="col-sm-4"> |
| 328 | 335 | <label for="ays_poll_results_title_length"> |
| 329 | - <?php echo __( "Results list table", "poll-maker" ); ?> | |
| 330 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Determine the length of the results to be shown in the Results List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 336 | + <?php echo esc_html__( "Results list table", "poll-maker" ); ?> | |
| 337 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the results to be shown in the Results List Table by putting your preferred count of words in the following field. For example: if you put 10, you will see the first 10 words of each poll in the Polls page of your dashboard.', "poll-maker")?>"> | |
| 331 | 338 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 332 | 339 | </a> |
| 333 | 340 | </label> |
| 334 | 341 | </div> |
| @@ -340,13 +347,13 @@ | ||
| 340 | 347 | <hr> |
| 341 | 348 | <fieldset> |
| 342 | 349 | <legend> |
| 343 | 350 | <strong style="font-size:30px;"><i class="ays_poll_fa ays_poll_fa_trash"></i></strong> |
| 344 | - <h5><?php echo __('Erase Poll data', "poll-maker")?></h5> | |
| 351 | + <h5><?php echo esc_html__('Erase Poll data', "poll-maker")?></h5> | |
| 345 | 352 | </legend> |
| 346 | 353 | <?php if( isset( $_GET['del_stat'] ) ): ?> |
| 347 | 354 | <blockquote style="border-color:#46b450;background: rgba(70, 180, 80, 0.2);"> |
| 348 | - <?php echo __("Results up to a", "poll-maker") . " " . sanitize_text_field($_GET['mcount']) . " " . __("month ago deleted successfully.", "poll-maker"); ?> | |
| 355 | + <?php echo esc_html__("Results up to a", "poll-maker") . " " . sanitize_text_field($_GET['mcount']) . " " .esc_html__("month ago deleted successfully.", "poll-maker"); ?> | |
| 349 | 356 | </blockquote> |
| 350 | 357 | <hr> |
| 351 | 358 | <?php endif; ?> |
| 352 | 359 | <div class="form-group row"> |
| @@ -351,10 +358,10 @@ | ||
| 351 | 358 | <?php endif; ?> |
| 352 | 359 | <div class="form-group row"> |
| 353 | 360 | <div class="col-sm-4"> |
| 354 | 361 | <label for="ays_delete_results_by"> |
| 355 | - <?php echo __( "Delete results older then 'X' the month", "poll-maker" ); ?> | |
| 356 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Specify count of months and save changes. Attention! it will remove submissions older than specified months permanently.', "poll-maker")?>"> | |
| 362 | + <?php echo esc_html__( "Delete results older then 'X' the month", "poll-maker" ); ?> | |
| 363 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Specify count of months and save changes. Attention! it will remove submissions older than specified months permanently.', "poll-maker"); ?>"> | |
| 357 | 364 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 358 | 365 | </a> |
| 359 | 366 | </label> |
| 360 | 367 | </div> |
| @@ -361,9 +368,9 @@ | ||
| 361 | 368 | <div class="col-sm-4"> |
| 362 | 369 | <input type="number" name="ays_delete_results_by" id="ays_delete_results_by" class="ays-text-input"> |
| 363 | 370 | </div> |
| 364 | 371 | <div class="col-sm-4"> |
| 365 | - <input type="submit" name="ays_submit" id="ays_submit" class="button button-primary ays-button" value="Apply changes"> | |
| 372 | + <input type="submit" name="ays_submit" id="ays_submit" class="button button-primary ays-button" value="<?php echo esc_attr__('Apply changes', "poll-maker"); ?>"> | |
| 366 | 373 | </div> |
| 367 | 374 | </div> |
| 368 | 375 | </fieldset> |
| 369 | 376 | <hr/> |
| @@ -369,15 +376,15 @@ | ||
| 369 | 376 | <hr/> |
| 370 | 377 | <fieldset> |
| 371 | 378 | <legend> |
| 372 | 379 | <strong style="font-size:30px;"><i class="ays_poll_fas ays_poll_fa-code"></i></strong> |
| 373 | - <h5><?php echo __('Animation Top', "poll-maker")?></h5> | |
| 380 | + <h5><?php echo esc_html__('Animation Top', "poll-maker")?></h5> | |
| 374 | 381 | </legend> |
| 375 | 382 | <div class="form-group row"> |
| 376 | 383 | <div class="col-sm-4"> |
| 377 | 384 | <label for="ays_poll_enable_animation_top"> |
| 378 | - <?php echo __( "Enable animation", "poll-maker" ); ?> | |
| 379 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Enable animation of the scroll offset of the poll container. It works when the poll container is visible on the screen partly and the user starts the poll and moves from one question to another.', "poll-maker")?>"> | |
| 385 | + <?php echo esc_html__( "Enable animation", "poll-maker" ); ?> | |
| 386 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Enable animation of the scroll offset of the poll container. It works when the poll container is visible on the screen partly and the user starts the poll and moves from one question to another.', "poll-maker")?>"> | |
| 380 | 387 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 381 | 388 | </a> |
| 382 | 389 | </label> |
| 383 | 390 | </div> |
| @@ -387,10 +394,10 @@ | ||
| 387 | 394 | </div> |
| 388 | 395 | <div class="form-group row"> |
| 389 | 396 | <div class="col-sm-4"> |
| 390 | 397 | <label for="ays_poll_animation_top"> |
| 391 | - <?php echo __( "Scroll offset(px)", "poll-maker" ); ?> | |
| 392 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Define the scroll offset of the poll container after the animation starts. It works when the poll container is visible on the screen partly and the user starts the poll and moves from one question to another.', "poll-maker")?>"> | |
| 398 | + <?php echo esc_html__( "Scroll offset(px)", "poll-maker" ); ?> | |
| 399 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Define the scroll offset of the poll container after the animation starts. It works when the poll container is visible on the screen partly and the user starts the poll and moves from one question to another.', "poll-maker")?>"> | |
| 393 | 400 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 394 | 401 | </a> |
| 395 | 402 | </label> |
| 396 | 403 | </div> |
| @@ -402,15 +409,15 @@ | ||
| 402 | 409 | <hr/> |
| 403 | 410 | <fieldset> |
| 404 | 411 | <legend> |
| 405 | 412 | <strong style="font-size:30px;"><i class="ays_poll_fa ays_fa_file_code"></i></strong> |
| 406 | - <h5><?php echo __('General CSS File', "poll-maker"); ?></h5> | |
| 413 | + <h5><?php echo esc_html__('General CSS File', "poll-maker"); ?></h5> | |
| 407 | 414 | </legend> |
| 408 | 415 | <div class="form-group row"> |
| 409 | 416 | <div class="col-sm-4"> |
| 410 | 417 | <label for="ays_poll_exclude_general_css"> |
| 411 | - <?php echo __( "Exclude general CSS file from home page", "poll-maker" ); ?> | |
| 412 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('If the option is enabled, then the poll general CSS file will not be applied to the home page. Please note, that if you have inserted the poll on the home page, then the option must be disabled so that the CSS File can normally work for that poll.', "poll-maker"); ?>"> | |
| 418 | + <?php echo esc_html__( "Exclude general CSS file from home page", "poll-maker" ); ?> | |
| 419 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('If the option is enabled, then the poll general CSS file will not be applied to the home page. Please note, that if you have inserted the poll on the home page, then the option must be disabled so that the CSS File can normally work for that poll.', "poll-maker"); ?>"> | |
| 413 | 420 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 414 | 421 | </a> |
| 415 | 422 | </label> |
| 416 | 423 | </div> |
| @@ -421,10 +428,30 @@ | ||
| 421 | 428 | </fieldset> <!-- Exclude General CSS --> |
| 422 | 429 | <hr> |
| 423 | 430 | <fieldset> |
| 424 | 431 | <legend> |
| 432 | + <strong style="font-size:30px;"><i class="ays_poll_fas ays_fa_bell"></i></strong> | |
| 433 | + <h5><?php echo esc_html__('Menu notifications', "poll-maker"); ?></h5> | |
| 434 | + </legend> | |
| 435 | + <div class="form-group row"> | |
| 436 | + <div class="col-sm-4"> | |
| 437 | + <label for="ays_poll_disable_poll_menu_notification"> | |
| 438 | + <?php echo esc_html__( "Disable Poll maker menu item notification", "poll-maker" ); ?> | |
| 439 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__( 'Enable this option and the notifications will not be displayed in the Poll Maker menu.', "poll-maker" ); ?>"> | |
| 440 | + <i class="ays_poll_fas ays_poll_fa-info-circle"></i> | |
| 441 | + </a> | |
| 442 | + </label> | |
| 443 | + </div> | |
| 444 | + <div class="col-sm-8"> | |
| 445 | + <input type="checkbox" name="ays_poll_disable_poll_menu_notification" id="ays_poll_disable_poll_menu_notification" value="on" <?php echo $poll_disable_poll_menu_notification ? 'checked' : ''; ?>> | |
| 446 | + </div> | |
| 447 | + </div> | |
| 448 | + </fieldset> <!-- Menu notifications --> | |
| 449 | + <hr> | |
| 450 | + <fieldset> | |
| 451 | + <legend> | |
| 425 | 452 | <strong style="font-size:30px;"><i class="ays_poll_fa ays_poll_fa_globe"></i></strong> |
| 426 | - <h5><?php echo __('Who will have permission to Poll menu', "poll-maker")?></h5> | |
| 453 | + <h5><?php echo esc_html__('Who will have permission to Poll menu', "poll-maker")?></h5> | |
| 427 | 454 | </legend> |
| 428 | 455 | <div class="form-group row" style="margin: 0px;"> |
| 429 | 456 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 430 | 457 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -431,10 +458,10 @@ | ||
| 431 | 458 | </div> |
| 432 | 459 | <div class="form-group row"> |
| 433 | 460 | <div class="col-sm-4"> |
| 434 | 461 | <label> |
| 435 | - <?php echo __( "Select user role", "poll-maker" ); ?> | |
| 436 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Control and manage who can have access to the plugin from the dashboard.', "poll-maker")?>"> | |
| 462 | + <?php echo esc_html__( "Select user role", "poll-maker" ); ?> | |
| 463 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Control and manage who can have access to the plugin from the dashboard.', "poll-maker")?>"> | |
| 437 | 464 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 438 | 465 | </a> |
| 439 | 466 | </label> |
| 440 | 467 | </div> |
| @@ -443,18 +470,18 @@ | ||
| 443 | 470 | <option selected value="admin">Administrator</option> |
| 444 | 471 | </select> |
| 445 | 472 | </div> |
| 446 | 473 | <blockquote style="margin-top: 5px;"> |
| 447 | - <?php echo __( "Ability to manage Poll Maker plugin only for selected user roles.", "poll-maker" ); ?> | |
| 474 | + <?php echo esc_html__( "Ability to manage Poll Maker plugin only for selected user roles.", "poll-maker" ); ?> | |
| 448 | 475 | </blockquote> |
| 449 | 476 | </div> |
| 450 | 477 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 451 | 478 | <div class="ays-poll-new-upgrade-button-box"> |
| 452 | 479 | <div> |
| 453 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 454 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 480 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 481 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 455 | 482 | </div> |
| 456 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 483 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 457 | 484 | </div> |
| 458 | 485 | </a> |
| 459 | 486 | </div> |
| 460 | 487 | </div> |
| @@ -462,9 +489,9 @@ | ||
| 462 | 489 | <hr/> |
| 463 | 490 | <fieldset> |
| 464 | 491 | <legend> |
| 465 | 492 | <strong style="font-size:30px;"><i class="ays_poll_fas ays_poll_fa-check"></i></strong> |
| 466 | - <h5><?php echo __("Auto approve user's request", "poll-maker")?></h5> | |
| 493 | + <h5><?php echo esc_html__("Auto approve user's request", "poll-maker")?></h5> | |
| 467 | 494 | </legend> |
| 468 | 495 | <div class="form-group row" style="margin: 0px;"> |
| 469 | 496 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 470 | 497 | <div class="pro_features pro_features_popup"> |
| @@ -469,20 +496,20 @@ | ||
| 469 | 496 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 470 | 497 | <div class="pro_features pro_features_popup"> |
| 471 | 498 | <div class="pro-features-popup-conteiner"> |
| 472 | 499 | <div class="pro-features-popup-title"> |
| 473 | - <?php echo __("Enable auto-approve", "poll-maker"); ?> | |
| 500 | + <?php echo esc_html__("Enable auto-approve", "poll-maker"); ?> | |
| 474 | 501 | </div> |
| 475 | 502 | <div class="pro-features-popup-content" data-link="https://youtu.be/p8AcGSUeawY"> |
| 476 | 503 | <p> |
| 477 | - <?php echo __("If you own a Membership website and want to grant access to your website visitors, to create polls from the front end, then, this feature is the best solution for you.", "poll-maker"); ?> | |
| 504 | + <?php echo esc_html__("If you own a Membership website and want to grant access to your website visitors, to create polls from the front end, then, this feature is the best solution for you.", "poll-maker"); ?> | |
| 478 | 505 | </p> |
| 479 | 506 | <p> |
| 480 | - <?php echo __("With the help of the Request Form shortcode, the users can create polls without having access to your Dashboard. Moreover, you can auto-approve users' requests to save more time.", "poll-maker"); ?> | |
| 507 | + <?php echo esc_html__("With the help of the Request Form shortcode, the users can create polls without having access to your Dashboard. Moreover, you can auto-approve users' requests to save more time.", "poll-maker"); ?> | |
| 481 | 508 | </p> |
| 482 | 509 | </div> |
| 483 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-auto-approve"> | |
| 484 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 510 | + <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-auto-approve-<?php echo esc_attr( POLL_MAKER_AYS_VERSION ); ?>"> | |
| 511 | + <?php echo esc_html__("Pricing", "poll-maker"); ?> | |
| 485 | 512 | </div> |
| 486 | 513 | </div> |
| 487 | 514 | </div> |
| 488 | 515 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -489,10 +516,10 @@ | ||
| 489 | 516 | </div> |
| 490 | 517 | <div class="form-group row"> |
| 491 | 518 | <div class="col-sm-4"> |
| 492 | 519 | <label for="ays_poll_auto_approve"> |
| 493 | - <?php echo __( "Enable auto-approve", "poll-maker" ); ?> | |
| 494 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('If the option is enabled, the user requests from the Request Form shortcode will automatically be approved and added to the Polls page.', "poll-maker"); ?>"> | |
| 520 | + <?php echo esc_html__( "Enable auto-approve", "poll-maker" ); ?> | |
| 521 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('If the option is enabled, the user requests from the Request Form shortcode will automatically be approved and added to the Polls page.', "poll-maker"); ?>"> | |
| 495 | 522 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 496 | 523 | </a> |
| 497 | 524 | </label> |
| 498 | 525 | </div> |
| @@ -504,20 +531,20 @@ | ||
| 504 | 531 | </div> |
| 505 | 532 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 506 | 533 | <div class="ays-poll-new-upgrade-button-box"> |
| 507 | 534 | <div> |
| 508 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 509 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 535 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 536 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 510 | 537 | </div> |
| 511 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 538 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 512 | 539 | </div> |
| 513 | 540 | </a> |
| 514 | 541 | <div class="ays-poll-new-watch-video-button-box"> |
| 515 | 542 | <div> |
| 516 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 517 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 543 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 544 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 518 | 545 | </div> |
| 519 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 546 | + <div class="ays-poll-new-watch-video-button"><?php echo esc_html__("Watch Video", "poll-maker"); ?></div> | |
| 520 | 547 | </div> |
| 521 | 548 | </div> |
| 522 | 549 | </div> |
| 523 | 550 | </fieldset> |
| @@ -523,14 +550,14 @@ | ||
| 523 | 550 | </fieldset> |
| 524 | 551 | </div> |
| 525 | 552 | <div id="tab2" |
| 526 | 553 | class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab2') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 527 | - <p class="ays-subtitle"><?php echo __('Integrations', "poll-maker") ?></p> | |
| 554 | + <p class="ays-subtitle"><?php echo esc_html__('Integrations', "poll-maker") ?></p> | |
| 528 | 555 | <hr/> |
| 529 | 556 | <fieldset> |
| 530 | 557 | <legend> |
| 531 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/mailchimp_logo.png" alt=""> | |
| 532 | - <h5><?php echo __('MailChimp', "poll-maker")?></h5> | |
| 558 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/mailchimp_logo.png" alt=""> | |
| 559 | + <h5><?php echo esc_html__('MailChimp', "poll-maker")?></h5> | |
| 533 | 560 | </legend> |
| 534 | 561 | <div class="form-group row"> |
| 535 | 562 | <div class="col-sm-12"> |
| 536 | 563 | <div class="form-group row" aria-describedby="aaa"> |
| @@ -535,9 +562,9 @@ | ||
| 535 | 562 | <div class="col-sm-12"> |
| 536 | 563 | <div class="form-group row" aria-describedby="aaa"> |
| 537 | 564 | <div class="col-sm-3"> |
| 538 | 565 | <label for="ays_mailchimp_username"> |
| 539 | - <?php echo __('MailChimp Username', "poll-maker")?> | |
| 566 | + <?php echo esc_html__('MailChimp Username', "poll-maker")?> | |
| 540 | 567 | </label> |
| 541 | 568 | </div> |
| 542 | 569 | <div class="col-sm-9"> |
| 543 | 570 | <input type="text" |
| @@ -551,9 +578,9 @@ | ||
| 551 | 578 | <hr/> |
| 552 | 579 | <div class="form-group row" aria-describedby="aaa"> |
| 553 | 580 | <div class="col-sm-3"> |
| 554 | 581 | <label for="ays_mailchimp_api_key"> |
| 555 | - <?php echo __('MailChimp API Key', "poll-maker")?> | |
| 582 | + <?php echo esc_html__('MailChimp API Key', "poll-maker")?> | |
| 556 | 583 | </label> |
| 557 | 584 | </div> |
| 558 | 585 | <div class="col-sm-9"> |
| 559 | 586 | <input type="text" |
| @@ -564,9 +591,9 @@ | ||
| 564 | 591 | /> |
| 565 | 592 | </div> |
| 566 | 593 | </div> |
| 567 | 594 | <blockquote> |
| 568 | - <?php echo sprintf( __( "You can get your API key from your ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "https://us20.admin.mailchimp.com/account/api/", __( "Account Extras menu", "poll-maker" ) ); ?> | |
| 595 | + <?php echo sprintf(esc_html__( "You can get your API key from your ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "https://us20.admin.mailchimp.com/account/api/",esc_html__( "Account Extras menu", "poll-maker" ) ); ?> | |
| 569 | 596 | </blockquote> |
| 570 | 597 | </div> |
| 571 | 598 | </div> |
| 572 | 599 | </fieldset><!-- Mailchimp integration --> |
| @@ -572,10 +599,10 @@ | ||
| 572 | 599 | </fieldset><!-- Mailchimp integration --> |
| 573 | 600 | <hr/> |
| 574 | 601 | <fieldset> |
| 575 | 602 | <legend> |
| 576 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/campaignmonitor_logo.png" alt=""> | |
| 577 | - <h5><?php echo __('Campaign Monitor', "poll-maker")?></h5> | |
| 603 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/campaignmonitor_logo.png" alt=""> | |
| 604 | + <h5><?php echo esc_html__('Campaign Monitor', "poll-maker")?></h5> | |
| 578 | 605 | </legend> |
| 579 | 606 | <div class="form-group row" style="margin: 0px;"> |
| 580 | 607 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 581 | 608 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -584,9 +611,9 @@ | ||
| 584 | 611 | <div class="col-sm-12"> |
| 585 | 612 | <div class="form-group row" aria-describedby="aaa"> |
| 586 | 613 | <div class="col-sm-3"> |
| 587 | 614 | <label for="ays_monitor_client"> |
| 588 | - Campaign Monitor <?= __('Client ID', "poll-maker") ?> | |
| 615 | + Campaign Monitor <?php echo esc_html__('Client ID', "poll-maker") ?> | |
| 589 | 616 | </label> |
| 590 | 617 | </div> |
| 591 | 618 | <div class="col-sm-9"> |
| 592 | 619 | <input type="text" |
| @@ -599,9 +626,9 @@ | ||
| 599 | 626 | <hr/> |
| 600 | 627 | <div class="form-group row" aria-describedby="aaa"> |
| 601 | 628 | <div class="col-sm-3"> |
| 602 | 629 | <label for="ays_monitor_api_key"> |
| 603 | - Campaign Monitor <?= __('API Key', "poll-maker") ?> | |
| 630 | + Campaign Monitor <?php echo esc_html__('API Key', "poll-maker") ?> | |
| 604 | 631 | </label> |
| 605 | 632 | </div> |
| 606 | 633 | <div class="col-sm-9"> |
| 607 | 634 | <input type="text" |
| @@ -611,9 +638,9 @@ | ||
| 611 | 638 | > |
| 612 | 639 | </div> |
| 613 | 640 | </div> |
| 614 | 641 | <blockquote> |
| 615 | - <?= __("You can get your API key and Client ID from your Account Settings page", "poll-maker"); ?> | |
| 642 | + <?php echo esc_html__("You can get your API key and Client ID from your Account Settings page", "poll-maker"); ?> | |
| 616 | 643 | </blockquote> |
| 617 | 644 | </div> |
| 618 | 645 | </div> |
| 619 | 646 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -618,12 +645,12 @@ | ||
| 618 | 645 | </div> |
| 619 | 646 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 620 | 647 | <div class="ays-poll-new-upgrade-button-box"> |
| 621 | 648 | <div> |
| 622 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 623 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 649 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 650 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 624 | 651 | </div> |
| 625 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 652 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 626 | 653 | </div> |
| 627 | 654 | </a> |
| 628 | 655 | </div> |
| 629 | 656 | </div> |
| @@ -630,10 +657,10 @@ | ||
| 630 | 657 | </fieldset><!-- Campaign monitor integration PRO version!!! --> |
| 631 | 658 | <hr/> |
| 632 | 659 | <fieldset> |
| 633 | 660 | <legend> |
| 634 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/zapier_logo.png" alt=""> | |
| 635 | - <h5><?php echo __('Zapier', "poll-maker")?></h5> | |
| 661 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/zapier_logo.png" alt=""> | |
| 662 | + <h5><?php echo esc_html__('Zapier', "poll-maker")?></h5> | |
| 636 | 663 | </legend> |
| 637 | 664 | <div class="form-group row" style="margin: 0px;"> |
| 638 | 665 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 639 | 666 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -642,9 +669,9 @@ | ||
| 642 | 669 | <div class="col-sm-12"> |
| 643 | 670 | <div class="form-group row" aria-describedby="aaa"> |
| 644 | 671 | <div class="col-sm-3"> |
| 645 | 672 | <label for="ays_zapier_hook"> |
| 646 | - <?= __('Zapier Webhook URL', "poll-maker") ?> | |
| 673 | + <?php echo esc_html__('Zapier Webhook URL', "poll-maker") ?> | |
| 647 | 674 | </label> |
| 648 | 675 | </div> |
| 649 | 676 | <div class="col-sm-9"> |
| 650 | 677 | <input type="text" |
| @@ -656,13 +683,13 @@ | ||
| 656 | 683 | </div> |
| 657 | 684 | <blockquote> |
| 658 | 685 | <?php |
| 659 | 686 | /* translators: anchor tag URL */ |
| 660 | - echo sprintf(__("If you do not have any ZAP created, go <a href='%s' target='_blank'>here</a>. Remember to choose Webhooks by Zapier as Trigger App.", "poll-maker"), "https://zapier.com/app/editor/"); | |
| 687 | + echo sprintf( esc_html__("If you do not have any ZAP created, go <a href='%s' target='_blank'>here</a>. Remember to choose Webhooks by Zapier as Trigger App.", "poll-maker"), "https://zapier.com/app/editor/"); | |
| 661 | 688 | ?> |
| 662 | 689 | </blockquote> |
| 663 | 690 | <blockquote> |
| 664 | - <?= __("We will send you all data from poll information form with \"AysPoll\" key by POST method", "poll-maker"); ?> | |
| 691 | + <?php echo esc_html__("We will send you all data from poll information form with \"AysPoll\" key by POST method", "poll-maker"); ?> | |
| 665 | 692 | </blockquote> |
| 666 | 693 | </div> |
| 667 | 694 | </div> |
| 668 | 695 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -667,12 +694,12 @@ | ||
| 667 | 694 | </div> |
| 668 | 695 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 669 | 696 | <div class="ays-poll-new-upgrade-button-box"> |
| 670 | 697 | <div> |
| 671 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 672 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 698 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 699 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 673 | 700 | </div> |
| 674 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 701 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 675 | 702 | </div> |
| 676 | 703 | </a> |
| 677 | 704 | </div> |
| 678 | 705 | </div> |
| @@ -679,10 +706,10 @@ | ||
| 679 | 706 | </fieldset> <!-- Zapier integration PRO version!!! --> |
| 680 | 707 | <hr/> |
| 681 | 708 | <fieldset> |
| 682 | 709 | <legend> |
| 683 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/activecampaign_logo.png" alt=""> | |
| 684 | - <h5><?php echo __('ActiveCampaign', "poll-maker")?></h5> | |
| 710 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/activecampaign_logo.png" alt=""> | |
| 711 | + <h5><?php echo esc_html__('ActiveCampaign', "poll-maker")?></h5> | |
| 685 | 712 | </legend> |
| 686 | 713 | <div class="form-group row" style="margin: 0px;"> |
| 687 | 714 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 688 | 715 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -691,9 +718,9 @@ | ||
| 691 | 718 | <div class="col-sm-12"> |
| 692 | 719 | <div class="form-group row" aria-describedby="aaa"> |
| 693 | 720 | <div class="col-sm-3"> |
| 694 | 721 | <label for="ays_active_camp_url"> |
| 695 | - <?= __('API Access URL', "poll-maker") ?> | |
| 722 | + <?php echo esc_html__('API Access URL', "poll-maker") ?> | |
| 696 | 723 | </label> |
| 697 | 724 | </div> |
| 698 | 725 | <div class="col-sm-9"> |
| 699 | 726 | <input type="text" |
| @@ -706,9 +733,9 @@ | ||
| 706 | 733 | <hr/> |
| 707 | 734 | <div class="form-group row" aria-describedby="aaa"> |
| 708 | 735 | <div class="col-sm-3"> |
| 709 | 736 | <label for="ays_active_camp_api_key"> |
| 710 | - <?= __('API Access Key', "poll-maker") ?> | |
| 737 | + <?php echo esc_html__('API Access Key', "poll-maker") ?> | |
| 711 | 738 | </label> |
| 712 | 739 | </div> |
| 713 | 740 | <div class="col-sm-9"> |
| 714 | 741 | <input type="text" |
| @@ -718,9 +745,9 @@ | ||
| 718 | 745 | > |
| 719 | 746 | </div> |
| 720 | 747 | </div> |
| 721 | 748 | <blockquote> |
| 722 | - <?= __("Your API URL and Key can be found in your account on the My Settings page under the \"Developer\" tab", "poll-maker"); ?> | |
| 749 | + <?php echo esc_html__("Your API URL and Key can be found in your account on the My Settings page under the \"Developer\" tab", "poll-maker"); ?> | |
| 723 | 750 | </blockquote> |
| 724 | 751 | </div> |
| 725 | 752 | </div> |
| 726 | 753 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -725,12 +752,12 @@ | ||
| 725 | 752 | </div> |
| 726 | 753 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 727 | 754 | <div class="ays-poll-new-upgrade-button-box"> |
| 728 | 755 | <div> |
| 729 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 730 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 756 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 757 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 731 | 758 | </div> |
| 732 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 759 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 733 | 760 | </div> |
| 734 | 761 | </a> |
| 735 | 762 | </div> |
| 736 | 763 | </div> |
| @@ -737,10 +764,10 @@ | ||
| 737 | 764 | </fieldset> <!-- Activecampaign integration PRO version!!! --> |
| 738 | 765 | <hr/> |
| 739 | 766 | <fieldset> |
| 740 | 767 | <legend> |
| 741 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/slack_logo.png" alt=""> | |
| 742 | - <h5><?php echo __('Slack', "poll-maker")?></h5> | |
| 768 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/slack_logo.png" alt=""> | |
| 769 | + <h5><?php echo esc_html__('Slack', "poll-maker")?></h5> | |
| 743 | 770 | </legend> |
| 744 | 771 | <div class="form-group row" style="margin: 0px;"> |
| 745 | 772 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 746 | 773 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -748,11 +775,11 @@ | ||
| 748 | 775 | <div class="form-group row"> |
| 749 | 776 | <div class="col-sm-12"> |
| 750 | 777 | <div class="form-group row" aria-describedby="aaa"> |
| 751 | 778 | <div class="col-sm-3"> |
| 752 | - <button id="slackInstructionsPopOver" type="button" class="btn btn-info" | |
| 779 | + <button id="slackInstructionsPopOver" style="color: white;" type="button" class="btn btn-info" | |
| 753 | 780 | data-toggle="popover" |
| 754 | - title="<?= __("Slack Integration Setup Instructions", "poll-maker") ?>"><?= __("Instructions", "poll-maker") ?></button> | |
| 781 | + title="<?php echo esc_html__("Slack Integration Setup Instructions", "poll-maker") ?>"><?php echo esc_html__("Instructions", "poll-maker") ?></button> | |
| 755 | 782 | |
| 756 | 783 | </div> |
| 757 | 784 | </div> |
| 758 | 785 | <div class="form-group row" aria-describedby="aaa"> |
| @@ -757,9 +784,9 @@ | ||
| 757 | 784 | </div> |
| 758 | 785 | <div class="form-group row" aria-describedby="aaa"> |
| 759 | 786 | <div class="col-sm-3"> |
| 760 | 787 | <label for="ays_slack_client"> |
| 761 | - <?= __('App Client ID', "poll-maker") ?> | |
| 788 | + <?php echo esc_html__('App Client ID', "poll-maker") ?> | |
| 762 | 789 | </label> |
| 763 | 790 | </div> |
| 764 | 791 | <div class="col-sm-9"> |
| 765 | 792 | <input type="text" |
| @@ -772,15 +799,15 @@ | ||
| 772 | 799 | <hr/> |
| 773 | 800 | <div class="form-group row" aria-describedby="aaa"> |
| 774 | 801 | <div class="col-sm-3"> |
| 775 | 802 | <label> |
| 776 | - <?= __('Slack Authorization', "poll-maker") ?> | |
| 803 | + <?php echo esc_html__('Slack Authorization', "poll-maker") ?> | |
| 777 | 804 | </label> |
| 778 | 805 | </div> |
| 779 | 806 | <div class="col-sm-9"> |
| 780 | 807 | |
| 781 | - <span class="btn btn-success pointer-events-none"> | |
| 782 | - <?= __("Authorized", "poll-maker") ?></span> | |
| 808 | + <span class="btn btn-success pointer-events-none" style="color: white;"> | |
| 809 | + <?php echo esc_html__("Authorized", "poll-maker") ?></span> | |
| 783 | 810 | </div> |
| 784 | 811 | </div> |
| 785 | 812 | <hr/> |
| 786 | 813 | <div class="form-group row" aria-describedby="aaa"> |
| @@ -785,9 +812,9 @@ | ||
| 785 | 812 | <hr/> |
| 786 | 813 | <div class="form-group row" aria-describedby="aaa"> |
| 787 | 814 | <div class="col-sm-3"> |
| 788 | 815 | <label for="ays_slack_secret"> |
| 789 | - <?= __('App Client Secret', "poll-maker") ?> | |
| 816 | + <?php echo esc_html__('App Client Secret', "poll-maker") ?> | |
| 790 | 817 | </label> |
| 791 | 818 | </div> |
| 792 | 819 | <div class="col-sm-9"> |
| 793 | 820 | <input type="text" |
| @@ -799,20 +826,20 @@ | ||
| 799 | 826 | <hr/> |
| 800 | 827 | <div class="form-group row" aria-describedby="aaa"> |
| 801 | 828 | <div class="col-sm-3"> |
| 802 | 829 | <label> |
| 803 | - <?= __('App Access Token', "poll-maker") ?> | |
| 830 | + <?php echo esc_html__('App Access Token', "poll-maker") ?> | |
| 804 | 831 | </label> |
| 805 | 832 | </div> |
| 806 | 833 | <div class="col-sm-9"> |
| 807 | 834 | <button type="button" |
| 808 | - class="btn btn-outline-secondary disabled"><?= __("Need Authorization", "poll-maker") ?> | |
| 835 | + class="btn btn-outline-secondary disabled"><?php echo esc_html__("Need Authorization", "poll-maker") ?> | |
| 809 | 836 | </button> |
| 810 | 837 | <input type="hidden" id="ays_slack_token" name="ays_slack_token" value=""> |
| 811 | 838 | </div> |
| 812 | 839 | </div> |
| 813 | 840 | <blockquote> |
| 814 | - <?= __("You can get your App Client ID and Client Secret from your App's the Basic Information page", "poll-maker"); ?> | |
| 841 | + <?php echo esc_html__("You can get your App Client ID and Client Secret from your App's the Basic Information page", "poll-maker"); ?> | |
| 815 | 842 | </blockquote> |
| 816 | 843 | </div> |
| 817 | 844 | </div> |
| 818 | 845 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -817,12 +844,12 @@ | ||
| 817 | 844 | </div> |
| 818 | 845 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 819 | 846 | <div class="ays-poll-new-upgrade-button-box"> |
| 820 | 847 | <div> |
| 821 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 822 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 848 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 849 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 823 | 850 | </div> |
| 824 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 851 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 825 | 852 | </div> |
| 826 | 853 | </a> |
| 827 | 854 | </div> |
| 828 | 855 | </div> |
| @@ -829,10 +856,10 @@ | ||
| 829 | 856 | </fieldset> <!-- Slack integration PRO version!!! --> |
| 830 | 857 | <hr/> |
| 831 | 858 | <fieldset> |
| 832 | 859 | <legend> |
| 833 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/sheets_logo.png" alt=""> | |
| 834 | - <h5><?php echo __('Google sheets', "poll-maker")?></h5> | |
| 860 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/sheets_logo.png" alt=""> | |
| 861 | + <h5><?php echo esc_html__('Google sheets', "poll-maker")?></h5> | |
| 835 | 862 | </legend> |
| 836 | 863 | <div class="form-group row" style="margin: 0px;"> |
| 837 | 864 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 838 | 865 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -840,9 +867,9 @@ | ||
| 840 | 867 | <div class="form-group row"> |
| 841 | 868 | <div class="col-sm-12"> |
| 842 | 869 | <div class="form-group row" aria-describedby="aaa"> |
| 843 | 870 | <div class="col-sm-3"> |
| 844 | - <button id="googleInstructionsPopOver" type="button" class="btn btn-info" data-toggle="popover" title="" data-original-title="Google Integration Setup Instructions" aria-describedby="popover188544">Instructions</button> | |
| 871 | + <button id="googleInstructionsPopOver" style="color: white;" type="button" class="btn btn-info" data-toggle="popover" title="" data-original-title="Google Integration Setup Instructions" aria-describedby="popover188544">Instructions</button> | |
| 845 | 872 | <div class="d-none"> |
| 846 | 873 | <p>1. <a href="https://console.developers.google.com/apis/credentials" target="_blank">Create</a> new Google Oauth cliend ID credentials (if you do not still have).</p> |
| 847 | 874 | <p>2. Choose the application type as <b>Web application</b></p> |
| 848 | 875 | <p>3. Add the following link in the <b>Authorized redirect URIs</b> field</p> |
| @@ -859,9 +886,9 @@ | ||
| 859 | 886 | </div> |
| 860 | 887 | <div class="form-group row"> |
| 861 | 888 | <div class="col-sm-3"> |
| 862 | 889 | <label for=""> |
| 863 | - <?= __('Google Client ID', "poll-maker") ?> | |
| 890 | + <?php echo esc_html__('Google Client ID', "poll-maker") ?> | |
| 864 | 891 | </label> |
| 865 | 892 | </div> |
| 866 | 893 | <div class="col-sm-9"> |
| 867 | 894 | <input type="text" class="ays-text-input"> |
| @@ -870,14 +897,14 @@ | ||
| 870 | 897 | <hr/> |
| 871 | 898 | <div class="form-group row"> |
| 872 | 899 | <div class="col-sm-3"> |
| 873 | 900 | <label for=""> |
| 874 | - <?= __('Google Sign in', "poll-maker") ?> | |
| 901 | + <?php echo esc_html__('Google Sign in', "poll-maker") ?> | |
| 875 | 902 | </label> |
| 876 | 903 | </div> |
| 877 | 904 | <div class="col-sm-9"> |
| 878 | 905 | <button type="button" class="btn btn-outline-secondary" > |
| 879 | - <?= __("Sign in", "poll-maker") ?> | |
| 906 | + <?php echo esc_html__("Sign in", "poll-maker") ?> | |
| 880 | 907 | </button> |
| 881 | 908 | </div> |
| 882 | 909 | </div> |
| 883 | 910 | <hr/> |
| @@ -883,9 +910,9 @@ | ||
| 883 | 910 | <hr/> |
| 884 | 911 | <div class="form-group row"> |
| 885 | 912 | <div class="col-sm-3"> |
| 886 | 913 | <label for=""> |
| 887 | - <?= __('Google Client Secret', "poll-maker") ?> | |
| 914 | + <?php echo esc_html__('Google Client Secret', "poll-maker") ?> | |
| 888 | 915 | </label> |
| 889 | 916 | </div> |
| 890 | 917 | <div class="col-sm-9"> |
| 891 | 918 | <input type="text" class="ays-text-input " readonly> |
| @@ -894,15 +921,15 @@ | ||
| 894 | 921 | <hr/> |
| 895 | 922 | <div class="form-group row"> |
| 896 | 923 | <div class="col-sm-3"> |
| 897 | 924 | <label for=""> |
| 898 | - <?= __('Get token', "poll-maker") ?> | |
| 925 | + <?php echo esc_html__('Get token', "poll-maker") ?> | |
| 899 | 926 | </label> |
| 900 | 927 | </div> |
| 901 | 928 | <div class="col-sm-9"> |
| 902 | 929 | <button type="button" id="" |
| 903 | 930 | class="btn btn-outline-secondary"> |
| 904 | - <?= __("Get token", "poll-maker") ?> | |
| 931 | + <?php echo esc_html__("Get token", "poll-maker") ?> | |
| 905 | 932 | </button> |
| 906 | 933 | </div> |
| 907 | 934 | </div> |
| 908 | 935 | </div> |
| @@ -909,12 +936,12 @@ | ||
| 909 | 936 | </div> |
| 910 | 937 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 911 | 938 | <div class="ays-poll-new-upgrade-button-box"> |
| 912 | 939 | <div> |
| 913 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 914 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 940 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 941 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 915 | 942 | </div> |
| 916 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 943 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 917 | 944 | </div> |
| 918 | 945 | </a> |
| 919 | 946 | </div> |
| 920 | 947 | </div> |
| @@ -921,10 +948,10 @@ | ||
| 921 | 948 | </fieldset> <!-- Google sheet integration PRO version!!! --> |
| 922 | 949 | <hr/> |
| 923 | 950 | <fieldset> |
| 924 | 951 | <legend> |
| 925 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/sendgrid_logo.png" alt=""> | |
| 926 | - <h5><?php echo __('SendGrid', "poll-maker")?></h5> | |
| 952 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/sendgrid_logo.png" alt=""> | |
| 953 | + <h5><?php echo esc_html__('SendGrid', "poll-maker")?></h5> | |
| 927 | 954 | </legend> |
| 928 | 955 | <div class="form-group row" style="margin: 0px;"> |
| 929 | 956 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 930 | 957 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -933,9 +960,9 @@ | ||
| 933 | 960 | <div class="col-sm-12"> |
| 934 | 961 | <div class="form-group row"> |
| 935 | 962 | <div class="col-sm-3"> |
| 936 | 963 | <label for=""> |
| 937 | - <?php echo __('SendGrid API Key', "poll-maker")?> | |
| 964 | + <?php echo esc_html__('SendGrid API Key', "poll-maker")?> | |
| 938 | 965 | </label> |
| 939 | 966 | </div> |
| 940 | 967 | <div class="col-sm-9"> |
| 941 | 968 | <input type="text" class="ays-text-input" /> |
| @@ -942,9 +969,9 @@ | ||
| 942 | 969 | </div> |
| 943 | 970 | </div> |
| 944 | 971 | <hr/> |
| 945 | 972 | <blockquote> |
| 946 | - <?php echo sprintf( __( "You can get your API key from ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "https://app.sendgrid.com/settings/api_keys", "sendgrid.com" ); ?> | |
| 973 | + <?php echo sprintf(esc_html__( "You can get your API key from ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "https://app.sendgrid.com/settings/api_keys", "sendgrid.com" ); ?> | |
| 947 | 974 | </blockquote> |
| 948 | 975 | </div> |
| 949 | 976 | </div> |
| 950 | 977 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -949,12 +976,12 @@ | ||
| 949 | 976 | </div> |
| 950 | 977 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 951 | 978 | <div class="ays-poll-new-upgrade-button-box"> |
| 952 | 979 | <div> |
| 953 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 954 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 980 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 981 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 955 | 982 | </div> |
| 956 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 983 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 957 | 984 | </div> |
| 958 | 985 | </a> |
| 959 | 986 | </div> |
| 960 | 987 | </div> |
| @@ -961,10 +988,10 @@ | ||
| 961 | 988 | </fieldset> <!-- SendGrid integration PRO version!!! --> |
| 962 | 989 | <hr/> |
| 963 | 990 | <fieldset> |
| 964 | 991 | <legend> |
| 965 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/gamipress_logo.png" alt=""> | |
| 966 | - <h5><?php echo __('GamiPress', "poll-maker")?></h5> | |
| 992 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/gamipress_logo.png" alt=""> | |
| 993 | + <h5><?php echo esc_html__('GamiPress', "poll-maker")?></h5> | |
| 967 | 994 | </legend> |
| 968 | 995 | <div class="form-group row" style="margin: 0px;"> |
| 969 | 996 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 970 | 997 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -971,11 +998,11 @@ | ||
| 971 | 998 | </div> |
| 972 | 999 | <div class="form-group row"> |
| 973 | 1000 | <div class="col-sm-12"> |
| 974 | 1001 | <blockquote> |
| 975 | - <?php echo __( "Install the GamiPress plugin to use the integration. Configure the settings from the Automatic Points Awards section from the GamiPres plugin.", "poll-maker" ); ?> | |
| 1002 | + <?php echo esc_html__( "Install the GamiPress plugin to use the integration. Configure the settings from the Automatic Points Awards section from the GamiPres plugin.", "poll-maker" ); ?> | |
| 976 | 1003 | <br> |
| 977 | - <?php echo __( "After enabling the integration, the Poll Maker will automatically be added to the event list.", "poll-maker" ); ?> | |
| 1004 | + <?php echo esc_html__( "After enabling the integration, the Poll Maker will automatically be added to the event list.", "poll-maker" ); ?> | |
| 978 | 1005 | </blockquote> |
| 979 | 1006 | </div> |
| 980 | 1007 | </div> |
| 981 | 1008 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -980,12 +1007,12 @@ | ||
| 980 | 1007 | </div> |
| 981 | 1008 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 982 | 1009 | <div class="ays-poll-new-upgrade-button-box"> |
| 983 | 1010 | <div> |
| 984 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 985 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1011 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1012 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 986 | 1013 | </div> |
| 987 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1014 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 988 | 1015 | </div> |
| 989 | 1016 | </a> |
| 990 | 1017 | </div> |
| 991 | 1018 | </div> |
| @@ -992,10 +1019,10 @@ | ||
| 992 | 1019 | </fieldset> <!-- GamiPress integration PRO version!!! --> |
| 993 | 1020 | <hr> |
| 994 | 1021 | <fieldset> |
| 995 | 1022 | <legend> |
| 996 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/mad-mimi-logo-min.png" alt=""> | |
| 997 | - <h5><?php echo __('Mad Mimi', "poll-maker")?></h5> | |
| 1023 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/mad-mimi-logo-min.png" alt=""> | |
| 1024 | + <h5><?php echo esc_html__('Mad Mimi', "poll-maker")?></h5> | |
| 998 | 1025 | </legend> |
| 999 | 1026 | <div class="form-group row" style="margin: 0px;"> |
| 1000 | 1027 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 1001 | 1028 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1004,9 +1031,9 @@ | ||
| 1004 | 1031 | <div class="col-sm-12"> |
| 1005 | 1032 | <div class="form-group row"> |
| 1006 | 1033 | <div class="col-sm-3"> |
| 1007 | 1034 | <label for="ays_poll_mad_mimi_user_name"> |
| 1008 | - <?= __('Username', "poll-maker") ?> | |
| 1035 | + <?php echo esc_html__('Username', "poll-maker") ?> | |
| 1009 | 1036 | </label> |
| 1010 | 1037 | </div> |
| 1011 | 1038 | <div class="col-sm-9"> |
| 1012 | 1039 | <input type="text" class="ays-text-input"> |
| @@ -1015,9 +1042,9 @@ | ||
| 1015 | 1042 | <hr/> |
| 1016 | 1043 | <div class="form-group row"> |
| 1017 | 1044 | <div class="col-sm-3"> |
| 1018 | 1045 | <label for="ays_poll_mad_mimi_api_key"> |
| 1019 | - <?= __('API Key', "poll-maker") ?> | |
| 1046 | + <?php echo esc_html__('API Key', "poll-maker") ?> | |
| 1020 | 1047 | </label> |
| 1021 | 1048 | </div> |
| 1022 | 1049 | <div class="col-sm-9"> |
| 1023 | 1050 | <input type="text" class="ays-text-input"> |
| @@ -1027,12 +1054,12 @@ | ||
| 1027 | 1054 | </div> |
| 1028 | 1055 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1029 | 1056 | <div class="ays-poll-new-upgrade-button-box"> |
| 1030 | 1057 | <div> |
| 1031 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1032 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1058 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1059 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1033 | 1060 | </div> |
| 1034 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1061 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1035 | 1062 | </div> |
| 1036 | 1063 | </a> |
| 1037 | 1064 | </div> |
| 1038 | 1065 | </div> |
| @@ -1039,10 +1066,10 @@ | ||
| 1039 | 1066 | </fieldset><!-- MAD MIMI PRO version!!!--> |
| 1040 | 1067 | <hr> |
| 1041 | 1068 | <fieldset> |
| 1042 | 1069 | <legend> |
| 1043 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/get_response.png" alt=""> | |
| 1044 | - <h5><?php echo __('GetResponse', "poll-maker")?></h5> | |
| 1070 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/get_response.png" alt=""> | |
| 1071 | + <h5><?php echo esc_html__('GetResponse', "poll-maker")?></h5> | |
| 1045 | 1072 | </legend> |
| 1046 | 1073 | <div class="form-group row" style="margin: 0px;"> |
| 1047 | 1074 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 1048 | 1075 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1051,9 +1078,9 @@ | ||
| 1051 | 1078 | <div class="col-sm-12"> |
| 1052 | 1079 | <div class="form-group row" aria-describedby="aaa"> |
| 1053 | 1080 | <div class="col-sm-3"> |
| 1054 | 1081 | <label for=""> |
| 1055 | - <?= __('GetResponse API Key', "poll-maker") ?> | |
| 1082 | + <?php echo esc_html__('GetResponse API Key', "poll-maker") ?> | |
| 1056 | 1083 | </label> |
| 1057 | 1084 | </div> |
| 1058 | 1085 | <div class="col-sm-9"> |
| 1059 | 1086 | <input type="text" |
| @@ -1061,12 +1088,17 @@ | ||
| 1061 | 1088 | > |
| 1062 | 1089 | </div> |
| 1063 | 1090 | </div> |
| 1064 | 1091 | <blockquote> |
| 1065 | - <?php echo sprintf(__("You can get your API key from your <a href='#' target='_blank'>account</a>.", "poll-maker")); ?> | |
| 1092 | + <?php | |
| 1093 | + printf( | |
| 1094 | + __( 'You can get your API key from your <a href="%s" target="_blank" rel="noopener">account</a>.', 'poll-maker' ), | |
| 1095 | + esc_url( '#' ) | |
| 1096 | + ); | |
| 1097 | + ?> | |
| 1066 | 1098 | </blockquote> |
| 1067 | 1099 | <blockquote> |
| 1068 | - <?php echo __("For security reasons, unused API keys expire after 90 days. When that happens, you’ll need to generate a new key.", "poll-maker") ?> | |
| 1100 | + <?php echo esc_html__("For security reasons, unused API keys expire after 90 days. When that happens, you’ll need to generate a new key.", "poll-maker") ?> | |
| 1069 | 1101 | </blockquote> |
| 1070 | 1102 | </div> |
| 1071 | 1103 | </div> |
| 1072 | 1104 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -1071,12 +1103,12 @@ | ||
| 1071 | 1103 | </div> |
| 1072 | 1104 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1073 | 1105 | <div class="ays-poll-new-upgrade-button-box"> |
| 1074 | 1106 | <div> |
| 1075 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1076 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1107 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1108 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1077 | 1109 | </div> |
| 1078 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1110 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1079 | 1111 | </div> |
| 1080 | 1112 | </a> |
| 1081 | 1113 | </div> |
| 1082 | 1114 | </div> |
| @@ -1083,10 +1115,10 @@ | ||
| 1083 | 1115 | </fieldset><!-- GET RESPONSE --> |
| 1084 | 1116 | <hr> |
| 1085 | 1117 | <fieldset> |
| 1086 | 1118 | <legend> |
| 1087 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/convertkit_logo.png" alt=""> | |
| 1088 | - <h5><?php echo __('ConvertKit', "poll-maker")?></h5> | |
| 1119 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/convertkit_logo.png" alt=""> | |
| 1120 | + <h5><?php echo esc_html__('ConvertKit', "poll-maker")?></h5> | |
| 1089 | 1121 | </legend> |
| 1090 | 1122 | <div class="form-group row" style="margin: 0px;"> |
| 1091 | 1123 | <div class="col-sm-12 only_pro" style="padding:20px;"> |
| 1092 | 1124 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1095,9 +1127,9 @@ | ||
| 1095 | 1127 | <div class="col-sm-12"> |
| 1096 | 1128 | <div class="form-group row" aria-describedby="aaa"> |
| 1097 | 1129 | <div class="col-sm-3"> |
| 1098 | 1130 | <label for=""> |
| 1099 | - ConvertKit <?= __('API Key', "poll-maker") ?> | |
| 1131 | + ConvertKit <?php echo esc_html__('API Key', "poll-maker") ?> | |
| 1100 | 1132 | </label> |
| 1101 | 1133 | </div> |
| 1102 | 1134 | <div class="col-sm-9"> |
| 1103 | 1135 | <input type="text" |
| @@ -1105,9 +1137,9 @@ | ||
| 1105 | 1137 | > |
| 1106 | 1138 | </div> |
| 1107 | 1139 | </div> |
| 1108 | 1140 | <blockquote> |
| 1109 | - <?php echo sprintf( __( "You can get your API Key from your ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "#", "Account" ); ?> | |
| 1141 | + <?php echo sprintf(esc_html__( "You can get your API Key from your ", "poll-maker" ) . "<a href='%s' target='_blank'> %s.</a>", "#", "Account" ); ?> | |
| 1110 | 1142 | </blockquote> |
| 1111 | 1143 | </div> |
| 1112 | 1144 | </div> |
| 1113 | 1145 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -1112,12 +1144,12 @@ | ||
| 1112 | 1144 | </div> |
| 1113 | 1145 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1114 | 1146 | <div class="ays-poll-new-upgrade-button-box"> |
| 1115 | 1147 | <div> |
| 1116 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1117 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1148 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1149 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1118 | 1150 | </div> |
| 1119 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1151 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1120 | 1152 | </div> |
| 1121 | 1153 | </a> |
| 1122 | 1154 | </div> |
| 1123 | 1155 | </div> |
| @@ -1124,10 +1156,10 @@ | ||
| 1124 | 1156 | </fieldset><!-- CONVERT KIT --> |
| 1125 | 1157 | <hr> |
| 1126 | 1158 | <fieldset> |
| 1127 | 1159 | <legend> |
| 1128 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/aweber-logo.png" alt=""> | |
| 1129 | - <h5><?php echo __('Aweber', "poll-maker") ?></h5> | |
| 1160 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/aweber-logo.png" alt=""> | |
| 1161 | + <h5><?php echo esc_html__('Aweber', "poll-maker") ?></h5> | |
| 1130 | 1162 | </legend> |
| 1131 | 1163 | <div class="form-group row" style="margin:0"> |
| 1132 | 1164 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 1133 | 1165 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1135,14 +1167,14 @@ | ||
| 1135 | 1167 | <div class="form-group-row"> |
| 1136 | 1168 | <div class="col-sm-12"> |
| 1137 | 1169 | <div class="form-group row"> |
| 1138 | 1170 | <div class="col-sm-3"> |
| 1139 | - <button id="aweberInstructionsPopOver" type="button" class="btn btn-info" data-original-title="Aweber Integration Setup Instructions" ><?php echo __('Instructions', "poll-maker"); ?></button> | |
| 1171 | + <button id="aweberInstructionsPopOver" type="button" class="btn btn-info" data-original-title="Aweber Integration Setup Instructions" ><?php echo esc_html__('Instructions', "poll-maker"); ?></button> | |
| 1140 | 1172 | </div> |
| 1141 | 1173 | </div> |
| 1142 | 1174 | <div class="form-group row"> |
| 1143 | 1175 | <div class="col-sm-3"> |
| 1144 | - <label for="ays_poll_aweber_client_id"><?php echo __('Client ID', "poll-maker"); ?></label> | |
| 1176 | + <label for="ays_poll_aweber_client_id"><?php echo esc_html__('Client ID', "poll-maker"); ?></label> | |
| 1145 | 1177 | </div> |
| 1146 | 1178 | <div class="col-sm-9"> |
| 1147 | 1179 | <input type="text" class="ays-text-input" id="ays_poll_aweber_client_id" name="ays_poll_aweber_client_id"> |
| 1148 | 1180 | </div> |
| @@ -1149,9 +1181,9 @@ | ||
| 1149 | 1181 | </div> |
| 1150 | 1182 | <hr> |
| 1151 | 1183 | <div class="form-group row"> |
| 1152 | 1184 | <div class="col-sm-3"> |
| 1153 | - <label for="ays_poll_aweber_client_secret"><?php echo __('Client Secret', "poll-maker"); ?></label> | |
| 1185 | + <label for="ays_poll_aweber_client_secret"><?php echo esc_html__('Client Secret', "poll-maker"); ?></label> | |
| 1154 | 1186 | </div> |
| 1155 | 1187 | <div class="col-sm-9"> |
| 1156 | 1188 | <input type="text" class="ays-text-input" id="ays_poll_aweber_client_secret" name="ays_poll_aweber_client_secret"> |
| 1157 | 1189 | </div> |
| @@ -1159,9 +1191,9 @@ | ||
| 1159 | 1191 | <hr> |
| 1160 | 1192 | <div class="form-group row"> |
| 1161 | 1193 | <div class="col-sm-3"></div> |
| 1162 | 1194 | <div class="col-sm-9"> |
| 1163 | - <button type="submit" id="pollAweberOauth2" class="btn btn-outline-info"><?php echo __("Connect", "poll-maker"); ?></button> | |
| 1195 | + <button type="submit" id="pollAweberOauth2" class="btn btn-outline-info"><?php echo esc_html__("Connect", "poll-maker"); ?></button> | |
| 1164 | 1196 | </div> |
| 1165 | 1197 | </div> |
| 1166 | 1198 | </div> |
| 1167 | 1199 | </div> |
| @@ -1167,12 +1199,12 @@ | ||
| 1167 | 1199 | </div> |
| 1168 | 1200 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1169 | 1201 | <div class="ays-poll-new-upgrade-button-box"> |
| 1170 | 1202 | <div> |
| 1171 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1172 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1203 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1204 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1173 | 1205 | </div> |
| 1174 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1206 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1175 | 1207 | </div> |
| 1176 | 1208 | </a> |
| 1177 | 1209 | </div> |
| 1178 | 1210 | </div> |
| @@ -1179,10 +1211,10 @@ | ||
| 1179 | 1211 | </fieldset> <!-- Aweber --> |
| 1180 | 1212 | <hr> |
| 1181 | 1213 | <fieldset> |
| 1182 | 1214 | <legend> |
| 1183 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/mail_poet.png" alt=""> | |
| 1184 | - <h5><?php echo __('Mailpoet', "poll-maker") ?></h5> | |
| 1215 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/mail_poet.png" alt=""> | |
| 1216 | + <h5><?php echo esc_html__('Mailpoet', "poll-maker") ?></h5> | |
| 1185 | 1217 | </legend> |
| 1186 | 1218 | <div class="form-group row" style="margin:0"> |
| 1187 | 1219 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 1188 | 1220 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1188,18 +1220,18 @@ | ||
| 1188 | 1220 | <div class="pro_features" style="justify-content:flex-end;"> |
| 1189 | 1221 | </div> |
| 1190 | 1222 | <div class="form-group row"> |
| 1191 | 1223 | <blockquote class="error_message" style="width:95%;"> |
| 1192 | - <?php echo __('To enable the integration, please install the MailPoet plugin.' , "poll-maker");?> | |
| 1224 | + <?php echo esc_html__('To enable the integration, please install the MailPoet plugin.' , "poll-maker");?> | |
| 1193 | 1225 | </blockquote> |
| 1194 | 1226 | </div> |
| 1195 | 1227 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1196 | 1228 | <div class="ays-poll-new-upgrade-button-box"> |
| 1197 | 1229 | <div> |
| 1198 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1199 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1230 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1231 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1200 | 1232 | </div> |
| 1201 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1233 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1202 | 1234 | </div> |
| 1203 | 1235 | </a> |
| 1204 | 1236 | </div> |
| 1205 | 1237 | </div> |
| @@ -1206,10 +1238,10 @@ | ||
| 1206 | 1238 | </fieldset> <!-- Mailpoet --> |
| 1207 | 1239 | <hr> |
| 1208 | 1240 | <fieldset> |
| 1209 | 1241 | <legend> |
| 1210 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/mycred_icon.png" alt=""> | |
| 1211 | - <h5><?php echo __('MyCred', "poll-maker") ?></h5> | |
| 1242 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/mycred_icon.png" alt=""> | |
| 1243 | + <h5><?php echo esc_html__('MyCred', "poll-maker") ?></h5> | |
| 1212 | 1244 | </legend> |
| 1213 | 1245 | <div class="form-group row" style="margin:0"> |
| 1214 | 1246 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 1215 | 1247 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1214,17 +1246,17 @@ | ||
| 1214 | 1246 | <div class="col-sm-12 only_pro" style="padding:10px 0 0 10px;"> |
| 1215 | 1247 | <div class="pro_features" style="justify-content:flex-end;"> |
| 1216 | 1248 | </div> |
| 1217 | 1249 | <div class="form-group row"> |
| 1218 | - <blockquote class="error_message" style="width:95%;"> <?php echo __('To enable the integration, please install the MyCred plugin.' , "poll-maker"); ?> </blockquote> | |
| 1250 | + <blockquote class="error_message" style="width:95%;"> <?php echo esc_html__('To enable the integration, please install the MyCred plugin.' , "poll-maker"); ?> </blockquote> | |
| 1219 | 1251 | </div> |
| 1220 | 1252 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1221 | 1253 | <div class="ays-poll-new-upgrade-button-box"> |
| 1222 | 1254 | <div> |
| 1223 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1224 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1255 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1256 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1225 | 1257 | </div> |
| 1226 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1258 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1227 | 1259 | </div> |
| 1228 | 1260 | </a> |
| 1229 | 1261 | </div> |
| 1230 | 1262 | </div> |
| @@ -1231,10 +1263,10 @@ | ||
| 1231 | 1263 | </fieldset> <!-- MyCred --> |
| 1232 | 1264 | <hr> |
| 1233 | 1265 | <fieldset> |
| 1234 | 1266 | <legend> |
| 1235 | - <img class="ays_integration_logo" src="<?php echo POLL_MAKER_AYS_ADMIN_URL; ?>/images/integrations/klaviyo-logo.png" alt=""> | |
| 1236 | - <h5><?php echo __('Klaviyo', "poll-maker") ?></h5> | |
| 1267 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/klaviyo-logo.png" alt=""> | |
| 1268 | + <h5><?php echo esc_html__('Klaviyo', "poll-maker") ?></h5> | |
| 1237 | 1269 | </legend> |
| 1238 | 1270 | <div class="form-group row" style="margin:0"> |
| 1239 | 1271 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1240 | 1272 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1240,9 +1272,9 @@ | ||
| 1240 | 1272 | <div class="pro_features" style="justify-content:flex-end;"> |
| 1241 | 1273 | </div> |
| 1242 | 1274 | <div class="form-group row"> |
| 1243 | 1275 | <div class="col-sm-3"> |
| 1244 | - <label for="ays_poll_klaviyo_api_key"><?php echo __('API Key', "poll-maker")?></label> | |
| 1276 | + <label for="ays_poll_klaviyo_api_key"><?php echo esc_html__('API Key', "poll-maker")?></label> | |
| 1245 | 1277 | </div> |
| 1246 | 1278 | <div class="col-sm-9"> |
| 1247 | 1279 | <input type="text" class="ays-text-input" id="ays_poll_klaviyo_api_key" > |
| 1248 | 1280 | </div> |
| @@ -1249,31 +1281,115 @@ | ||
| 1249 | 1281 | </div> |
| 1250 | 1282 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1251 | 1283 | <div class="ays-poll-new-upgrade-button-box"> |
| 1252 | 1284 | <div> |
| 1253 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1254 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1285 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1286 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1255 | 1287 | </div> |
| 1256 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1288 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1257 | 1289 | </div> |
| 1258 | 1290 | </a> |
| 1259 | 1291 | </div> |
| 1260 | 1292 | </div> |
| 1261 | 1293 | </fieldset> <!-- Klaviyo --> |
| 1294 | + <hr> | |
| 1295 | + <fieldset> | |
| 1296 | + <legend> | |
| 1297 | + <img class="ays_integration_logo" src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL); ?>/images/integrations/recaptcha_logo.png" alt=""> | |
| 1298 | + <h5><?php echo esc_html__('reCAPTCHA',"poll-maker")?></h5> | |
| 1299 | + </legend> | |
| 1300 | + <div class="form-group row" style="margin:0"> | |
| 1301 | + <div class="col-sm-12 only_pro" style="padding:10px;"> | |
| 1302 | + <div class="pro_features" style="justify-content:flex-end;"> | |
| 1303 | + </div> | |
| 1304 | + <div class="form-group row"> | |
| 1305 | + <div class="col-sm-3"> | |
| 1306 | + <label for="ays_poll_recaptcha_site_key"><?php echo esc_html__('reCAPTCHA v2 Site Key', "poll-maker")?></label> | |
| 1307 | + </div> | |
| 1308 | + <div class="col-sm-9"> | |
| 1309 | + <input type="text" class="ays-text-input" id="ays_poll_recaptcha_site_key"> | |
| 1310 | + </div> | |
| 1311 | + </div> | |
| 1312 | + <hr> | |
| 1313 | + <div class="form-group row"> | |
| 1314 | + <div class="col-sm-3"> | |
| 1315 | + <label for="ays_poll_recaptcha_secret_key"><?php echo esc_html__('reCAPTCHA v2 Secret Key', "poll-maker")?></label> | |
| 1316 | + </div> | |
| 1317 | + <div class="col-sm-9"> | |
| 1318 | + <input type="text" class="ays-text-input" id="ays_poll_recaptcha_secret_key"> | |
| 1319 | + </div> | |
| 1320 | + </div> | |
| 1321 | + <hr> | |
| 1322 | + <div class="form-group row"> | |
| 1323 | + <div class="col-sm-3"> | |
| 1324 | + <label for="ays_poll_recaptcha_language"><?php echo esc_html__('reCAPTCHA Language', "poll-maker")?></label> | |
| 1325 | + </div> | |
| 1326 | + <div class="col-sm-9"> | |
| 1327 | + <input type="text" class="ays-text-input" id="ays_poll_recaptcha_language"> | |
| 1328 | + <span class="ays_poll_small_hint_text"> | |
| 1329 | + <?php | |
| 1330 | + /** | |
| 1331 | + * Translators: %1$s and %2$s are HTML link opening and closing tags. | |
| 1332 | + */ | |
| 1333 | + echo sprintf( | |
| 1334 | + esc_html__( "e.g. en, de - Language used by reCAPTCHA. To get the code for your language click %1\$shere%2\$s", "poll-maker" ), | |
| 1335 | + '<a href="https://developers.google.com/recaptcha/docs/language" target="_blank">', | |
| 1336 | + '</a>' | |
| 1337 | + ); | |
| 1338 | + ?> | |
| 1339 | + </span> | |
| 1340 | + </div> | |
| 1341 | + </div> | |
| 1342 | + <hr> | |
| 1343 | + <div class="form-group row"> | |
| 1344 | + <div class="col-sm-3"> | |
| 1345 | + <label for="ays_poll_recaptcha_theme"><?php echo esc_html__('reCAPTCHA Theme', "poll-maker")?></label> | |
| 1346 | + </div> | |
| 1347 | + <div class="col-sm-9"> | |
| 1348 | + <select class="ays-text-input" id="ays_poll_recaptcha_theme"> | |
| 1349 | + <option value="light"><?php echo esc_html__('Light', "poll-maker")?></option> | |
| 1350 | + <option value="dark"><?php echo esc_html__('Dark', "poll-maker")?></option> | |
| 1351 | + </select> | |
| 1352 | + </div> | |
| 1353 | + </div> | |
| 1354 | + <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> | |
| 1355 | + <div class="ays-poll-new-upgrade-button-box"> | |
| 1356 | + <div> | |
| 1357 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1358 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1359 | + </div> | |
| 1360 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1361 | + </div> | |
| 1362 | + </a> | |
| 1363 | + <blockquote> | |
| 1364 | + <?php | |
| 1365 | + /** | |
| 1366 | + * Translators: %1$s and %2$s are HTML link opening and closing tags for Google's reCAPTCHA admin console. | |
| 1367 | + */ | |
| 1368 | + echo sprintf( | |
| 1369 | + esc_html__( "You need to set up reCAPTCHA in your Google account to generate the required keys and get them by %1\$sGoogle's reCAPTCHA admin console%2\$s.", "poll-maker" ), | |
| 1370 | + "<a href='https://www.google.com/recaptcha/admin/create' target='_blank'>", | |
| 1371 | + "</a>" | |
| 1372 | + ); | |
| 1373 | + ?> | |
| 1374 | + </blockquote> | |
| 1375 | + </div> | |
| 1376 | + </div> | |
| 1377 | + </fieldset> | |
| 1262 | 1378 | </div> |
| 1263 | 1379 | <div id="tab3" |
| 1264 | 1380 | class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab3') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 1265 | - <p class="ays-subtitle"><?php echo __('Shortcodes', "poll-maker") ?></p> | |
| 1381 | + <p class="ays-subtitle"><?php echo esc_html__('Shortcodes', "poll-maker") ?></p> | |
| 1266 | 1382 | <hr/> |
| 1267 | 1383 | <fieldset> |
| 1268 | 1384 | <legend> |
| 1269 | 1385 | <strong style="font-size:30px;">[ ]</strong> |
| 1270 | - <h5 class="ays-subtitle"><?php echo __('Shortcode for all polls', "poll-maker")?></h5> | |
| 1386 | + <h5 class="ays-subtitle"><?php echo esc_html__('Shortcode for all polls', "poll-maker")?></h5> | |
| 1271 | 1387 | </legend> |
| 1272 | 1388 | <div class="form-group row"> |
| 1273 | 1389 | <div class="col-sm-3"> |
| 1274 | 1390 | <label for="all_ays_poll_shortcodes"> |
| 1275 | - <?php echo __("Shortcode for all polls ", "poll-maker"); ?> | |
| 1391 | + <?php echo esc_html__("Shortcode for all polls ", "poll-maker"); ?> | |
| 1276 | 1392 | </label> |
| 1277 | 1393 | </div> |
| 1278 | 1394 | <div class="col-sm-9"> |
| 1279 | 1395 | <input type="text" name="all_ays_poll_shortcodes" id="all_ays_poll_shortcodes" onclick="this.setSelectionRange(0, this.value.length)"readonly="" class="ays-text-input" value='[ays_poll_all display="published/all"]'> |
| @@ -1282,10 +1398,10 @@ | ||
| 1282 | 1398 | <hr> |
| 1283 | 1399 | <div class="form-group row"> |
| 1284 | 1400 | <div class="col-sm-3"> |
| 1285 | 1401 | <label for="ays_poll_all_polls_shortcodes"> |
| 1286 | - <?php echo __("Message", "poll-maker"); ?> | |
| 1287 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('The notification message will be appeared when all polls of the given category expires or becomes unpublished.', "poll-maker")?>"> | |
| 1402 | + <?php echo esc_html__("Message", "poll-maker"); ?> | |
| 1403 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('The notification message will be appeared when all polls of the given category expires or becomes unpublished.', "poll-maker")?>"> | |
| 1288 | 1404 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1289 | 1405 | </a> |
| 1290 | 1406 | </label> |
| 1291 | 1407 | </div> |
| @@ -1296,14 +1412,14 @@ | ||
| 1296 | 1412 | <hr> |
| 1297 | 1413 | <blockquote> |
| 1298 | 1414 | <ul class="ays-poll-general-settings-blockquote-ul"> |
| 1299 | 1415 | <li> |
| 1300 | - <?php echo __("Paste the shortcode into any of your posts to show all polls together.", "poll-maker"); ?> | |
| 1416 | + <?php echo esc_html__("Paste the shortcode into any of your posts to show all polls together.", "poll-maker"); ?> | |
| 1301 | 1417 | </li> |
| 1302 | 1418 | <li> |
| 1303 | 1419 | <?php |
| 1304 | 1420 | /* translators: 1: opening b tag, 2: closing b tag */ |
| 1305 | - echo sprintf( __( "%1\$sDisplay%2\$s", "poll-maker" ) . ' - ' . __( 'Choose the method of displaying. Example: display="published".', "poll-maker" ), | |
| 1421 | + echo sprintf(esc_html__( "%1\$sDisplay%2\$s", "poll-maker" ) . ' - ' .esc_html__( 'Choose the method of displaying. Example: display="published".', "poll-maker" ), | |
| 1306 | 1422 | '<b>', |
| 1307 | 1423 | '</b>' |
| 1308 | 1424 | ); |
| 1309 | 1425 | ?> |
| @@ -1310,9 +1426,9 @@ | ||
| 1310 | 1426 | <ul class='ays-poll-general-settings-ul'> |
| 1311 | 1427 | <li> |
| 1312 | 1428 | <?php |
| 1313 | 1429 | /* translators: 1: opening b tag, 2: closing b tag */ |
| 1314 | - echo sprintf( __( "%1\$spublished%2\$s", "poll-maker" ) . ' - ' . __( 'If you set the method as published, it will show only published polls excluding expired polls.', "poll-maker" ), | |
| 1430 | + echo sprintf(esc_html__( "%1\$spublished%2\$s", "poll-maker" ) . ' - ' .esc_html__( 'If you set the method as published, it will show only published polls excluding expired polls.', "poll-maker" ), | |
| 1315 | 1431 | '<b>', |
| 1316 | 1432 | '</b>' |
| 1317 | 1433 | ); |
| 1318 | 1434 | ?> |
| @@ -1320,9 +1436,9 @@ | ||
| 1320 | 1436 | <li> |
| 1321 | 1437 | <?php |
| 1322 | 1438 | echo sprintf( |
| 1323 | 1439 | /* translators: 1: opening b tag, 2: closing b tag */ |
| 1324 | - __( "%1\$sall%2\$s", "poll-maker" ) . ' - ' . __( 'If you set the method as all, it will show all polls including expired polls.', "poll-maker" ), | |
| 1440 | + esc_html__( "%1\$sall%2\$s", "poll-maker" ) . ' - ' .esc_html__( 'If you set the method as all, it will show all polls including expired polls.', "poll-maker" ), | |
| 1325 | 1441 | '<b>', |
| 1326 | 1442 | '</b>' |
| 1327 | 1443 | ); |
| 1328 | 1444 | ?> |
| @@ -1335,14 +1451,14 @@ | ||
| 1335 | 1451 | <hr/> |
| 1336 | 1452 | <fieldset> |
| 1337 | 1453 | <legend> |
| 1338 | 1454 | <strong style="font-size:30px;">[ ]</strong> |
| 1339 | - <h5 class="ays-subtitle"><?php echo __('Shortcode result by ID', "poll-maker")?></h5> | |
| 1455 | + <h5 class="ays-subtitle"><?php echo esc_html__('Shortcode result by ID', "poll-maker")?></h5> | |
| 1340 | 1456 | </legend> |
| 1341 | 1457 | <div class="form-group row"> |
| 1342 | 1458 | <div class="col-sm-3"> |
| 1343 | 1459 | <label for="ays_poll_shortcodes_by_id"> |
| 1344 | - <?php echo __("Shortcode result by ID ", "poll-maker"); ?> | |
| 1460 | + <?php echo esc_html__("Shortcode result by ID ", "poll-maker"); ?> | |
| 1345 | 1461 | </label> |
| 1346 | 1462 | </div> |
| 1347 | 1463 | <div class="col-sm-9"> |
| 1348 | 1464 | <input type="text" name="ays_poll_shortcodes_by_id" id="ays_poll_shortcodes_by_id" onclick="this.setSelectionRange(0, this.value.length)"readonly="" class="ays-text-input" value='[ayspoll_results id="Your Poll ID" recent="true/false"]'> |
| @@ -1351,39 +1467,39 @@ | ||
| 1351 | 1467 | </div> |
| 1352 | 1468 | <div class="form-group row"> |
| 1353 | 1469 | <div class="col-sm-3"> |
| 1354 | 1470 | <label> |
| 1355 | - <?php echo __('Show results by', "poll-maker")?> | |
| 1356 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Select the way of displaying the results: Bar chart , Pie chart or Column Chart.', "poll-maker")?>"> | |
| 1471 | + <?php echo esc_html__('Show results by', "poll-maker")?> | |
| 1472 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Select the way of displaying the results: Bar chart , Pie chart or Column Chart.', "poll-maker")?>"> | |
| 1357 | 1473 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1358 | 1474 | </a> |
| 1359 | 1475 | </label> |
| 1360 | 1476 | </div> |
| 1361 | 1477 | <div class="col-sm-9"> |
| 1362 | - <div class="d-flex"> | |
| 1478 | + <div class="d-flex ays-poll-show-result-view-type"> | |
| 1363 | 1479 | <div class="form-check form-check-inline ays_poll_loader"> |
| 1364 | 1480 | <label class="form-check-label ays_poll_check_label" |
| 1365 | - for="ays_poll_show_res_standart"> <?= __('Bar Chart', "poll-maker"); ?> </label> | |
| 1481 | + for="ays_poll_show_res_standart"> <?php echo esc_html__('Bar Chart', "poll-maker"); ?> </label> | |
| 1366 | 1482 | <input type="radio" id="ays_poll_show_res_standart" name="ays_poll_show_result_view" |
| 1367 | - value="standart" <?= ($poll_show_result_view == 'standart') ? 'checked' : ''; ?>> | |
| 1483 | + value="standart" <?php echo ($poll_show_result_view == 'standart') ? 'checked' : ''; ?>> | |
| 1368 | 1484 | </div> |
| 1369 | 1485 | <div class="form-check form-check-inline ays_poll_loader"> |
| 1370 | 1486 | <label class="form-check-label ays_poll_check_label" |
| 1371 | - for="ays_poll_show_res_pie_chart"> <?= __('Pie Chart', "poll-maker"); ?> </label> | |
| 1487 | + for="ays_poll_show_res_pie_chart"> <?php echo esc_html__('Pie Chart', "poll-maker"); ?> </label> | |
| 1372 | 1488 | <input type="radio" id="ays_poll_show_res_pie_chart" name="ays_poll_show_result_view" |
| 1373 | - value="pie_chart" <?= ($poll_show_result_view == 'pie_chart') ? 'checked' : ''; ?>> | |
| 1489 | + value="pie_chart" <?php echo ($poll_show_result_view == 'pie_chart') ? 'checked' : ''; ?>> | |
| 1374 | 1490 | </div> |
| 1375 | 1491 | <div class="form-check form-check-inline ays_poll_loader"> |
| 1376 | 1492 | <label class="form-check-label ays_poll_check_label" |
| 1377 | - for="ays_poll_show_res_column_chart"> <?= __('Column Chart', "poll-maker"); ?> </label> | |
| 1493 | + for="ays_poll_show_res_column_chart"> <?php echo esc_html__('Column Chart', "poll-maker"); ?> </label> | |
| 1378 | 1494 | <input type="radio" id="ays_poll_show_res_column_chart" name="ays_poll_show_result_view" |
| 1379 | - value="column_chart" <?= ($poll_show_result_view == 'column_chart') ? 'checked' : ''; ?> /> | |
| 1495 | + value="column_chart" <?php echo ($poll_show_result_view == 'column_chart') ? 'checked' : ''; ?> /> | |
| 1380 | 1496 | </div> |
| 1381 | 1497 | </div> |
| 1382 | 1498 | </div> |
| 1383 | 1499 | </div> |
| 1384 | 1500 | <blockquote> |
| 1385 | - <?php echo __("This shortcode will help you to get the recent submitted poll. You will need to add the ID of the poll into the shortcode or choose the true option in the recent (in this case the ID will not be essential). By default it will be false.", "poll-maker"); ?> | |
| 1501 | + <?php echo esc_html__("This shortcode will help you to get the recent submitted poll. You will need to add the ID of the poll into the shortcode or choose the true option in the recent (in this case the ID will not be essential). By default it will be false.", "poll-maker"); ?> | |
| 1386 | 1502 | </blockquote> |
| 1387 | 1503 | </fieldset> |
| 1388 | 1504 | <hr> |
| 1389 | 1505 | <fieldset> |
| @@ -1388,14 +1504,14 @@ | ||
| 1388 | 1504 | <hr> |
| 1389 | 1505 | <fieldset> |
| 1390 | 1506 | <legend> |
| 1391 | 1507 | <strong style="font-size:30px;">[ ]</strong> |
| 1392 | - <h5 class="ays-subtitle"><?php echo __('Recent Polls Settings', "poll-maker")?></h5> | |
| 1508 | + <h5 class="ays-subtitle"><?php echo esc_html__('Recent Polls Settings', "poll-maker")?></h5> | |
| 1393 | 1509 | </legend> |
| 1394 | 1510 | <div class="form-group row"> |
| 1395 | 1511 | <div class="col-sm-3"> |
| 1396 | 1512 | <label for="ays_poll_shortcodes_recent_by_id"> |
| 1397 | - <?php echo __("Shortcode", "poll-maker"); ?> | |
| 1513 | + <?php echo esc_html__("Shortcode", "poll-maker"); ?> | |
| 1398 | 1514 | </label> |
| 1399 | 1515 | </div> |
| 1400 | 1516 | <div class="col-sm-9"> |
| 1401 | 1517 | <input type="text" name="ays_poll_shortcodes_recent_by_id" id="ays_poll_shortcodes_recent_by_id" onclick="this.setSelectionRange(0, this.value.length)"readonly="" class="ays-text-input" value='[ays_display_polls orderby="random/recent" count="5"]'> |
| @@ -1404,15 +1520,15 @@ | ||
| 1404 | 1520 | </div> |
| 1405 | 1521 | <blockquote> |
| 1406 | 1522 | <ul class="ays-poll-general-settings-blockquote-ul"> |
| 1407 | 1523 | <li> |
| 1408 | - <?php echo __("Copy the following shortcode, configure it based on your preferences and paste it into the post.", "poll-maker"); ?> | |
| 1524 | + <?php echo esc_html__("Copy the following shortcode, configure it based on your preferences and paste it into the post.", "poll-maker"); ?> | |
| 1409 | 1525 | </li> |
| 1410 | 1526 | <ul class="ays-poll-general-settings-ul"> |
| 1411 | 1527 | <li> |
| 1412 | 1528 | <?php |
| 1413 | 1529 | /* translators: 1: opening b tag, 2: closing b tag */ |
| 1414 | - echo sprintf( __( "%1\$sRandom%2\$s", "poll-maker" ) . ' - ' . __( 'If you set the ordering method as random and gave a value to count option, then it will randomly display that given amount of polls from your created polls.', "poll-maker" ), | |
| 1530 | + echo sprintf(esc_html__( "%1\$sRandom%2\$s", "poll-maker" ) . ' - ' .esc_html__( 'If you set the ordering method as random and gave a value to count option, then it will randomly display that given amount of polls from your created polls.', "poll-maker" ), | |
| 1415 | 1531 | '<b>', |
| 1416 | 1532 | '</b>' |
| 1417 | 1533 | ); |
| 1418 | 1534 | ?> |
| @@ -1419,9 +1535,9 @@ | ||
| 1419 | 1535 | </li> |
| 1420 | 1536 | <li> |
| 1421 | 1537 | <?php |
| 1422 | 1538 | /* translators: 1: opening b tag, 2: closing b tag */ |
| 1423 | - echo sprintf( __( "%1\$sRecent%2\$s", "poll-maker" ) . ' - ' . __( 'If you set the ordering method as recent and gave a value to count option, then it will display that given amount of polls from your recently created polls.', "poll-maker" ), | |
| 1539 | + echo sprintf(esc_html__( "%1\$sRecent%2\$s", "poll-maker" ) . ' - ' .esc_html__( 'If you set the ordering method as recent and gave a value to count option, then it will display that given amount of polls from your recently created polls.', "poll-maker" ), | |
| 1424 | 1540 | '<b>', |
| 1425 | 1541 | '</b>' |
| 1426 | 1542 | ); |
| 1427 | 1543 | ?> |
| @@ -1433,73 +1549,102 @@ | ||
| 1433 | 1549 | <hr> |
| 1434 | 1550 | <fieldset> |
| 1435 | 1551 | <legend> |
| 1436 | 1552 | <strong style="font-size:30px;"><i class="ays_fa ays_poll_fa-list"></i></strong> |
| 1437 | - <h5><?php echo __('Poll Categories', "poll-maker")?></h5> | |
| 1438 | - </legend> | |
| 1439 | - <div class="form-group row" style="margin: 0px;"> | |
| 1440 | - <div class="col-sm-12 only_pro" style="padding:10px;"> | |
| 1441 | - <div class="pro_features pro_features_popup"> | |
| 1442 | - <div class="pro-features-popup-conteiner"> | |
| 1443 | - <div class="pro-features-popup-title"> | |
| 1444 | - <?php echo __("Poll Categories", "poll-maker"); ?> | |
| 1445 | - </div> | |
| 1446 | - <div class="pro-features-popup-content" data-link="https://youtu.be/FQRFaszwTho"> | |
| 1447 | - <p> | |
| 1448 | - <?php echo __("Display all the polls of your desired category on one page with the Poll Categories Shortcode of the plugin.", "poll-maker"); ?> | |
| 1449 | - </p> | |
| 1450 | - <p> | |
| 1451 | - <?php echo __("By doing so, you will surely boost your website engagement and get instant feedback from poll takers.", "poll-maker"); ?> | |
| 1452 | - </p> | |
| 1453 | - </div> | |
| 1454 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-poll-categories"> | |
| 1455 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 1456 | - </div> | |
| 1457 | - </div> | |
| 1458 | - </div> | |
| 1459 | - <div class="pro_features" style="justify-content:flex-end;"> | |
| 1460 | - </div> | |
| 1461 | - <blockquote> | |
| 1462 | - <p style="margin:0;"><?php echo __( "Paste the shortcode into any of your posts to show all/random polls from the given category by list/grid view.", "poll-maker" ); ?></p> | |
| 1463 | - </blockquote> | |
| 1464 | - <hr/> | |
| 1465 | - <div class="form-group row"> | |
| 1466 | - <div class="col-sm-4"> | |
| 1467 | - <label for="ays_invidLead"> | |
| 1468 | - <?php echo __( "Poll category shortcode", "poll-maker" ); ?> | |
| 1469 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Copy the following shortcode, configure it based on your preferences and paste it into the post. Put the shortcode of your preferred category, choose the method of displaying (all/random), and the design of the layout(list/grid). If you set the method as All, it will show all polls from the given category, if you set the method as Random, please give a value to count option too, and it will randomly display that given amount of polls from the given category.', "poll-maker")?>"> | |
| 1470 | - <i class="ays_poll_fas ays_poll_fa-info-circle"></i> | |
| 1471 | - </a> | |
| 1472 | - </label> | |
| 1473 | - </div> | |
| 1474 | - <div class="col-sm-8"> | |
| 1475 | - <input type="text" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_poll_cat id="Your Poll Cat ID" display="all/random" count="5" layout="list/grid"]'> | |
| 1476 | - </div> | |
| 1477 | - </div> | |
| 1478 | - <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> | |
| 1479 | - <div class="ays-poll-new-upgrade-button-box"> | |
| 1480 | - <div> | |
| 1481 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1482 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1483 | - </div> | |
| 1484 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1485 | - </div> | |
| 1486 | - </a> | |
| 1487 | - <div class="ays-poll-new-watch-video-button-box"> | |
| 1488 | - <div> | |
| 1489 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 1490 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1491 | - </div> | |
| 1492 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 1493 | - </div> | |
| 1553 | + <h5><?php echo __('Poll Categories',"poll-maker")?></h5> | |
| 1554 | + </legend> | |
| 1555 | + <div class="form-group row"> | |
| 1556 | + <div class="col-sm-4"> | |
| 1557 | + <label for="ays_invidLead"> | |
| 1558 | + <?php echo __( "Poll category shortcode", "poll-maker" ); ?> | |
| 1559 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Copy the following shortcode, configure it based on your preferences and paste it into the post. Put the shortcode of your preferred category, choose the method of displaying (all/random), and the design of the layout(list/grid). If you set the method as All, it will show all polls from the given category, if you set the method as Random, please give a value to count option too, and it will randomly display that given amount of polls from the given category.',"poll-maker")?>"> | |
| 1560 | + <i class="ays_poll_fas ays_poll_fa-info-circle"></i> | |
| 1561 | + </a> | |
| 1562 | + </label> | |
| 1494 | 1563 | </div> |
| 1564 | + <hr/> | |
| 1565 | + <div class="col-sm-8"> | |
| 1566 | + <input type="text" id="ays_invidLead" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_poll_cat id="Your_Poll_Cat_ID" display="all" count="5" layout="list" sorting="date_asc"]'> | |
| 1567 | + </div> | |
| 1495 | 1568 | </div> |
| 1569 | + <hr/> | |
| 1570 | + <div class="form-group row"> | |
| 1571 | + <div class="col-sm-4"> | |
| 1572 | + <label for='cat_show_title'> | |
| 1573 | + <?= __('Show category title', "poll-maker"); ?> | |
| 1574 | + <a class="ays_help" | |
| 1575 | + data-toggle="tooltip" | |
| 1576 | + data-placement="top" | |
| 1577 | + title="<?= __("Show or hide the name of the category poll", "poll-maker"); ?>"> | |
| 1578 | + <i class="ays_poll_fas ays_poll_fa-info-circle"></i> | |
| 1579 | + </a></label> | |
| 1580 | + </div> | |
| 1581 | + <div class="col-sm-8"> | |
| 1582 | + <input type="checkbox" name="ays_poll_show_cat_title" id="cat_show_title" | |
| 1583 | + value="on" <?= $show_cat_title ?>> | |
| 1584 | + </div> | |
| 1585 | + </div> | |
| 1586 | + <hr/> | |
| 1587 | + <blockquote> | |
| 1588 | + <ul> | |
| 1589 | + <li> | |
| 1590 | + <b><?php echo __('Display (all/random)',"poll-maker"); ?></b> | |
| 1591 | + <?php echo __(' - Choose the method of displaying. Example:display="random".',"poll-maker"); ?> | |
| 1592 | + <ul class='ays_poll_shorcode_methodes'> | |
| 1593 | + <li> | |
| 1594 | + <b><?php echo __('All',"poll-maker"); ?></b> | |
| 1595 | + <?php echo __(' - If you set the method as All, it will show all polls from the given category.',"poll-maker"); ?></li> | |
| 1596 | + <li> | |
| 1597 | + <b><?php echo __('Random',"poll-maker"); ?></b> | |
| 1598 | + <?php echo __(' - If you set the method as Random, please give a value to count option too, and it will randomly display that given amount of polls from the given category.',"poll-maker"); ?></li> | |
| 1599 | + </ul> | |
| 1600 | + </li> | |
| 1601 | + <li> | |
| 1602 | + <b><?php echo __('Layout(list/grid)',"poll-maker"); ?></b> | |
| 1603 | + <?php echo __(' - Choose the design of the layout. Example:layout=grid.',"poll-maker"); ?> | |
| 1604 | + <ul class='ays_poll_shorcode_methodes'> | |
| 1605 | + <li> | |
| 1606 | + <b><?php echo __('List',"poll-maker"); ?></b> | |
| 1607 | + <?php echo __(' - Choose the design of the layout as list․',"poll-maker"); ?></li> | |
| 1608 | + <li> | |
| 1609 | + <b><?php echo __('Grid',"poll-maker"); ?></b> | |
| 1610 | + <?php echo __(' - Choose the design of the layout as grid․',"poll-maker"); ?></li> | |
| 1611 | + </ul> | |
| 1612 | + </li> | |
| 1613 | + <li> | |
| 1614 | + <b><?php echo __('Sorting (date_asc|date_desc|popular_asc|popular_desc)',"poll-maker"); ?></b> | |
| 1615 | + <?php echo __(' - Choose the method of sorting. Example:sorting=date_desc.',"poll-maker"); ?> | |
| 1616 | + <ul class='ays_poll_shorcode_methodes'> | |
| 1617 | + <li> | |
| 1618 | + <b><?php echo __('Date_asc:',"poll-maker"); ?></b> | |
| 1619 | + <?php echo __(' The earliest created polls will appear at first.',"poll-maker"); ?> | |
| 1620 | + </li> | |
| 1621 | + <li> | |
| 1622 | + <b><?php echo __('Date_desc:',"poll-maker"); ?></b> | |
| 1623 | + <?php echo __(' The latest created polls will appear at first.',"poll-maker"); ?> | |
| 1624 | + </li> | |
| 1625 | + <li> | |
| 1626 | + <b><?php echo __('Popular_asc:',"poll-maker"); ?></b> | |
| 1627 | + <?php echo __(' The most voted polls will appear at first.',"poll-maker"); ?> | |
| 1628 | + </li> | |
| 1629 | + <li> | |
| 1630 | + <b><?php echo __('Popular_desc:',"poll-maker"); ?></b> | |
| 1631 | + <?php echo __(' The most voted polls will appear in the end.',"poll-maker"); ?> | |
| 1632 | + </li> | |
| 1633 | + </ul> | |
| 1634 | + </li> | |
| 1635 | + </ul> | |
| 1636 | + </blockquote> | |
| 1637 | + <hr> | |
| 1638 | + <blockquote> | |
| 1639 | + <p style="margin:0;"><?php echo __( "Paste the shortcode into any of your posts to show all/random polls from the given category by list/grid view.", "poll-maker" ); ?></p> | |
| 1640 | + </blockquote> | |
| 1496 | 1641 | </fieldset> |
| 1497 | 1642 | <hr> |
| 1498 | 1643 | <fieldset> |
| 1499 | 1644 | <legend> |
| 1500 | 1645 | <strong style="font-size:30px;">[ ]</strong> |
| 1501 | - <h5 class="ays-subtitle"><?php echo __('Global Leaderboard Settings', "poll-maker")?></h5> | |
| 1646 | + <h5 class="ays-subtitle"><?php echo esc_html__('Global Leaderboard Settings', "poll-maker")?></h5> | |
| 1502 | 1647 | </legend> |
| 1503 | 1648 | <div class="form-group row" style="margin: 0px;"> |
| 1504 | 1649 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1505 | 1650 | <div class="pro_features pro_features_popup"> |
| @@ -1504,20 +1649,20 @@ | ||
| 1504 | 1649 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1505 | 1650 | <div class="pro_features pro_features_popup"> |
| 1506 | 1651 | <div class="pro-features-popup-conteiner"> |
| 1507 | 1652 | <div class="pro-features-popup-title"> |
| 1508 | - <?php echo __("Global Leaderboard Settings", "poll-maker"); ?> | |
| 1653 | + <?php echo esc_html__("Global Leaderboard Settings", "poll-maker"); ?> | |
| 1509 | 1654 | </div> |
| 1510 | 1655 | <div class="pro-features-popup-content" data-link="https://youtu.be/1DyCPpZIAR8"> |
| 1511 | 1656 | <p> |
| 1512 | - <?php echo __("Make the online voting process a competitive experience for your website visitors. Insert the Leaderboard shortcodes into your desired page or post to show the list of top users who passed the polls.", "poll-maker"); ?> | |
| 1657 | + <?php echo esc_html__("Make the online voting process a competitive experience for your website visitors. Insert the Leaderboard shortcodes into your desired page or post to show the list of top users who passed the polls.", "poll-maker"); ?> | |
| 1513 | 1658 | </p> |
| 1514 | 1659 | <p> |
| 1515 | - <?php echo __("Website visitors will be more inclined to vote for polls, as their vote matters.", "poll-maker"); ?> | |
| 1660 | + <?php echo esc_html__("Website visitors will be more inclined to vote for polls, as their vote matters.", "poll-maker"); ?> | |
| 1516 | 1661 | </p> |
| 1517 | 1662 | </div> |
| 1518 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-global-leaderboard-settings"> | |
| 1519 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 1663 | + <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-global-leaderboard-settings-<?php echo esc_attr( POLL_MAKER_AYS_VERSION ); ?>"> | |
| 1664 | + <?php echo esc_html__("Pricing", "poll-maker"); ?> | |
| 1520 | 1665 | </div> |
| 1521 | 1666 | </div> |
| 1522 | 1667 | </div> |
| 1523 | 1668 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1522,16 +1667,16 @@ | ||
| 1522 | 1667 | </div> |
| 1523 | 1668 | <div class="pro_features" style="justify-content:flex-end;"> |
| 1524 | 1669 | </div> |
| 1525 | 1670 | <blockquote> |
| 1526 | - <?php echo __( "Paste the shortcode into any of your posts to show the list of the top users who have passed your polls.", "poll-maker" ); ?> | |
| 1671 | + <?php echo esc_html__( "Paste the shortcode into any of your posts to show the list of the top users who have passed your polls.", "poll-maker" ); ?> | |
| 1527 | 1672 | </blockquote> |
| 1528 | 1673 | <hr> |
| 1529 | 1674 | <div class="form-group row"> |
| 1530 | 1675 | <div class="col-sm-4"> |
| 1531 | 1676 | <label for="ays_globLead"> |
| 1532 | - <?php echo __( "Global Leaderboard shortcode", "poll-maker" ); ?> | |
| 1533 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('You can copy the shortcode and paste it to any post/page to see the list of the top user’s who passed any poll.', "poll-maker")?>"> | |
| 1677 | + <?php echo esc_html__( "Global Leaderboard shortcode", "poll-maker" ); ?> | |
| 1678 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('You can copy the shortcode and paste it to any post/page to see the list of the top user’s who passed any poll.', "poll-maker")?>"> | |
| 1534 | 1679 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1535 | 1680 | </a> |
| 1536 | 1681 | </label> |
| 1537 | 1682 | </div> |
| @@ -1541,10 +1686,10 @@ | ||
| 1541 | 1686 | </div> |
| 1542 | 1687 | <div class="form-group row"> |
| 1543 | 1688 | <div class="col-sm-4"> |
| 1544 | 1689 | <label for="ays_gleadboard_count"> |
| 1545 | - <?php echo __('Users count', "poll-maker")?> | |
| 1546 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('How many users’ results will be shown in the leaderboard.', "poll-maker")?>"> | |
| 1690 | + <?php echo esc_html__('Users count', "poll-maker")?> | |
| 1691 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('How many users’ results will be shown in the leaderboard.', "poll-maker")?>"> | |
| 1547 | 1692 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1548 | 1693 | </a> |
| 1549 | 1694 | </label> |
| 1550 | 1695 | </div> |
| @@ -1556,10 +1701,10 @@ | ||
| 1556 | 1701 | </div> |
| 1557 | 1702 | <div class="form-group row"> |
| 1558 | 1703 | <div class="col-sm-4"> |
| 1559 | 1704 | <label for="ays_gleadboard_width"> |
| 1560 | - <?php echo __('Width', "poll-maker")?> | |
| 1561 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('The width of the Leaderboard box. It accepts only numeric values. For 100% leave it blank.', "poll-maker")?>"> | |
| 1705 | + <?php echo esc_html__('Width', "poll-maker")?> | |
| 1706 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('The width of the Leaderboard box. It accepts only numeric values. For 100% leave it blank.', "poll-maker")?>"> | |
| 1562 | 1707 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1563 | 1708 | </a> |
| 1564 | 1709 | </label> |
| 1565 | 1710 | </div> |
| @@ -1566,16 +1711,16 @@ | ||
| 1566 | 1711 | <div class="col-sm-8"> |
| 1567 | 1712 | <input type="number" |
| 1568 | 1713 | class="ays-text-input" |
| 1569 | 1714 | name="ays_gleadboard_width"> |
| 1570 | - <span style="display:block;" class="ays_poll_small_hint_text"><?php echo __("For 100% leave blank", "poll-maker");?></span> | |
| 1715 | + <span style="display:block;" class="ays_poll_small_hint_text"><?php echo esc_html__("For 100% leave blank", "poll-maker");?></span> | |
| 1571 | 1716 | </div> |
| 1572 | 1717 | </div> |
| 1573 | 1718 | <div class="form-group row"> |
| 1574 | 1719 | <div class="col-sm-4"> |
| 1575 | 1720 | <label> |
| 1576 | - <?php echo __('Users group by', "poll-maker")?> | |
| 1577 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Select the way for grouping the results. If you want to make Leaderboard for logged in users, then choose ID. It will collect results by WP user ID. If you want to make Leaderboard for guests, then you need to choose Email and enable Information Form and Email, Name options from poll settings. It will group results by emails and display guests Names.', "poll-maker")?>"> | |
| 1721 | + <?php echo esc_html__('Users group by', "poll-maker")?> | |
| 1722 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Select the way for grouping the results. If you want to make Leaderboard for logged in users, then choose ID. It will collect results by WP user ID. If you want to make Leaderboard for guests, then you need to choose Email and enable Information Form and Email, Name options from poll settings. It will group results by emails and display guests Names.', "poll-maker")?>"> | |
| 1578 | 1723 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1579 | 1724 | </a> |
| 1580 | 1725 | </label> |
| 1581 | 1726 | </div> |
| @@ -1581,13 +1726,13 @@ | ||
| 1581 | 1726 | </div> |
| 1582 | 1727 | <div class="col-sm-8"> |
| 1583 | 1728 | <label class="ays_poll_loader"> |
| 1584 | 1729 | <input type="radio" name="ays_gleadboard_orderby" value="id"> |
| 1585 | - <span><?php echo __( "ID", "poll-maker"); ?></span> | |
| 1730 | + <span><?php echo esc_html__( "ID", "poll-maker"); ?></span> | |
| 1586 | 1731 | </label> |
| 1587 | 1732 | <label class="ays_poll_loader"> |
| 1588 | 1733 | <input type="radio" name="ays_gleadboard_orderby" value="email"> |
| 1589 | - <span><?php echo __( "Email", "poll-maker"); ?></span> | |
| 1734 | + <span><?php echo esc_html__( "Email", "poll-maker"); ?></span> | |
| 1590 | 1735 | </label> |
| 1591 | 1736 | </div> |
| 1592 | 1737 | </div> |
| 1593 | 1738 | <div class="form-group row"> |
| @@ -1592,10 +1737,10 @@ | ||
| 1592 | 1737 | </div> |
| 1593 | 1738 | <div class="form-group row"> |
| 1594 | 1739 | <div class="col-sm-4"> |
| 1595 | 1740 | <label for="ays_gleadboard_color"> |
| 1596 | - <?php echo __('Color', "poll-maker")?> | |
| 1597 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Top color of the leaderboard', "poll-maker")?>"> | |
| 1741 | + <?php echo esc_html__('Color', "poll-maker")?> | |
| 1742 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Top color of the leaderboard', "poll-maker")?>"> | |
| 1598 | 1743 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1599 | 1744 | </a> |
| 1600 | 1745 | </label> |
| 1601 | 1746 | </div> |
| @@ -1605,10 +1750,10 @@ | ||
| 1605 | 1750 | </div> |
| 1606 | 1751 | <div class="form-group row"> |
| 1607 | 1752 | <div class="col-sm-4"> |
| 1608 | 1753 | <label for="ays_gleadboard_custom_css"> |
| 1609 | - <?php echo __('Custom CSS', "poll-maker")?> | |
| 1610 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Field for entering your own CSS code', "poll-maker")?>"> | |
| 1754 | + <?php echo esc_html__('Custom CSS', "poll-maker")?> | |
| 1755 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Field for entering your own CSS code', "poll-maker")?>"> | |
| 1611 | 1756 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1612 | 1757 | </a> |
| 1613 | 1758 | </label> |
| 1614 | 1759 | </div> |
| @@ -1619,35 +1764,35 @@ | ||
| 1619 | 1764 | </div> <!-- Custom global leadboard CSS --> |
| 1620 | 1765 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1621 | 1766 | <div class="ays-poll-new-upgrade-button-box"> |
| 1622 | 1767 | <div> |
| 1623 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1624 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1768 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1769 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1625 | 1770 | </div> |
| 1626 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1771 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1627 | 1772 | </div> |
| 1628 | 1773 | </a> |
| 1629 | 1774 | <div class="ays-poll-new-watch-video-button-box"> |
| 1630 | 1775 | <div> |
| 1631 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 1632 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1776 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 1777 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1633 | 1778 | </div> |
| 1634 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 1779 | + <div class="ays-poll-new-watch-video-button"><?php echo esc_html__("Watch Video", "poll-maker"); ?></div> | |
| 1635 | 1780 | </div> |
| 1636 | 1781 | <div class="ays-poll-center-big-main-button-box ays-poll-new-big-button-flex"> |
| 1637 | 1782 | <div class="ays-poll-center-big-watch-video-button-box"> |
| 1638 | 1783 | <div class="ays-poll-center-new-watch-video-demo-button"> |
| 1639 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1640 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1641 | - <?php echo __("Watch Video", "poll-maker"); ?> | |
| 1784 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1785 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1786 | + <span class="ays-poll-center-new-watch-video-demo-name"><?php echo esc_html__("Watch Video", "poll-maker"); ?></span> | |
| 1642 | 1787 | </div> |
| 1643 | 1788 | </div> |
| 1644 | 1789 | <div class="ays-poll-center-big-upgrade-button-box"> |
| 1645 | 1790 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1646 | 1791 | <div class="ays-poll-center-new-big-upgrade-button"> |
| 1647 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1648 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1649 | - <?php echo __("Upgrade", "poll-maker"); ?> | |
| 1792 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1793 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1794 | + <?php echo esc_html__("Upgrade", "poll-maker"); ?> | |
| 1650 | 1795 | </div> |
| 1651 | 1796 | </a> |
| 1652 | 1797 | </div> |
| 1653 | 1798 | </div> |
| @@ -1653,12 +1798,13 @@ | ||
| 1653 | 1798 | </div> |
| 1654 | 1799 | </div> |
| 1655 | 1800 | </div> |
| 1656 | 1801 | </fieldset> |
| 1802 | + <hr> | |
| 1657 | 1803 | <fieldset> |
| 1658 | 1804 | <legend> |
| 1659 | 1805 | <strong style="font-size:30px;">[ ]</strong> |
| 1660 | - <h5 class="ays-subtitle"><?php echo __('Global Leaderboard By Category Settings', "poll-maker")?></h5> | |
| 1806 | + <h5 class="ays-subtitle"><?php echo esc_html__('Global Leaderboard By Category Settings', "poll-maker")?></h5> | |
| 1661 | 1807 | </legend> |
| 1662 | 1808 | <!-- shortcode --> |
| 1663 | 1809 | <div class="form-group row" style="margin: 0px;"> |
| 1664 | 1810 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| @@ -1666,16 +1812,16 @@ | ||
| 1666 | 1812 | </div> |
| 1667 | 1813 | <div class="form-group row"> |
| 1668 | 1814 | <div class="col-sm-4"> |
| 1669 | 1815 | <label for=""> |
| 1670 | - <?php echo __( "Shortcode", "poll-maker" ); ?> | |
| 1671 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Paste the shortcode into any of your posts or pages to show the list of the top users who have voted your polls. It will print the attempts count of each poll participant, as well.', "poll-maker")?>"> | |
| 1816 | + <?php echo esc_html__( "Shortcode", "poll-maker" ); ?> | |
| 1817 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Paste the shortcode into any of your posts or pages to show the list of the top users who have voted your polls. It will print the attempts count of each poll participant, as well.', "poll-maker")?>"> | |
| 1672 | 1818 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1673 | 1819 | </a> |
| 1674 | 1820 | </label> |
| 1675 | 1821 | </div> |
| 1676 | 1822 | <div class="col-sm-8"> |
| 1677 | - <input type="text" value='[ays_poll_cat_gleaderboard id="Your Poll Category ID"]'> | |
| 1823 | + <input type="text" style="width: 100%;" value='[ays_poll_cat_gleaderboard id="Your Poll Category ID"]'> | |
| 1678 | 1824 | </div> |
| 1679 | 1825 | </div> |
| 1680 | 1826 | <hr/> |
| 1681 | 1827 | <!-- users count --> |
| @@ -1681,10 +1827,10 @@ | ||
| 1681 | 1827 | <!-- users count --> |
| 1682 | 1828 | <div class="form-group row"> |
| 1683 | 1829 | <div class="col-sm-4"> |
| 1684 | 1830 | <label for=""> |
| 1685 | - <?php echo __('Users count', "poll-maker")?> | |
| 1686 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Specify how many users’ results to be shown on the leaderboard.', "poll-maker")?>"> | |
| 1831 | + <?php echo esc_html__('Users count', "poll-maker")?> | |
| 1832 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Specify how many users’ results to be shown on the leaderboard.', "poll-maker")?>"> | |
| 1687 | 1833 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1688 | 1834 | </a> |
| 1689 | 1835 | </label> |
| 1690 | 1836 | </div> |
| @@ -1698,10 +1844,10 @@ | ||
| 1698 | 1844 | <!-- witdth --> |
| 1699 | 1845 | <div class="form-group row"> |
| 1700 | 1846 | <div class="col-sm-4"> |
| 1701 | 1847 | <label for=""> |
| 1702 | - <?php echo __('Width', "poll-maker")?> | |
| 1703 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __("Set the width of the leaderboard's box. It accepts only numeric values. For 100%, leave the field blank.", "poll-maker")?>"> | |
| 1848 | + <?php echo esc_html__('Width', "poll-maker")?> | |
| 1849 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__("Set the width of the leaderboard's box. It accepts only numeric values. For 100%, leave the field blank.", "poll-maker")?>"> | |
| 1704 | 1850 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1705 | 1851 | </a> |
| 1706 | 1852 | </label> |
| 1707 | 1853 | </div> |
| @@ -1708,9 +1854,9 @@ | ||
| 1708 | 1854 | <div class="col-sm-8"> |
| 1709 | 1855 | <input type="number" |
| 1710 | 1856 | class="ays-text-input" |
| 1711 | 1857 | /> |
| 1712 | - <span style="display:block;" class="ays_poll_small_hint_text"><?php echo __("For 100% leave blank", "poll-maker");?></span> | |
| 1858 | + <span style="display:block;" class="ays_poll_small_hint_text"><?php echo esc_html__("For 100% leave blank", "poll-maker");?></span> | |
| 1713 | 1859 | </div> |
| 1714 | 1860 | </div> |
| 1715 | 1861 | <hr/> |
| 1716 | 1862 | <!-- users group by --> |
| @@ -1716,10 +1862,10 @@ | ||
| 1716 | 1862 | <!-- users group by --> |
| 1717 | 1863 | <div class="form-group row"> |
| 1718 | 1864 | <div class="col-sm-4"> |
| 1719 | 1865 | <label> |
| 1720 | - <?php echo __('Group users by', "poll-maker")?> | |
| 1721 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Select the way for grouping the results. | |
| 1866 | + <?php echo esc_html__('Group users by', "poll-maker")?> | |
| 1867 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Select the way for grouping the results. | |
| 1722 | 1868 | By ID - Choose by ID if you want to make a leaderboard for logged-in users. It will collect results by WordPress user ID. |
| 1723 | 1869 | By Email - Choose by email if you want to make the leaderboard for guests. In this case, do not forget to activate the Information Form of the given polls.', "poll-maker")?>"> |
| 1724 | 1870 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1725 | 1871 | </a> |
| @@ -1727,13 +1873,13 @@ | ||
| 1727 | 1873 | </div> |
| 1728 | 1874 | <div class="col-sm-8"> |
| 1729 | 1875 | <label class="ays_poll_loader"> |
| 1730 | 1876 | <input type="radio"/> |
| 1731 | - <span><?php echo __( "ID", "poll-maker"); ?></span> | |
| 1877 | + <span><?php echo esc_html__( "ID", "poll-maker"); ?></span> | |
| 1732 | 1878 | </label> |
| 1733 | 1879 | <label class="ays_poll_loader"> |
| 1734 | 1880 | <input type="radio"/> |
| 1735 | - <span><?php echo __( "Email", "poll-maker"); ?></span> | |
| 1881 | + <span><?php echo esc_html__( "Email", "poll-maker"); ?></span> | |
| 1736 | 1882 | </label> |
| 1737 | 1883 | </div> |
| 1738 | 1884 | </div> |
| 1739 | 1885 | <hr/> |
| @@ -1740,10 +1886,10 @@ | ||
| 1740 | 1886 | <!-- color --> |
| 1741 | 1887 | <div class="form-group row"> |
| 1742 | 1888 | <div class="col-sm-4"> |
| 1743 | 1889 | <label for=""> |
| 1744 | - <?php echo __('Color', "poll-maker")?> | |
| 1745 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __("Choose the color of the leaderboard's box.", "poll-maker")?>"> | |
| 1890 | + <?php echo esc_html__('Color', "poll-maker")?> | |
| 1891 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__("Choose the color of the leaderboard's box.", "poll-maker")?>"> | |
| 1746 | 1892 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1747 | 1893 | </a> |
| 1748 | 1894 | </label> |
| 1749 | 1895 | </div> |
| @@ -1755,10 +1901,10 @@ | ||
| 1755 | 1901 | <!-- custom css --> |
| 1756 | 1902 | <div class="form-group row"> |
| 1757 | 1903 | <div class="col-sm-4"> |
| 1758 | 1904 | <label for="ays_poll_cat_gleadboard_custom_css"> |
| 1759 | - <?php echo __('Custom CSS', "poll-maker")?> | |
| 1760 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Enter your own custom CSS code.', "poll-maker")?>"> | |
| 1905 | + <?php echo esc_html__('Custom CSS', "poll-maker")?> | |
| 1906 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Enter your own custom CSS code.', "poll-maker")?>"> | |
| 1761 | 1907 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1762 | 1908 | </a> |
| 1763 | 1909 | </label> |
| 1764 | 1910 | </div> |
| @@ -1768,17 +1914,17 @@ | ||
| 1768 | 1914 | </div> |
| 1769 | 1915 | </div> |
| 1770 | 1916 | <hr> |
| 1771 | 1917 | <blockquote> |
| 1772 | - <?php echo __( "Paste the shortcode into any of your posts or pages to show the list of the top users who have voted your polls. It will print the attempts count of each poll participant, as well.", "poll-maker" ); ?> | |
| 1918 | + <?php echo esc_html__( "Paste the shortcode into any of your posts or pages to show the list of the top users who have voted your polls. It will print the attempts count of each poll participant, as well.", "poll-maker" ); ?> | |
| 1773 | 1919 | </blockquote> |
| 1774 | 1920 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1775 | 1921 | <div class="ays-poll-new-upgrade-button-box"> |
| 1776 | 1922 | <div> |
| 1777 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1778 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1923 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1924 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1779 | 1925 | </div> |
| 1780 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1926 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1781 | 1927 | </div> |
| 1782 | 1928 | </a> |
| 1783 | 1929 | <div class="ays-poll-center-big-main-button-box ays-poll-new-big-button-flex"> |
| 1784 | 1930 | <div class="ays-poll-center-big-main-button-box"> |
| @@ -1783,11 +1929,11 @@ | ||
| 1783 | 1929 | <div class="ays-poll-center-big-main-button-box ays-poll-new-big-button-flex"> |
| 1784 | 1930 | <div class="ays-poll-center-big-main-button-box"> |
| 1785 | 1931 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1786 | 1932 | <div class="ays-poll-center-new-big-upgrade-button"> |
| 1787 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1788 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1789 | - <?php echo __("Upgrade", "poll-maker"); ?> | |
| 1933 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>" class="ays-poll-new-button-img-hide"> | |
| 1934 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1935 | + <?php echo esc_html__("Upgrade", "poll-maker"); ?> | |
| 1790 | 1936 | </div> |
| 1791 | 1937 | </a> |
| 1792 | 1938 | </div> |
| 1793 | 1939 | </div> |
| @@ -1797,9 +1943,9 @@ | ||
| 1797 | 1943 | <hr/> |
| 1798 | 1944 | <fieldset> |
| 1799 | 1945 | <legend> |
| 1800 | 1946 | <strong style="font-size:30px;"><i class="ays_fa ays_poll_fa-poll"></i></strong> |
| 1801 | - <h5><?php echo __( 'Request Form', "poll-maker" )?></h5> | |
| 1947 | + <h5><?php echo esc_html__( 'Request Form', "poll-maker" )?></h5> | |
| 1802 | 1948 | </legend> |
| 1803 | 1949 | <div class="form-group row" style="margin: 0px;"> |
| 1804 | 1950 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1805 | 1951 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1806,10 +1952,10 @@ | ||
| 1806 | 1952 | </div> |
| 1807 | 1953 | <div class="form-group row"> |
| 1808 | 1954 | <div class="col-sm-4"> |
| 1809 | 1955 | <label for=""> |
| 1810 | - <?php echo __( "Shortcode", "poll-maker" ); ?> | |
| 1811 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Copy the following shortcode and paste it into your desired post. It will allow users to send a request for building a poll with simple settings (Poll title, question, answers). Find the list of the requests in the Requests page, which is located on the Poll Maker left navbar. For accepting the request, the admin needs to click on the Approve button next to the given poll.', "poll-maker")?>"> | |
| 1956 | + <?php echo esc_html__( "Shortcode", "poll-maker" ); ?> | |
| 1957 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Copy the following shortcode and paste it into your desired post. It will allow users to send a request for building a poll with simple settings (Poll title, question, answers). Find the list of the requests in the Requests page, which is located on the Poll Maker left navbar. For accepting the request, the admin needs to click on the Approve button next to the given poll.', "poll-maker")?>"> | |
| 1812 | 1958 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1813 | 1959 | </a> |
| 1814 | 1960 | </label> |
| 1815 | 1961 | </div> |
| @@ -1819,17 +1965,17 @@ | ||
| 1819 | 1965 | </div> |
| 1820 | 1966 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1821 | 1967 | <div class="ays-poll-new-upgrade-button-box"> |
| 1822 | 1968 | <div> |
| 1823 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1824 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1969 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1970 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1825 | 1971 | </div> |
| 1826 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 1972 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1827 | 1973 | </div> |
| 1828 | 1974 | </a> |
| 1829 | 1975 | <hr/> |
| 1830 | 1976 | <blockquote> |
| 1831 | - <p style="margin:0;"><?php echo __( "Ability to allow users to create a poll from the front-end.", "poll-maker" ); ?></p> | |
| 1977 | + <p style="margin:0;"><?php echo esc_html__( "Ability to allow users to create a poll from the front-end.", "poll-maker" ); ?></p> | |
| 1832 | 1978 | </blockquote> |
| 1833 | 1979 | </div> |
| 1834 | 1980 | </fieldset> |
| 1835 | 1981 | <hr> |
| @@ -1835,9 +1981,9 @@ | ||
| 1835 | 1981 | <hr> |
| 1836 | 1982 | <fieldset> |
| 1837 | 1983 | <legend> |
| 1838 | 1984 | <strong style="font-size:30px;">[ ]</strong> |
| 1839 | - <h5><?php echo __('User History Settings', "poll-maker")?></h5> | |
| 1985 | + <h5><?php echo esc_html__('User History Settings', "poll-maker")?></h5> | |
| 1840 | 1986 | </legend> |
| 1841 | 1987 | <div class="form-group row" style="margin: 0px;"> |
| 1842 | 1988 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1843 | 1989 | <div class="pro_features pro_features_popup"> |
| @@ -1842,20 +1988,20 @@ | ||
| 1842 | 1988 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1843 | 1989 | <div class="pro_features pro_features_popup"> |
| 1844 | 1990 | <div class="pro-features-popup-conteiner"> |
| 1845 | 1991 | <div class="pro-features-popup-title"> |
| 1846 | - <?php echo __("User History Settings", "poll-maker"); ?> | |
| 1992 | + <?php echo esc_html__("User History Settings", "poll-maker"); ?> | |
| 1847 | 1993 | </div> |
| 1848 | 1994 | <div class="pro-features-popup-content" data-link="https://youtu.be/195Y_5voqYU"> |
| 1849 | 1995 | <p> |
| 1850 | - <?php echo __("With the User History Settings Shortcode, you can display all votes of the current user on one page.", "poll-maker"); ?> | |
| 1996 | + <?php echo esc_html__("With the User History Settings Shortcode, you can display all votes of the current user on one page.", "poll-maker"); ?> | |
| 1851 | 1997 | </p> |
| 1852 | 1998 | <p> |
| 1853 | - <?php echo __("This is the best way to learn how the voting history of the current user has changed over time.", "poll-maker"); ?> | |
| 1999 | + <?php echo esc_html__("This is the best way to learn how the voting history of the current user has changed over time.", "poll-maker"); ?> | |
| 1854 | 2000 | </p> |
| 1855 | 2001 | </div> |
| 1856 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-user-history"> | |
| 1857 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 2002 | + <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-user-history-<?php echo esc_attr( POLL_MAKER_AYS_VERSION ); ?>"> | |
| 2003 | + <?php echo esc_html__("Pricing", "poll-maker"); ?> | |
| 1858 | 2004 | </div> |
| 1859 | 2005 | </div> |
| 1860 | 2006 | </div> |
| 1861 | 2007 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1862,10 +2008,10 @@ | ||
| 1862 | 2008 | </div> |
| 1863 | 2009 | <div class="form-group row"> |
| 1864 | 2010 | <div class="col-sm-4"> |
| 1865 | 2011 | <label for=""> |
| 1866 | - <?php echo __( "Shortcode", "poll-maker" ); ?> | |
| 1867 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('Paste the shortcode into any of your posts or pages to show the current user’s votes history. Each user will see individually presented content based on their taken polls.', "poll-maker")?>"> | |
| 2012 | + <?php echo esc_html__( "Shortcode", "poll-maker" ); ?> | |
| 2013 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('Paste the shortcode into any of your posts or pages to show the current user’s votes history. Each user will see individually presented content based on their taken polls.', "poll-maker")?>"> | |
| 1868 | 2014 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1869 | 2015 | </a> |
| 1870 | 2016 | </label> |
| 1871 | 2017 | </div> |
| @@ -1876,10 +2022,10 @@ | ||
| 1876 | 2022 | <hr> |
| 1877 | 2023 | <div class="form-group row"> |
| 1878 | 2024 | <div class="col-sm-12"> |
| 1879 | 2025 | <label> |
| 1880 | - <?php echo __( "User history results table columns", "poll-maker" ); ?> | |
| 1881 | - <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo __('You can sort table columns and select which columns must display on the front-end.', "poll-maker")?>"> | |
| 2026 | + <?php echo esc_html__( "User history results table columns", "poll-maker" ); ?> | |
| 2027 | + <a class="ays_help ays-poll-zindex-for-pro-tooltip" data-toggle="tooltip" title="<?php echo esc_html__('You can sort table columns and select which columns must display on the front-end.', "poll-maker")?>"> | |
| 1882 | 2028 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1883 | 2029 | </a> |
| 1884 | 2030 | </label> |
| 1885 | 2031 | <div class="ays-show-user-history-table-wrap"> |
| @@ -1902,20 +2048,20 @@ | ||
| 1902 | 2048 | </div> |
| 1903 | 2049 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 1904 | 2050 | <div class="ays-poll-new-upgrade-button-box"> |
| 1905 | 2051 | <div> |
| 1906 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 1907 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 2052 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 2053 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 1908 | 2054 | </div> |
| 1909 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 2055 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 1910 | 2056 | </div> |
| 1911 | 2057 | </a> |
| 1912 | 2058 | <div class="ays-poll-new-watch-video-button-box"> |
| 1913 | 2059 | <div> |
| 1914 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 1915 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 2060 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 2061 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 1916 | 2062 | </div> |
| 1917 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 2063 | + <div class="ays-poll-new-watch-video-button"><?php echo esc_html__("Watch Video", "poll-maker"); ?></div> | |
| 1918 | 2064 | </div> |
| 1919 | 2065 | </div> |
| 1920 | 2066 | </div> |
| 1921 | 2067 | </fieldset><!-- User history shortcode --> |
| @@ -1923,9 +2069,9 @@ | ||
| 1923 | 2069 | <!-- Show all result start --> |
| 1924 | 2070 | <fieldset> |
| 1925 | 2071 | <legend> |
| 1926 | 2072 | <strong style="font-size:30px;">[ ]</strong> |
| 1927 | - <h5 class="ays-subtitle"><?php echo __('All Results Settings', "poll-maker")?></h5> | |
| 2073 | + <h5 class="ays-subtitle"><?php echo esc_html__('All Results Settings', "poll-maker")?></h5> | |
| 1928 | 2074 | </legend> |
| 1929 | 2075 | <div class="form-group row" style="margin: 0px;"> |
| 1930 | 2076 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1931 | 2077 | <div class="pro_features pro_features_popup"> |
| @@ -1930,20 +2076,20 @@ | ||
| 1930 | 2076 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 1931 | 2077 | <div class="pro_features pro_features_popup"> |
| 1932 | 2078 | <div class="pro-features-popup-conteiner"> |
| 1933 | 2079 | <div class="pro-features-popup-title"> |
| 1934 | - <?php echo __("All Results Settings", "poll-maker"); ?> | |
| 2080 | + <?php echo esc_html__("All Results Settings", "poll-maker"); ?> | |
| 1935 | 2081 | </div> |
| 1936 | 2082 | <div class="pro-features-popup-content" data-link="https://youtu.be/bvY8hVmIGOA"> |
| 1937 | 2083 | <p> |
| 1938 | - <?php echo __("With the help of the All Results Settings Shortcode, you can display all poll results on one page. By this, you will surely boost your website engagement.", "poll-maker"); ?> | |
| 2084 | + <?php echo esc_html__("With the help of the All Results Settings Shortcode, you can display all poll results on one page. By this, you will surely boost your website engagement.", "poll-maker"); ?> | |
| 1939 | 2085 | </p> |
| 1940 | 2086 | <p> |
| 1941 | - <?php echo __("The website visitors will see all the poll results on one page and pass them without any difficulties.", "poll-maker"); ?> | |
| 2087 | + <?php echo esc_html__("The website visitors will see all the poll results on one page and pass them without any difficulties.", "poll-maker"); ?> | |
| 1942 | 2088 | </p> |
| 1943 | 2089 | </div> |
| 1944 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-all-results-settings"> | |
| 1945 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 2090 | + <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-all-results-settings-<?php echo esc_attr( POLL_MAKER_AYS_VERSION ); ?>"> | |
| 2091 | + <?php echo esc_html__("Pricing", "poll-maker"); ?> | |
| 1946 | 2092 | </div> |
| 1947 | 2093 | </div> |
| 1948 | 2094 | </div> |
| 1949 | 2095 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -1950,10 +2096,10 @@ | ||
| 1950 | 2096 | </div> |
| 1951 | 2097 | <div class="form-group row"> |
| 1952 | 2098 | <div class="col-sm-4"> |
| 1953 | 2099 | <label for="ays_all_results"> |
| 1954 | - <?php echo __( "Shortcode", "poll-maker" ); ?> | |
| 1955 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('You can copy the shortcode and insert it to any post to show all results.', "poll-maker")?>"> | |
| 2100 | + <?php echo esc_html__( "Shortcode", "poll-maker" ); ?> | |
| 2101 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('You can copy the shortcode and insert it to any post to show all results.', "poll-maker")?>"> | |
| 1956 | 2102 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1957 | 2103 | </a> |
| 1958 | 2104 | </label> |
| 1959 | 2105 | </div> |
| @@ -1964,10 +2110,10 @@ | ||
| 1964 | 2110 | <hr> |
| 1965 | 2111 | <div class="form-group row"> |
| 1966 | 2112 | <div class="col-sm-3"> |
| 1967 | 2113 | <label for=""> |
| 1968 | - <?php echo __( "Show to guests too", "poll-maker" ); ?> | |
| 1969 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Show the All results table to guests as well. By default, it is displayed only for logged-in users. If this option is disabled, then only the logged-in users will be able to see the table. Note: Despite the fact of showing the table to the guests, the table will contain only info of the logged-in users.', "poll-maker")?>"> | |
| 2114 | + <?php echo esc_html__( "Show to guests too", "poll-maker" ); ?> | |
| 2115 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Show the All results table to guests as well. By default, it is displayed only for logged-in users. If this option is disabled, then only the logged-in users will be able to see the table. Note: Despite the fact of showing the table to the guests, the table will contain only info of the logged-in users.', "poll-maker")?>"> | |
| 1970 | 2116 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1971 | 2117 | </a> |
| 1972 | 2118 | </label> |
| 1973 | 2119 | </div> |
| @@ -1978,10 +2124,10 @@ | ||
| 1978 | 2124 | <hr> |
| 1979 | 2125 | <div class="form-group row"> |
| 1980 | 2126 | <div class="col-sm-12"> |
| 1981 | 2127 | <label> |
| 1982 | - <?php echo __( "All results tables columns", "poll-maker" ); ?> | |
| 1983 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('You can sort table columns and select which columns must display on the front-end.', "poll-maker")?>"> | |
| 2128 | + <?php echo esc_html__( "All results tables columns", "poll-maker" ); ?> | |
| 2129 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('You can sort table columns and select which columns must display on the front-end.', "poll-maker")?>"> | |
| 1984 | 2130 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 1985 | 2131 | </a> |
| 1986 | 2132 | </label> |
| 1987 | 2133 | <div class="ays-poll-all-results-table-wrap"> |
| @@ -2008,20 +2154,20 @@ | ||
| 2008 | 2154 | </div> |
| 2009 | 2155 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 2010 | 2156 | <div class="ays-poll-new-upgrade-button-box"> |
| 2011 | 2157 | <div> |
| 2012 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 2013 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 2158 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 2159 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 2014 | 2160 | </div> |
| 2015 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 2161 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 2016 | 2162 | </div> |
| 2017 | 2163 | </a> |
| 2018 | 2164 | <div class="ays-poll-new-watch-video-button-box"> |
| 2019 | 2165 | <div> |
| 2020 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 2021 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 2166 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 2167 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 2022 | 2168 | </div> |
| 2023 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 2169 | + <div class="ays-poll-new-watch-video-button"><?php echo esc_html__("Watch Video", "poll-maker"); ?></div> | |
| 2024 | 2170 | </div> |
| 2025 | 2171 | </div> |
| 2026 | 2172 | </div> |
| 2027 | 2173 | </fieldset> |
| @@ -2029,9 +2175,9 @@ | ||
| 2029 | 2175 | <!-- Show all result end --> |
| 2030 | 2176 | <fieldset> |
| 2031 | 2177 | <legend> |
| 2032 | 2178 | <strong style="font-size:30px;">[ ]</strong> |
| 2033 | - <h5 class="ays-subtitle"><?php echo __('Frontend Statistics', "poll-maker")?></h5> | |
| 2179 | + <h5 class="ays-subtitle"><?php echo esc_html__('Frontend Statistics', "poll-maker")?></h5> | |
| 2034 | 2180 | </legend> |
| 2035 | 2181 | <div class="form-group row" style="margin: 0px;"> |
| 2036 | 2182 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 2037 | 2183 | <div class="pro_features pro_features_popup"> |
| @@ -2036,20 +2182,20 @@ | ||
| 2036 | 2182 | <div class="col-sm-12 only_pro" style="padding:10px;"> |
| 2037 | 2183 | <div class="pro_features pro_features_popup"> |
| 2038 | 2184 | <div class="pro-features-popup-conteiner"> |
| 2039 | 2185 | <div class="pro-features-popup-title"> |
| 2040 | - <?php echo __("Frontend Statistics", "poll-maker"); ?> | |
| 2186 | + <?php echo esc_html__("Frontend Statistics", "poll-maker"); ?> | |
| 2041 | 2187 | </div> |
| 2042 | 2188 | <div class="pro-features-popup-content" data-link="https://youtu.be/9ke489iHjHg"> |
| 2043 | 2189 | <p> |
| 2044 | - <?php echo __("Analytics is the most important part of conducting online polls. With the help of the Frontend Statistics Shortcode, you can display daily, weekly, monthly, and overall statistics of your polls.", "poll-maker"); ?> | |
| 2190 | + <?php echo esc_html__("Analytics is the most important part of conducting online polls. With the help of the Frontend Statistics Shortcode, you can display daily, weekly, monthly, and overall statistics of your polls.", "poll-maker"); ?> | |
| 2045 | 2191 | </p> |
| 2046 | 2192 | <p> |
| 2047 | - <?php echo __("This will help you decrease the workload as you will see the statistics of your users in one place.", "poll-maker"); ?> | |
| 2193 | + <?php echo esc_html__("This will help you decrease the workload as you will see the statistics of your users in one place.", "poll-maker"); ?> | |
| 2048 | 2194 | </p> |
| 2049 | 2195 | </div> |
| 2050 | - <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-frontend-statistics"> | |
| 2051 | - <?php echo __("Upgrade PRO NOW", "poll-maker"); ?> | |
| 2196 | + <div class="pro-features-popup-button" data-link="https://ays-pro.com/wordpress/poll-maker?utm_source=dashboard&utm_medium=poll-free&utm_campaign=pro-popup-frontend-statistics-<?php echo esc_attr( POLL_MAKER_AYS_VERSION ); ?>"> | |
| 2197 | + <?php echo esc_html__("Pricing", "poll-maker"); ?> | |
| 2052 | 2198 | </div> |
| 2053 | 2199 | </div> |
| 2054 | 2200 | </div> |
| 2055 | 2201 | <div class="pro_features" style="justify-content:flex-end;"> |
| @@ -2056,9 +2202,9 @@ | ||
| 2056 | 2202 | </div> |
| 2057 | 2203 | <div class="form-group row"> |
| 2058 | 2204 | <div class="col-sm-3"> |
| 2059 | 2205 | <label for="ays_poll_shortcodes_recent_by_id"> |
| 2060 | - <?php echo __("Shortcode", "poll-maker"); ?> | |
| 2206 | + <?php echo esc_html__("Shortcode", "poll-maker"); ?> | |
| 2061 | 2207 | </label> |
| 2062 | 2208 | </div> |
| 2063 | 2209 | <div class="col-sm-9"> |
| 2064 | 2210 | <input type="text" name="ays_poll_shortcodes_recent_by_id" onclick="this.setSelectionRange(0, this.value.length)"readonly="" class="ays-text-input" value='[ays_poll_frontend_statistics id="Your_Poll_ID"]'> |
| @@ -2066,9 +2212,9 @@ | ||
| 2066 | 2212 | </div> |
| 2067 | 2213 | <blockquote> |
| 2068 | 2214 | <ul class="ays-poll-general-settings-blockquote-ul"> |
| 2069 | 2215 | <li> |
| 2070 | - <?php echo __("Copy and paste this shortcode into any post or page, and insert the Poll ID, which statistics you want to display.", "poll-maker"); ?> | |
| 2216 | + <?php echo esc_html__("Copy and paste this shortcode into any post or page, and insert the Poll ID, which statistics you want to display.", "poll-maker"); ?> | |
| 2071 | 2217 | </li> |
| 2072 | 2218 | </ul> |
| 2073 | 2219 | </blockquote> |
| 2074 | 2220 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| @@ -2073,20 +2219,20 @@ | ||
| 2073 | 2219 | </blockquote> |
| 2074 | 2220 | <a href="https://ays-pro.com/wordpress/poll-maker" target="_blank" class="ays-poll-new-upgrade-button-link"> |
| 2075 | 2221 | <div class="ays-poll-new-upgrade-button-box"> |
| 2076 | 2222 | <div> |
| 2077 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 2078 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 2223 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/locked_24x24.svg'?>"> | |
| 2224 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/unlocked_24x24.svg'?>" class="ays-poll-new-upgrade-button-hover"> | |
| 2079 | 2225 | </div> |
| 2080 | - <div class="ays-poll-new-upgrade-button"><?php echo __("Upgrade", "poll-maker"); ?></div> | |
| 2226 | + <div class="ays-poll-new-upgrade-button"><?php echo esc_html__("Upgrade", "poll-maker"); ?></div> | |
| 2081 | 2227 | </div> |
| 2082 | 2228 | </a> |
| 2083 | 2229 | <div class="ays-poll-new-watch-video-button-box"> |
| 2084 | 2230 | <div> |
| 2085 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 2086 | - <img src="<?php echo POLL_MAKER_AYS_ADMIN_URL.'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 2231 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24.svg'?>"> | |
| 2232 | + <img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL).'/images/icons/pro-features-icons/video_24x24_hover.svg'?>" class="ays-poll-new-watch-video-button-hover"> | |
| 2087 | 2233 | </div> |
| 2088 | - <div class="ays-poll-new-watch-video-button"><?php echo __("Watch Video", "poll-maker"); ?></div> | |
| 2234 | + <div class="ays-poll-new-watch-video-button"><?php echo esc_html__("Watch Video", "poll-maker"); ?></div> | |
| 2089 | 2235 | </div> |
| 2090 | 2236 | </div> |
| 2091 | 2237 | </div> |
| 2092 | 2238 | </fieldset><!-- Frontend statistics shortcode --> |
| @@ -2091,14 +2237,14 @@ | ||
| 2091 | 2237 | </div> |
| 2092 | 2238 | </fieldset><!-- Frontend statistics shortcode --> |
| 2093 | 2239 | </div> |
| 2094 | 2240 | <div id="tab4" class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab4') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 2095 | - <p class="ays-subtitle"><?php echo __('Extra Shortcodes', "poll-maker") ?></p> | |
| 2241 | + <p class="ays-subtitle"><?php echo esc_html__('Extra Shortcodes', "poll-maker") ?></p> | |
| 2096 | 2242 | <hr/> |
| 2097 | 2243 | <fieldset> |
| 2098 | 2244 | <legend> |
| 2099 | 2245 | <strong style="font-size:30px;">[ ]</strong> |
| 2100 | - <h5><?php echo __('Extra shortcodes', "poll-maker"); ?></h5> | |
| 2246 | + <h5><?php echo esc_html__('Extra shortcodes', "poll-maker"); ?></h5> | |
| 2101 | 2247 | </legend> |
| 2102 | 2248 | <div class="form-group row" style="padding:0px;margin:0;"> |
| 2103 | 2249 | <div class="col-sm-12" style="padding:20px;"> |
| 2104 | 2250 | <div class="form-group row"> |
| @@ -2103,10 +2249,10 @@ | ||
| 2103 | 2249 | <div class="col-sm-12" style="padding:20px;"> |
| 2104 | 2250 | <div class="form-group row"> |
| 2105 | 2251 | <div class="col-sm-4"> |
| 2106 | 2252 | <label for="ays_quiz_passed_users_count"> |
| 2107 | - <?php echo __( "Passed users count", "poll-maker" ); ?> | |
| 2108 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo __('Copy the following shortcode and paste it in posts. Insert the Poll ID to receive the number of participants of the poll.', "poll-maker"); ?>"> | |
| 2253 | + <?php echo esc_html__( "Passed users count", "poll-maker" ); ?> | |
| 2254 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Copy the following shortcode and paste it in posts. Insert the Poll ID to receive the number of participants of the poll.', "poll-maker"); ?>"> | |
| 2109 | 2255 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2110 | 2256 | </a> |
| 2111 | 2257 | </label> |
| 2112 | 2258 | </div> |
| @@ -2121,10 +2267,10 @@ | ||
| 2121 | 2267 | <div class="col-sm-12" style="padding:20px;"> |
| 2122 | 2268 | <div class="form-group row"> |
| 2123 | 2269 | <div class="col-sm-4"> |
| 2124 | 2270 | <label for="ays_poll_user_first_name"> |
| 2125 | - <?php echo __( "Show User First Name", "poll-maker" ); ?> | |
| 2126 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's First Name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2271 | + <?php echo esc_html__( "Show User First Name", "poll-maker" ); ?> | |
| 2272 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the logged-in user's First Name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2127 | 2273 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2128 | 2274 | </a> |
| 2129 | 2275 | </label> |
| 2130 | 2276 | </div> |
| @@ -2139,10 +2285,10 @@ | ||
| 2139 | 2285 | <div class="col-sm-12" style="padding:20px;"> |
| 2140 | 2286 | <div class="form-group row"> |
| 2141 | 2287 | <div class="col-sm-4"> |
| 2142 | 2288 | <label for="ays_poll_user_last_name"> |
| 2143 | - <?php echo __( "Show User Last Name", "poll-maker" ); ?> | |
| 2144 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's Last Name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2289 | + <?php echo esc_html__( "Show User Last Name", "poll-maker" ); ?> | |
| 2290 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the logged-in user's Last Name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2145 | 2291 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2146 | 2292 | </a> |
| 2147 | 2293 | </label> |
| 2148 | 2294 | </div> |
| @@ -2157,10 +2303,10 @@ | ||
| 2157 | 2303 | <div class="col-sm-12" style="padding:20px;"> |
| 2158 | 2304 | <div class="form-group row"> |
| 2159 | 2305 | <div class="col-sm-4"> |
| 2160 | 2306 | <label for="ays_poll_user_display_name"> |
| 2161 | - <?php echo __( "Show User Display name", "poll-maker" ); ?> | |
| 2162 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's Display name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2307 | + <?php echo esc_html__( "Show User Display name", "poll-maker" ); ?> | |
| 2308 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the logged-in user's Display name. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2163 | 2309 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2164 | 2310 | </a> |
| 2165 | 2311 | </label> |
| 2166 | 2312 | </div> |
| @@ -2175,10 +2321,10 @@ | ||
| 2175 | 2321 | <div class="col-sm-12" style="padding:20px;"> |
| 2176 | 2322 | <div class="form-group row"> |
| 2177 | 2323 | <div class="col-sm-4"> |
| 2178 | 2324 | <label for="ays_poll_user_email"> |
| 2179 | - <?php echo __( "Show User Email", "poll-maker" ); ?> | |
| 2180 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's Email. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2325 | + <?php echo esc_html__( "Show User Email", "poll-maker" ); ?> | |
| 2326 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the logged-in user's Email. If the user is not logged-in, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2181 | 2327 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2182 | 2328 | </a> |
| 2183 | 2329 | </label> |
| 2184 | 2330 | </div> |
| @@ -2193,10 +2339,10 @@ | ||
| 2193 | 2339 | <div class="col-sm-12" style="padding:20px;"> |
| 2194 | 2340 | <div class="form-group row"> |
| 2195 | 2341 | <div class="col-sm-4"> |
| 2196 | 2342 | <label for="ays_poll_user_email"> |
| 2197 | - <?php echo __( "Show poll creation date", "poll-maker" ); ?> | |
| 2198 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Poll ID in the shortcode. It will show the creation date of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2343 | + <?php echo esc_html__( "Show poll creation date", "poll-maker" ); ?> | |
| 2344 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("You need to insert Your Poll ID in the shortcode. It will show the creation date of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2199 | 2345 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2200 | 2346 | </a> |
| 2201 | 2347 | </label> |
| 2202 | 2348 | </div> |
| @@ -2211,10 +2357,10 @@ | ||
| 2211 | 2357 | <div class="col-sm-12" style="padding:20px;"> |
| 2212 | 2358 | <div class="form-group row"> |
| 2213 | 2359 | <div class="col-sm-4"> |
| 2214 | 2360 | <label for="ays_poll_user_passed_polls_count"> |
| 2215 | - <?php echo __( "Passed polls count per user", "poll-maker" ); ?> | |
| 2216 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the number of passed polls of the current user. For instance, the current user has passed 20 polls. If the user is not logged in shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2361 | + <?php echo esc_html__( "Passed polls count per user", "poll-maker" ); ?> | |
| 2362 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the number of passed polls of the current user. For instance, the current user has passed 20 polls. If the user is not logged in shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2217 | 2363 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2218 | 2364 | </a> |
| 2219 | 2365 | </label> |
| 2220 | 2366 | </div> |
| @@ -2229,10 +2375,10 @@ | ||
| 2229 | 2375 | <div class="col-sm-12" style="padding:20px;"> |
| 2230 | 2376 | <div class="form-group row"> |
| 2231 | 2377 | <div class="col-sm-4"> |
| 2232 | 2378 | <label for="ays_poll_user_all_passed_polls_count"> |
| 2233 | - <?php echo __( "All passed polls count per user", "poll-maker" ); ?> | |
| 2234 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the total sum of how many times the particular user has passed all the polls. For instance, the current user has passed 20 polls 500 times in total. If the user is not logged in shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2379 | + <?php echo esc_html__( "All passed polls count per user", "poll-maker" ); ?> | |
| 2380 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("Shows the total sum of how many times the particular user has passed all the polls. For instance, the current user has passed 20 polls 500 times in total. If the user is not logged in shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2235 | 2381 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2236 | 2382 | </a> |
| 2237 | 2383 | </label> |
| 2238 | 2384 | </div> |
| @@ -2247,10 +2393,10 @@ | ||
| 2247 | 2393 | <div class="col-sm-12" style="padding:20px;"> |
| 2248 | 2394 | <div class="form-group row"> |
| 2249 | 2395 | <div class="col-sm-4"> |
| 2250 | 2396 | <label for="ays_poll_category_description"> |
| 2251 | - <?php echo __( "Show poll categories descriptions", "poll-maker" ); ?> | |
| 2252 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Poll ID in the shortcode. It will show categories descriptions of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2397 | + <?php echo esc_html__( "Show poll categories descriptions", "poll-maker" ); ?> | |
| 2398 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("You need to insert Your Poll ID in the shortcode. It will show categories descriptions of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2253 | 2399 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2254 | 2400 | </a> |
| 2255 | 2401 | </label> |
| 2256 | 2402 | </div> |
| @@ -2265,10 +2411,10 @@ | ||
| 2265 | 2411 | <div class="col-sm-12" style="padding:20px;"> |
| 2266 | 2412 | <div class="form-group row"> |
| 2267 | 2413 | <div class="col-sm-4"> |
| 2268 | 2414 | <label for="ays_poll_category_title"> |
| 2269 | - <?php echo __( "Show poll categories titles", "poll-maker" ); ?> | |
| 2270 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Poll ID in the shortcode. It will show categories titles of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2415 | + <?php echo esc_html__( "Show poll categories titles", "poll-maker" ); ?> | |
| 2416 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("You need to insert Your Poll ID in the shortcode. It will show categories titles of the particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2271 | 2417 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2272 | 2418 | </a> |
| 2273 | 2419 | </label> |
| 2274 | 2420 | </div> |
| @@ -2283,10 +2429,10 @@ | ||
| 2283 | 2429 | <div class="col-sm-12" style="padding:20px;"> |
| 2284 | 2430 | <div class="form-group row"> |
| 2285 | 2431 | <div class="col-sm-4"> |
| 2286 | 2432 | <label for="ays_poll_current_author"> |
| 2287 | - <?php echo __( "Show current poll author", "poll-maker" ); ?> | |
| 2288 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Poll ID in the shortcode. It will show the current author of the particular poll. If there is no poll or questions available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2433 | + <?php echo esc_html__( "Show current poll author", "poll-maker" ); ?> | |
| 2434 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("You need to insert Your Poll ID in the shortcode. It will show the current author of the particular poll. If there is no poll or questions available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2289 | 2435 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2290 | 2436 | </a> |
| 2291 | 2437 | </label> |
| 2292 | 2438 | </div> |
| @@ -2301,10 +2447,10 @@ | ||
| 2301 | 2447 | <div class="col-sm-12" style="padding:20px;"> |
| 2302 | 2448 | <div class="form-group row"> |
| 2303 | 2449 | <div class="col-sm-4"> |
| 2304 | 2450 | <label for="ays_poll_answers_count"> |
| 2305 | - <?php echo __( "Show poll answers count", "poll-maker" ); ?> | |
| 2306 | - <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Poll ID in the shortcode. It will show the total count of answers in particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2451 | + <?php echo esc_html__( "Show poll answers count", "poll-maker" ); ?> | |
| 2452 | + <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr(esc_html__("You need to insert Your Poll ID in the shortcode. It will show the total count of answers in particular poll. If there is no poll available/found with that particular Poll ID, the shortcode will be empty.", "poll-maker") ); ?>"> | |
| 2307 | 2453 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2308 | 2454 | </a> |
| 2309 | 2455 | </label> |
| 2310 | 2456 | </div> |
| @@ -2317,17 +2463,17 @@ | ||
| 2317 | 2463 | </fieldset> <!-- Extra shortcodes --> |
| 2318 | 2464 | </div> |
| 2319 | 2465 | <div id="tab5" class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab5') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 2320 | 2466 | <p class="ays-subtitle"> |
| 2321 | - <?php echo __('Fields placeholders', "poll-maker")?> | |
| 2322 | - <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo __( 'If you make a change here, these words will not be translated either․', "poll-maker" ); ?>"> | |
| 2467 | + <?php echo esc_html__('Fields placeholders', "poll-maker")?> | |
| 2468 | + <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'If you make a change here, these words will not be translated either․', "poll-maker" ); ?>"> | |
| 2323 | 2469 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2324 | 2470 | </a> |
| 2325 | 2471 | </p> |
| 2326 | 2472 | <blockquote> |
| 2327 | 2473 | <p> |
| 2328 | - <?php echo __( "With the help of this section, you can change the fields' placeholders of the Information form. Find the available fields in the User data tab of your polls.", "poll-maker" ); ?> | |
| 2329 | - <span class="ays-poll-blockquote-span"><?php echo __( "Note: If you make a change here, these words will not be translated either.", "poll-maker" ); ?></span> | |
| 2474 | + <?php echo esc_html__( "With the help of this section, you can change the fields' placeholders of the Information form. Find the available fields in the User data tab of your polls.", "poll-maker" ); ?> | |
| 2475 | + <span class="ays-poll-blockquote-span"><?php echo esc_html__( "Note: If you make a change here, these words will not be translated either.", "poll-maker" ); ?></span> | |
| 2330 | 2476 | </p> |
| 2331 | 2477 | |
| 2332 | 2478 | </blockquote> |
| 2333 | 2479 | <hr> |
| @@ -2333,18 +2479,18 @@ | ||
| 2333 | 2479 | <hr> |
| 2334 | 2480 | <div class="form-group row"> |
| 2335 | 2481 | <div class="col-sm-2"></div> |
| 2336 | 2482 | <div class="col-sm-3"> |
| 2337 | - <span class="ays-poll-title-fields-placeholders"><?php echo __( "Placeholders", "poll-maker" ); ?></span> | |
| 2483 | + <span class="ays-poll-title-fields-placeholders"><?php echo esc_html__( "Placeholders", "poll-maker" ); ?></span> | |
| 2338 | 2484 | </div> |
| 2339 | 2485 | <div class="col-sm-7"> |
| 2340 | - <span class="ays-poll-title-fields-placeholders"><?php echo __( "Labels", "poll-maker" ); ?></span> | |
| 2486 | + <span class="ays-poll-title-fields-placeholders"><?php echo esc_html__( "Labels", "poll-maker" ); ?></span> | |
| 2341 | 2487 | </div> |
| 2342 | 2488 | </div> |
| 2343 | 2489 | <div class="form-group row"> |
| 2344 | 2490 | <div class="col-sm-2"> |
| 2345 | 2491 | <label for="ays_poll_fields_placeholder_name"> |
| 2346 | - <?php echo __( "Name", "poll-maker" ); ?> | |
| 2492 | + <?php echo esc_html__( "Name", "poll-maker" ); ?> | |
| 2347 | 2493 | </label> |
| 2348 | 2494 | </div> |
| 2349 | 2495 | <div class="col-sm-3"> |
| 2350 | 2496 | <input type="text" id="ays_poll_fields_placeholder_name" name="ays_poll_fields_placeholder_name" class="ays-text-input ays-text-input-short" value='<?php echo $poll_fields_placeholder_name; ?>'> |
| @@ -2357,9 +2503,9 @@ | ||
| 2357 | 2503 | </div> |
| 2358 | 2504 | <div class="form-group row"> |
| 2359 | 2505 | <div class="col-sm-2"> |
| 2360 | 2506 | <label for="ays_poll_fields_placeholder_email"> |
| 2361 | - <?php echo __( "Email", "poll-maker" ); ?> | |
| 2507 | + <?php echo esc_html__( "Email", "poll-maker" ); ?> | |
| 2362 | 2508 | </label> |
| 2363 | 2509 | </div> |
| 2364 | 2510 | <div class="col-sm-3"> |
| 2365 | 2511 | <input type="text" id="ays_poll_fields_placeholder_email" name="ays_poll_fields_placeholder_email" class="ays-text-input ays-text-input-short" value='<?php echo $poll_fields_placeholder_email; ?>'> |
| @@ -2372,9 +2518,9 @@ | ||
| 2372 | 2518 | </div> |
| 2373 | 2519 | <div class="form-group row"> |
| 2374 | 2520 | <div class="col-sm-2"> |
| 2375 | 2521 | <label for="ays_poll_fields_placeholder_phone"> |
| 2376 | - <?php echo __( "Phone", "poll-maker" ); ?> | |
| 2522 | + <?php echo esc_html__( "Phone", "poll-maker" ); ?> | |
| 2377 | 2523 | </label> |
| 2378 | 2524 | </div> |
| 2379 | 2525 | <div class="col-sm-3"> |
| 2380 | 2526 | <input type="text" id="ays_poll_fields_placeholder_phone" name="ays_poll_fields_placeholder_phone" class="ays-text-input ays-text-input-short" value='<?php echo $poll_fields_placeholder_phone; ?>'> |
| @@ -2387,21 +2533,21 @@ | ||
| 2387 | 2533 | </div> |
| 2388 | 2534 | </div> |
| 2389 | 2535 | <div id="tab6" class="ays-poll-tab-content <?php echo ($ays_poll_tab == 'tab6') ? 'ays-poll-tab-content-active' : ''; ?>"> |
| 2390 | 2536 | <p class="ays-subtitle"> |
| 2391 | - <?php echo __('Message variables', "poll-maker")?> | |
| 2392 | - <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p><?php echo __( 'You can copy these variables and paste them in the following options from the poll settings', "poll-maker" ); ?>:</p> | |
| 2537 | + <?php echo esc_html__('Message variables', "poll-maker")?> | |
| 2538 | + <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p><?php echo esc_html__( 'You can copy these variables and paste them in the following options from the poll settings', "poll-maker" ); ?>:</p> | |
| 2393 | 2539 | <ul class='ays_tooltop_ul'> |
| 2394 | - <li><?php echo __( 'Result Message', "poll-maker" ); ?></li> | |
| 2395 | - <li><?php echo __( 'Hide results', "poll-maker" ); ?></li> | |
| 2540 | + <li><?php echo esc_html__( 'Result Message', "poll-maker" ); ?></li> | |
| 2541 | + <li><?php echo esc_html__( 'Hide results', "poll-maker" ); ?></li> | |
| 2396 | 2542 | </ul>"> |
| 2397 | 2543 | <i class="ays_poll_fas ays_poll_fa-info-circle"></i> |
| 2398 | 2544 | </a> |
| 2399 | 2545 | </p> |
| 2400 | 2546 | <blockquote> |
| 2401 | - <p><?php echo __( "You can copy these variables and paste them in the following options from the poll settings", "poll-maker" ); ?>:</p> | |
| 2402 | - <p style="text-indent:10px;margin:0;">- <?php echo __( "Result Message", "poll-maker" ); ?></p> | |
| 2403 | - <p style="text-indent:10px;margin:0;">- <?php echo __( "Hide results", "poll-maker" ); ?></p> | |
| 2547 | + <p><?php echo esc_html__( "You can copy these variables and paste them in the following options from the poll settings", "poll-maker" ); ?>:</p> | |
| 2548 | + <p style="text-indent:10px;margin:0;">- <?php echo esc_html__( "Result Message", "poll-maker" ); ?></p> | |
| 2549 | + <p style="text-indent:10px;margin:0;">- <?php echo esc_html__( "Hide results", "poll-maker" ); ?></p> | |
| 2404 | 2550 | </blockquote> |
| 2405 | 2551 | <hr> |
| 2406 | 2552 | <div class="form-group row"> |
| 2407 | 2553 | <div class="col-sm-12"> |
| @@ -2410,9 +2556,9 @@ | ||
| 2410 | 2556 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_name%%" class='ays-poll-message-variables-inputs'/> |
| 2411 | 2557 | </strong> |
| 2412 | 2558 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2413 | 2559 | <span class="ays-poll-message-variables-hint-text"> |
| 2414 | - <?php echo __( "The name the user entered into information form", "poll-maker"); ?> | |
| 2560 | + <?php echo esc_html__( "The name the user entered into information form", "poll-maker"); ?> | |
| 2415 | 2561 | </span> |
| 2416 | 2562 | </p> |
| 2417 | 2563 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2418 | 2564 | <p class="vmessage"> |
| @@ -2420,9 +2566,9 @@ | ||
| 2420 | 2566 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_email%%" class='ays-poll-message-variables-inputs'/> |
| 2421 | 2567 | </strong> |
| 2422 | 2568 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2423 | 2569 | <span class="ays-poll-message-variables-hint-text"> |
| 2424 | - <?php echo __( "The E-mail the user entered into information form", "poll-maker"); ?> | |
| 2570 | + <?php echo esc_html__( "The E-mail the user entered into information form", "poll-maker"); ?> | |
| 2425 | 2571 | </span> |
| 2426 | 2572 | </p> |
| 2427 | 2573 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2428 | 2574 | <p class="vmessage"> |
| @@ -2430,9 +2576,9 @@ | ||
| 2430 | 2576 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_phone%%" class='ays-poll-message-variables-inputs'/> |
| 2431 | 2577 | </strong> |
| 2432 | 2578 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2433 | 2579 | <span class="ays-poll-message-variables-hint-text"> |
| 2434 | - <?php echo __( "The phone the user entered into information form", "poll-maker"); ?> | |
| 2580 | + <?php echo esc_html__( "The phone the user entered into information form", "poll-maker"); ?> | |
| 2435 | 2581 | </span> |
| 2436 | 2582 | </p> |
| 2437 | 2583 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2438 | 2584 | <p class="vmessage"> |
| @@ -2440,11 +2586,31 @@ | ||
| 2440 | 2586 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%poll_title%%" class='ays-poll-message-variables-inputs'/> |
| 2441 | 2587 | </strong> |
| 2442 | 2588 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2443 | 2589 | <span class="ays-poll-message-variables-hint-text"> |
| 2444 | - <?php echo __( "The title of the poll.", "poll-maker"); ?> | |
| 2590 | + <?php echo esc_html__( "The title of the poll.", "poll-maker"); ?> | |
| 2445 | 2591 | </span> |
| 2446 | 2592 | </p> |
| 2593 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2594 | + <p class="vmessage"> | |
| 2595 | + <strong> | |
| 2596 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%poll_category_title%%" class='ays-poll-message-variables-inputs'/> | |
| 2597 | + </strong> | |
| 2598 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2599 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2600 | + <?php echo esc_html__( "The title of the poll category.", "poll-maker"); ?> | |
| 2601 | + </span> | |
| 2602 | + </p> | |
| 2603 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2604 | + <p class="vmessage"> | |
| 2605 | + <strong> | |
| 2606 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%poll_id%%" class='ays-poll-message-variables-inputs'/> | |
| 2607 | + </strong> | |
| 2608 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2609 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2610 | + <?php echo esc_html__( "The ID of the poll.", "poll-maker"); ?> | |
| 2611 | + </span> | |
| 2612 | + </p> | |
| 2447 | 2613 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2448 | 2614 | <p class="vmessage"> |
| 2449 | 2615 | <strong> |
| 2450 | 2616 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%users_first_name%%" class='ays-poll-message-variables-inputs'/> |
| @@ -2450,9 +2616,9 @@ | ||
| 2450 | 2616 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%users_first_name%%" class='ays-poll-message-variables-inputs'/> |
| 2451 | 2617 | </strong> |
| 2452 | 2618 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2453 | 2619 | <span class="ays-poll-message-variables-hint-text"> |
| 2454 | - <?php echo __( "The user's first name that was filled in their WordPress site during registration.", "poll-maker"); ?> | |
| 2620 | + <?php echo esc_html__( "The user's first name that was filled in their WordPress site during registration.", "poll-maker"); ?> | |
| 2455 | 2621 | </span> |
| 2456 | 2622 | </p> |
| 2457 | 2623 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2458 | 2624 | <p class="vmessage"> |
| @@ -2460,9 +2626,9 @@ | ||
| 2460 | 2626 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%users_last_name%%" class='ays-poll-message-variables-inputs'/> |
| 2461 | 2627 | </strong> |
| 2462 | 2628 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2463 | 2629 | <span class="ays-poll-message-variables-hint-text"> |
| 2464 | - <?php echo __( "The user's last name that was filled in their WordPress site during registration.", "poll-maker"); ?> | |
| 2630 | + <?php echo esc_html__( "The user's last name that was filled in their WordPress site during registration.", "poll-maker"); ?> | |
| 2465 | 2631 | </span> |
| 2466 | 2632 | </p> |
| 2467 | 2633 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2468 | 2634 | <p class="vmessage"> |
| @@ -2470,9 +2636,9 @@ | ||
| 2470 | 2636 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%creation_date%%" class='ays-poll-message-variables-inputs'/> |
| 2471 | 2637 | </strong> |
| 2472 | 2638 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2473 | 2639 | <span class="ays-poll-message-variables-hint-text"> |
| 2474 | - <?php echo __( "The creation date of the poll.", "poll-maker"); ?> | |
| 2640 | + <?php echo esc_html__( "The creation date of the poll.", "poll-maker"); ?> | |
| 2475 | 2641 | </span> |
| 2476 | 2642 | </p> |
| 2477 | 2643 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2478 | 2644 | <p class="vmessage"> |
| @@ -2480,29 +2646,129 @@ | ||
| 2480 | 2646 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_date%%" class='ays-poll-message-variables-inputs'/> |
| 2481 | 2647 | </strong> |
| 2482 | 2648 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2483 | 2649 | <span class="ays-poll-message-variables-hint-text"> |
| 2484 | - <?php echo __( "The date of the submission poll.", "poll-maker"); ?> | |
| 2650 | + <?php echo esc_html__( "The date of the submission poll.", "poll-maker"); ?> | |
| 2485 | 2651 | </span> |
| 2486 | 2652 | </p> |
| 2487 | 2653 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2488 | 2654 | <p class="vmessage"> |
| 2489 | 2655 | <strong> |
| 2656 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_time%%" class='ays-poll-message-variables-inputs'/> | |
| 2657 | + </strong> | |
| 2658 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2659 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2660 | + <?php echo esc_html__( "The time of the submission poll.", "poll-maker"); ?> | |
| 2661 | + </span> | |
| 2662 | + </p> | |
| 2663 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2664 | + <p class="vmessage"> | |
| 2665 | + <strong> | |
| 2666 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_day%%" class='ays-poll-message-variables-inputs'/> | |
| 2667 | + </strong> | |
| 2668 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2669 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2670 | + <?php echo esc_html__( "The day of the submission poll.", "poll-maker"); ?> | |
| 2671 | + </span> | |
| 2672 | + </p> | |
| 2673 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2674 | + <p class="vmessage"> | |
| 2675 | + <strong> | |
| 2676 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_month%%" class='ays-poll-message-variables-inputs'/> | |
| 2677 | + </strong> | |
| 2678 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2679 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2680 | + <?php echo esc_html__( "The month of the submission poll.", "poll-maker"); ?> | |
| 2681 | + </span> | |
| 2682 | + </p> | |
| 2683 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2684 | + <p class="vmessage"> | |
| 2685 | + <strong> | |
| 2686 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_page_link%%" class='ays-poll-message-variables-inputs'/> | |
| 2687 | + </strong> | |
| 2688 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2689 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2690 | + <?php echo esc_html__( "Prints the webpage link where the current poll is posted.", "poll-maker"); ?> | |
| 2691 | + </span> | |
| 2692 | + </p> | |
| 2693 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2694 | + <p class="vmessage"> | |
| 2695 | + <strong> | |
| 2490 | 2696 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author%%" class='ays-poll-message-variables-inputs'/> |
| 2491 | 2697 | </strong> |
| 2492 | 2698 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2493 | 2699 | <span class="ays-poll-message-variables-hint-text"> |
| 2494 | - <?php echo __( "It will show the author of the current poll.", "poll-maker"); ?> | |
| 2700 | + <?php echo esc_html__( "It will show the author of the current poll.", "poll-maker"); ?> | |
| 2495 | 2701 | </span> |
| 2496 | 2702 | </p> |
| 2497 | 2703 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2498 | 2704 | <p class="vmessage"> |
| 2499 | 2705 | <strong> |
| 2706 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author_email%%" class='ays-poll-message-variables-inputs'/> | |
| 2707 | + </strong> | |
| 2708 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2709 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2710 | + <?php echo esc_html__( "Shows the current poll author's email that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2711 | + </span> | |
| 2712 | + </p> | |
| 2713 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2714 | + <p class="vmessage"> | |
| 2715 | + <strong> | |
| 2716 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author_nickname%%" class='ays-poll-message-variables-inputs'/> | |
| 2717 | + </strong> | |
| 2718 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2719 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2720 | + <?php echo esc_html__( "Shows the current poll author's nickname that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2721 | + </span> | |
| 2722 | + </p> | |
| 2723 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2724 | + <p class="vmessage"> | |
| 2725 | + <strong> | |
| 2726 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author_display_name%%" class='ays-poll-message-variables-inputs'/> | |
| 2727 | + </strong> | |
| 2728 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2729 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2730 | + <?php echo esc_html__( "Shows the current poll author's Display name that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2731 | + </span> | |
| 2732 | + </p> | |
| 2733 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2734 | + <p class="vmessage"> | |
| 2735 | + <strong> | |
| 2736 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author_website_url%%" class='ays-poll-message-variables-inputs'/> | |
| 2737 | + </strong> | |
| 2738 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2739 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2740 | + <?php echo esc_html__( "Shows the current poll author's Website URL that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2741 | + </span> | |
| 2742 | + </p> | |
| 2743 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2744 | + <p class="vmessage"> | |
| 2745 | + <strong> | |
| 2746 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_author_registered%%" class='ays-poll-message-variables-inputs'/> | |
| 2747 | + </strong> | |
| 2748 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2749 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2750 | + <?php echo esc_html__( "Shows the current poll author's registered date that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2751 | + </span> | |
| 2752 | + </p> | |
| 2753 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2754 | + <p class="vmessage"> | |
| 2755 | + <strong> | |
| 2756 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%admin_email%%" class='ays-poll-message-variables-inputs'/> | |
| 2757 | + </strong> | |
| 2758 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2759 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2760 | + <?php echo esc_html__( "Shows the admin's email that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2761 | + </span> | |
| 2762 | + </p> | |
| 2763 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2764 | + <p class="vmessage"> | |
| 2765 | + <strong> | |
| 2500 | 2766 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_wordpress_roles%%" class='ays-poll-message-variables-inputs'/> |
| 2501 | 2767 | </strong> |
| 2502 | 2768 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2503 | 2769 | <span class="ays-poll-message-variables-hint-text"> |
| 2504 | - <?php echo __( "The user's role(s) when logged-in. In case the user is not logged-in, the field will be empty.", "poll-maker"); ?> | |
| 2770 | + <?php echo esc_html__( "The user's role(s) when logged-in. In case the user is not logged-in, the field will be empty.", "poll-maker"); ?> | |
| 2505 | 2771 | </span> |
| 2506 | 2772 | </p> |
| 2507 | 2773 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2508 | 2774 | <p class="vmessage"> |
| @@ -2510,19 +2776,29 @@ | ||
| 2510 | 2776 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_wordpress_email%%" class='ays-poll-message-variables-inputs'/> |
| 2511 | 2777 | </strong> |
| 2512 | 2778 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2513 | 2779 | <span class="ays-poll-message-variables-hint-text"> |
| 2514 | - <?php echo __( "The user's email that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2780 | + <?php echo esc_html__( "The user's email that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2515 | 2781 | </span> |
| 2516 | 2782 | </p> |
| 2517 | 2783 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2518 | 2784 | <p class="vmessage"> |
| 2519 | 2785 | <strong> |
| 2786 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_first_name%%" class='ays-poll-message-variables-inputs'/> | |
| 2787 | + </strong> | |
| 2788 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2789 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2790 | + <?php echo esc_html__( "The user's first name that was filled in their WordPress site during registration.", "poll-maker"); ?> | |
| 2791 | + </span> | |
| 2792 | + </p> | |
| 2793 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2794 | + <p class="vmessage"> | |
| 2795 | + <strong> | |
| 2520 | 2796 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_display_name%%" class='ays-poll-message-variables-inputs'/> |
| 2521 | 2797 | </strong> |
| 2522 | 2798 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2523 | 2799 | <span class="ays-poll-message-variables-hint-text"> |
| 2524 | - <?php echo __( "The user's display name that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2800 | + <?php echo esc_html__( "The user's display name that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2525 | 2801 | </span> |
| 2526 | 2802 | </p> |
| 2527 | 2803 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2528 | 2804 | <p class="vmessage"> |
| @@ -2530,9 +2806,9 @@ | ||
| 2530 | 2806 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_nickname%%" class='ays-poll-message-variables-inputs'/> |
| 2531 | 2807 | </strong> |
| 2532 | 2808 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2533 | 2809 | <span class="ays-poll-message-variables-hint-text"> |
| 2534 | - <?php echo __( "The user's nickname that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2810 | + <?php echo esc_html__( "The user's nickname that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2535 | 2811 | </span> |
| 2536 | 2812 | </p> |
| 2537 | 2813 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2538 | 2814 | <p class="vmessage"> |
| @@ -2540,19 +2816,39 @@ | ||
| 2540 | 2816 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_ip_address%%" class='ays-poll-message-variables-inputs'/> |
| 2541 | 2817 | </strong> |
| 2542 | 2818 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2543 | 2819 | <span class="ays-poll-message-variables-hint-text"> |
| 2544 | - <?php echo __( "The user's IP address.", "poll-maker"); ?> | |
| 2820 | + <?php echo esc_html__( "The user's IP address.", "poll-maker"); ?> | |
| 2545 | 2821 | </span> |
| 2546 | 2822 | </p> |
| 2547 | 2823 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2548 | 2824 | <p class="vmessage"> |
| 2549 | 2825 | <strong> |
| 2826 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_id%%" class='ays-poll-message-variables-inputs'/> | |
| 2827 | + </strong> | |
| 2828 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2829 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2830 | + <?php echo esc_html__( "The user's ID when logged-in. In case the user is not logged-in, the field will be empty.", "poll-maker"); ?> | |
| 2831 | + </span> | |
| 2832 | + </p> | |
| 2833 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2834 | + <p class="vmessage"> | |
| 2835 | + <strong> | |
| 2836 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_registered%%" class='ays-poll-message-variables-inputs'/> | |
| 2837 | + </strong> | |
| 2838 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2839 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2840 | + <?php echo esc_html__( "The user's registration date when logged-in. In case the user is not logged-in, the field will be empty.", "poll-maker"); ?> | |
| 2841 | + </span> | |
| 2842 | + </p> | |
| 2843 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2844 | + <p class="vmessage"> | |
| 2845 | + <strong> | |
| 2550 | 2846 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%poll_pass_count%%" class='ays-poll-message-variables-inputs'/> |
| 2551 | 2847 | </strong> |
| 2552 | 2848 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2553 | 2849 | <span class="ays-poll-message-variables-hint-text"> |
| 2554 | - <?php echo __( "The poll's pass count.", "poll-maker"); ?> | |
| 2850 | + <?php echo esc_html__( "The poll's pass count.", "poll-maker"); ?> | |
| 2555 | 2851 | </span> |
| 2556 | 2852 | </p> |
| 2557 | 2853 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2558 | 2854 | <p class="vmessage"> |
| @@ -2560,32 +2856,141 @@ | ||
| 2560 | 2856 | <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%passed_poll_count_per_user%%" class='ays-poll-message-variables-inputs'/> |
| 2561 | 2857 | </strong> |
| 2562 | 2858 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2563 | 2859 | <span class="ays-poll-message-variables-hint-text"> |
| 2564 | - <?php echo __( "Passed polls count per user.", "poll-maker"); ?> | |
| 2860 | + <?php echo esc_html__( "Passed polls count per user.", "poll-maker"); ?> | |
| 2565 | 2861 | </span> |
| 2566 | 2862 | </p> |
| 2567 | 2863 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2568 | 2864 | <p class="vmessage"> |
| 2569 | 2865 | <strong> |
| 2570 | - <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%current_poll_page_link%%" class='ays-poll-message-variables-inputs'/> | |
| 2866 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_wordpress_website%%" class='ays-poll-message-variables-inputs'/> | |
| 2571 | 2867 | </strong> |
| 2572 | 2868 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2573 | 2869 | <span class="ays-poll-message-variables-hint-text"> |
| 2574 | - <?php echo __( "Prints the webpage link where the current poll is posted.", "poll-maker"); ?> | |
| 2870 | + <?php echo esc_html__( "The user's website that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2575 | 2871 | </span> |
| 2576 | 2872 | </p> |
| 2577 | 2873 | <hr class="ays-poll-message-variables-text-divider-for-mobile"> |
| 2578 | 2874 | <p class="vmessage"> |
| 2579 | 2875 | <strong> |
| 2580 | - <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%user_wordpress_website%%" class='ays-poll-message-variables-inputs'/> | |
| 2876 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_title%%" class='ays-poll-message-variables-inputs'/> | |
| 2581 | 2877 | </strong> |
| 2582 | 2878 | <span class="ays-poll-message-variables-text-divider"> - </span> |
| 2583 | 2879 | <span class="ays-poll-message-variables-hint-text"> |
| 2584 | - <?php echo __( "The user's website that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2880 | + <?php echo esc_html__( "The Post title of the current post.", "poll-maker"); ?> | |
| 2585 | 2881 | </span> |
| 2586 | 2882 | </p> |
| 2587 | - | |
| 2883 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2884 | + <p class="vmessage"> | |
| 2885 | + <strong> | |
| 2886 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_nickname%%" class='ays-poll-message-variables-inputs'/> | |
| 2887 | + </strong> | |
| 2888 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2889 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2890 | + <?php echo esc_html__( "Shows the post author's nickname that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2891 | + </span> | |
| 2892 | + </p> | |
| 2893 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2894 | + <p class="vmessage"> | |
| 2895 | + <strong> | |
| 2896 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_email%%" class='ays-poll-message-variables-inputs'/> | |
| 2897 | + </strong> | |
| 2898 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2899 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2900 | + <?php echo esc_html__( "Shows the post author's email that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2901 | + </span> | |
| 2902 | + </p> | |
| 2903 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2904 | + <p class="vmessage"> | |
| 2905 | + <strong> | |
| 2906 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_display_name%%" class='ays-poll-message-variables-inputs'/> | |
| 2907 | + </strong> | |
| 2908 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2909 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2910 | + <?php echo esc_html__( "The Display name of the author of the post.", "poll-maker"); ?> | |
| 2911 | + </span> | |
| 2912 | + </p> | |
| 2913 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2914 | + <p class="vmessage"> | |
| 2915 | + <strong> | |
| 2916 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_first_name%%" class='ays-poll-message-variables-inputs'/> | |
| 2917 | + </strong> | |
| 2918 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2919 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2920 | + <?php echo esc_html__( "Shows the post author's First name that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2921 | + </span> | |
| 2922 | + </p> | |
| 2923 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2924 | + <p class="vmessage"> | |
| 2925 | + <strong> | |
| 2926 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_last_name%%" class='ays-poll-message-variables-inputs'/> | |
| 2927 | + </strong> | |
| 2928 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2929 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2930 | + <?php echo esc_html__( "Shows the post author's Last name that was filled in their WordPress profile.", "poll-maker"); ?> | |
| 2931 | + </span> | |
| 2932 | + </p> | |
| 2933 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2934 | + <p class="vmessage"> | |
| 2935 | + <strong> | |
| 2936 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_website_url%%" class='ays-poll-message-variables-inputs'/> | |
| 2937 | + </strong> | |
| 2938 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2939 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2940 | + <?php echo esc_html__( "The website url of the author of the post.", "poll-maker"); ?> | |
| 2941 | + </span> | |
| 2942 | + </p> | |
| 2943 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2944 | + <p class="vmessage"> | |
| 2945 | + <strong> | |
| 2946 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_author_roles%%" class='ays-poll-message-variables-inputs'/> | |
| 2947 | + </strong> | |
| 2948 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2949 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2950 | + <?php echo esc_html__( "The role(s) of the author of the post when logged-in. In case the user is not logged-in, the field will be empty.", "poll-maker"); ?> | |
| 2951 | + </span> | |
| 2952 | + </p> | |
| 2953 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2954 | + <p class="vmessage"> | |
| 2955 | + <strong> | |
| 2956 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%post_id%%" class='ays-poll-message-variables-inputs'/> | |
| 2957 | + </strong> | |
| 2958 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2959 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2960 | + <?php echo esc_html__( "The ID of the current post.", "poll-maker"); ?> | |
| 2961 | + </span> | |
| 2962 | + </p> | |
| 2963 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2964 | + <p class="vmessage"> | |
| 2965 | + <strong> | |
| 2966 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%site_title%%" class='ays-poll-message-variables-inputs'/> | |
| 2967 | + </strong> | |
| 2968 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2969 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2970 | + <?php echo esc_html__( "The title of the website.", "poll-maker"); ?> | |
| 2971 | + </span> | |
| 2972 | + </p> | |
| 2973 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2974 | + <p class="vmessage"> | |
| 2975 | + <strong> | |
| 2976 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%site_description%%" class='ays-poll-message-variables-inputs'/> | |
| 2977 | + </strong> | |
| 2978 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2979 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2980 | + <?php echo esc_html__( "The description of the website.", "poll-maker"); ?> | |
| 2981 | + </span> | |
| 2982 | + </p> | |
| 2983 | + <hr class="ays-poll-message-variables-text-divider-for-mobile"> | |
| 2984 | + <p class="vmessage"> | |
| 2985 | + <strong> | |
| 2986 | + <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%home_page_url%%" class='ays-poll-message-variables-inputs'/> | |
| 2987 | + </strong> | |
| 2988 | + <span class="ays-poll-message-variables-text-divider"> - </span> | |
| 2989 | + <span class="ays-poll-message-variables-hint-text"> | |
| 2990 | + <?php echo esc_html__( "The URL of the home page.", "poll-maker"); ?> | |
| 2991 | + </span> | |
| 2992 | + </p> | |
| 2588 | 2993 | </div> |
| 2589 | 2994 | </div> |
| 2590 | 2995 | </div> |
| 2591 | 2996 | </div> |
| @@ -2592,9 +2997,9 @@ | ||
| 2592 | 2997 | </div> |
| 2593 | 2998 | <hr/> |
| 2594 | 2999 | <div class="ays-settings-form-save-button-wrap"> |
| 2595 | 3000 | <?php |
| 2596 | - $loader_iamge = "<span class='display_none'><img src=".POLL_MAKER_AYS_ADMIN_URL."/images/loaders/loading.gif></span>"; | |
| 3001 | + $loader_iamge = "<span class='display_none'><img src=".esc_url(POLL_MAKER_AYS_ADMIN_URL)."/images/loaders/loading.gif></span>"; | |
| 2597 | 3002 | wp_nonce_field('settings_action', 'settings_action'); |
| 2598 | 3003 | $save_bottom_attributes = array( |
| 2599 | 3004 | 'id' => 'ays-button-apply', |
| 2600 | 3005 | 'title' => 'Ctrl + s', |
| @@ -2600,9 +3005,9 @@ | ||
| 2600 | 3005 | 'title' => 'Ctrl + s', |
| 2601 | 3006 | 'data-toggle' => 'tooltip', |
| 2602 | 3007 | 'data-delay'=> '{"show":"1000"}' |
| 2603 | 3008 | ); |
| 2604 | - submit_button(__('Save changes', "poll-maker"), 'primary ays-button', 'ays_submit', false, $save_bottom_attributes); | |
| 3009 | + submit_button( esc_html__('Save changes', "poll-maker"), 'primary ays-button', 'ays_submit', false, $save_bottom_attributes); | |
| 2605 | 3010 | echo $loader_iamge; |
| 2606 | 3011 | ?> |
| 2607 | 3012 | </div> |
| 2608 | 3013 | </form> |
| @@ -2630,8 +3035,11 @@ | ||
| 2630 | 3035 | |
| 2631 | 3036 | <div class="pro-features-popup-modal-right-box-button"> |
| 2632 | 3037 | <a href="#" class="pro-features-popup-modal-right-box-link" target="_blank"></a> |
| 2633 | 3038 | </div> |
| 3039 | + </div> | |
| 3040 | + <div class="pro-features-popup-modal-right-box-footer-text"> | |
| 3041 | + <span class="ays_poll_small_hint_text_for_message_variables"><?php echo esc_html__( "One-time payment", 'poll-maker' ); ?></span> | |
| 2634 | 3042 | </div> |
| 2635 | 3043 | </div> |
| 2636 | 3044 | </div> |
| 2637 | 3045 | </div> |