PluginProbe
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls / 6.5.1
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls v6.5.1
6.5.1 6.5.0 6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1 6.4.0 6.3.9 6.3.8 6.3.7 6.3.6 6.3.5 6.3.4 6.3.3 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 All 154 releases
← All changes | admin/partials/settings/poll-maker-settings.php +44 -0 6.4.3 → 6.5.1 View file →
@@ -95,8 +95,12 @@
95 95 // General CSS File
96 96 $options['poll_exclude_general_css'] = isset($options['poll_exclude_general_css']) ? esc_attr( $options['poll_exclude_general_css'] ) : 'off';
97 97 $poll_exclude_general_css = (isset($options['poll_exclude_general_css']) && esc_attr( $options['poll_exclude_general_css'] ) == "on") ? true : false;
98 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 +
99 103 // 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 ;
101 105
102 106 ?>
@@ -424,8 +428,28 @@
424 428 </fieldset> <!-- Exclude General CSS -->
425 429 <hr>
426 430 <fieldset>
427 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>
428 452 <strong style="font-size:30px;"><i class="ays_poll_fa ays_poll_fa_globe"></i></strong>
429 453 <h5><?php echo esc_html__('Who will have permission to Poll menu', "poll-maker")?></h5>
430 454 </legend>
431 455 <div class="form-group row" style="margin: 0px;">
@@ -2568,8 +2592,18 @@
2568 2592 </p>
2569 2593 <hr class="ays-poll-message-variables-text-divider-for-mobile">
2570 2594 <p class="vmessage">
2571 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>
2572 2606 <input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly value="%%poll_id%%" class='ays-poll-message-variables-inputs'/>
2573 2607 </strong>
2574 2608 <span class="ays-poll-message-variables-text-divider"> - </span>
2575 2609 <span class="ays-poll-message-variables-hint-text">
@@ -2703,8 +2737,18 @@
2703 2737 </strong>
2704 2738 <span class="ays-poll-message-variables-text-divider"> - </span>
2705 2739 <span class="ays-poll-message-variables-hint-text">
2706 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"); ?>
2707 2751 </span>
2708 2752 </p>
2709 2753 <hr class="ays-poll-message-variables-text-divider-for-mobile">
2710 2754 <p class="vmessage">