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 +34 -0 6.4.4 → 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;">
@@ -2563,8 +2587,18 @@
2563 2587 </strong>
2564 2588 <span class="ays-poll-message-variables-text-divider"> - </span>
2565 2589 <span class="ays-poll-message-variables-hint-text">
2566 2590 <?php echo esc_html__( "The title of the poll.", "poll-maker"); ?>
2591 + </span>
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"); ?>
2567 2601 </span>
2568 2602 </p>
2569 2603 <hr class="ays-poll-message-variables-text-divider-for-mobile">
2570 2604 <p class="vmessage">