{% from "form_macros.html" import yop_poll_general_options_label as label %} {% from "form_macros.html" import yop_poll_input_field as input %} {% from "form_macros.html" import yop_poll_select as select %} {% set current_poll = yop_poll_options %}
{{__( "Start Date" ) }}: | {{ input(convert_date(current_poll.poll_start_date,date_format), 'yop-poll-start-date', 'yop_poll_options[poll_start_date]', 'text', '', 'hasDatePicker' ) }} |
---|---|
{{__( "End Date" ) }}: | |
{{__("Display Results")}}: |
{{ label( __("Before Vote"), 'yop-poll-view-results-before-vote', 'yop_poll_options[view_results][]', "before", "checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "before" ) }}
{{ label( __("After Vote"), 'yop-poll-view-results-after-vote', 'yop_poll_options[view_results][]', "after", "checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "after" ) }}
{{ label( __("After Poll End Date"),'yop-poll-view-results-after-poll-end-date', 'yop_poll_options[view_results][]', "after-poll-end-date","checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "after-poll-end-date" ) }}
{{ label( __("Never"), 'yop-poll-view-results-never', 'yop_poll_options[view_results][]', "never", "checkbox", "yop-poll-view-results-uncheck-n-all", current_poll.view_results, "never" ) }}
{{ label( __("Custom Date"), 'yop-poll-view-results-custom', 'yop_poll_options[view_results][]', "custom-date", "checkbox", "yop-poll-view-results-uncheck-c-all", current_poll.view_results, "custom-date" ) }}
|
{{ __("Display Results Permissions")}} | {{ label( __("Guest"), 'yop-poll-view-results-permissions-guest', 'yop_poll_options[view_results_permissions][]', "guest", "checkbox", "", current_poll.view_results_permissions, "guest" ) }} {{ label( __("Registered"), 'yop-poll-view-results-permissions-registered', 'yop_poll_options[view_results_permissions][]', "registered", "checkbox", "", current_poll.view_results_permissions, "registered" ) }} |
{{__( "Results Display")}}: | {{ label( __("By Votes Number"), 'yop-poll-view-results-votes-number', 'yop_poll_options[view_results_type]', "votes-number", "radio", "", current_poll.view_results_type, "votes-number" ) }} {{ label( __("Percentages"), 'yop-poll-view-results-percentages', 'yop_poll_options[view_results_type]', "percentages", "radio", "", current_poll.view_results_type, "percentages" ) }} {{ label( __("by Votes Number and Percentages"), 'yop-poll-view-results-votes-number-and-percentages', 'yop_poll_options[view_results_type]', "votes-number-and-percentages", "radio", "", current_poll.view_results_type, "votes-number-and-percentages" ) }} |
{{__( "Poll Answer Result Label")}}: | {{ input(current_poll.answer_result_label, 'yop-poll-answer-result-label', 'yop_poll_options[answer_result_label]', 'text' ) }} {{ __("Use %POLL-ANSWER-RESULT-PERCENTAGES% for showing answer percentages and %POLL-ANSWER-RESULT-VOTES% for showing answer number of votes" ) }} |
{{ __("Vote Button Label") }}: | {{ input( current_poll.vote_button_label, 'yop-poll-vote-button-label', 'yop_poll_options[vote_button_label]') }} |
{{ __("Display Results Link") }}: | {{ label( __("Yes"), 'yop-poll-view-results-link-yes', 'yop_poll_options[view_results_link]', "yes", "radio", "", current_poll.view_results_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-results-link-no', 'yop_poll_options[view_results_link]', "no", "radio", "", current_poll.view_results_link, "no" ) }} |
{{ __("Results Link Label") }}: |
{{ input( current_poll.view_results_link_label, 'yop-poll-view-results-link-label', 'yop_poll_options[view_results_link_label]') }} |
{{ __("Display Back To Vote Link") }}: | {{ label( __("Yes"), 'yop-poll-view-back-to-vote-link-yes', 'yop_poll_options[view_back_to_vote_link]', "yes", "radio", "", current_poll.view_back_to_vote_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-back-to-vote-link-no', 'yop_poll_options[view_back_to_vote_link]', "no", "radio", "", current_poll.view_back_to_vote_link, "no" ) }} |
{{ __("Back To Vote Link Label") }}: | {{ input( current_poll.view_back_to_vote_link_label, 'yop-poll-view-back-to-vote-link-label', 'yop_poll_options[view_back_to_vote_link_label]') }} |
{{ __("Display Total Votes") }}: | {{ label( __("Yes"), 'yop-poll-view-total-votes-yes', 'yop_poll_options[view_total_votes]', "yes", "radio", "", current_poll.view_total_votes, "yes" ) }} {{ label( __("No"), 'yop-poll-view-total-votes-no', 'yop_poll_options[view_total_votes]', "no", "radio", "", current_poll.view_total_votes, "no" ) }} |
{{ __("Total Votes Label") }}: |
{{ input( current_poll.view_total_votes_label, 'yop-poll-view-total-votes-label', 'yop_poll_options[view_total_votes_label]') }} {{ __("Use %POLL-TOTAL-VOTES% for displaying poll\'s total number of votes" ) }} |
{{ __("Display Total Answers") }}: | {{ label( __("Yes"), 'yop-poll-view-total-answers-yes', 'yop_poll_options[view_total_answers]', "yes", "radio", "", current_poll.view_total_answers, "yes" ) }} {{ label( __("No"), 'yop-poll-view-total-answers-no', 'yop_poll_options[view_total_answers]', "no", "radio", "", current_poll.view_total_answers, "no" ) }} |
{{ __("Total Answers Label") }}: |
{{ input( current_poll.view_total_answers_label, 'yop-poll-view-total-answers-label', 'yop_poll_options[view_total_answers_label]') }} {{ __("Use %POLL-TOTAL-ANSWERS% for displaying poll\'s total number of answers" ) }} |
{{ __("Message After Vote") }} | {{ input( current_poll.message_after_vote, 'yop-poll-message-after-vote', 'yop_poll_options[message_after_vote]') }} |
{{ __("Vote Permissions") }} | {{ label( __("Guest"), 'yop-poll-vote-permisions-guest', 'yop_poll_options[vote_permisions][]', "guest", "checkbox", "", current_poll.vote_permisions, "guest" ) }} {{ label( __("Registered"), 'yop-poll-vote-permisions-registered', 'yop_poll_options[vote_permisions][]', "registered", "checkbox", "", current_poll.vote_permisions, "registered" ) }} |
{{ __("Vote as Facebook User") }} {{ __("Will force users to login into Facebook")}} |
{{ label( __("Yes"), 'yop-poll-vote-permisions-facebook-yes', 'yop_poll_options[vote_permisions_facebook]', "yes", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.vote_permisions_facebook, "yes","","" ) }} {{ label( __("No"), 'yop-poll-vote-permisions-facebook-no', 'yop_poll_options[vote_permisions_facebook]', "no", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.vote_permisions_facebook, "no","","" ) }} |
{{ __("'Vote as Facebook User' Button Label") }}: | |
{{ __("Show Comments Widget") }}: | {{ label( __("Yes"), 'yop-poll-facebook-share-after-vote-yes', 'yop_poll_options[facebook_share_after_vote]', "yes", "radio","yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.facebook_share_after_vote, "yes","","" ) }} {{ label( __("No"), 'yop-poll-facebook-share-after-vote-no', 'yop_poll_options[facebook_share_after_vote]', "no", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.facebook_share_after_vote, "no","","" ) }} |
{{ __("Share after vote") }}: | {{ label( __("Yes"), 'yop-poll-facebook-share-after-vote-yes', 'yop_poll_options[facebook_share_after_vote]', "yes", "radio","yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.facebook_share_after_vote, "yes","","" ) }} {{ label( __("No"), 'yop-poll-facebook-share-after-vote-no', 'yop_poll_options[facebook_share_after_vote]', "no", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.facebook_share_after_vote, "no","","" ) }} |
{{ __("Share Description") }}: | |
{{ __("Vote as Google User") }} {{ __("Will force users to login into Google+")}} |
{{ label( __("Yes"), 'yop-poll-vote-permisions-google-yes', 'yop_poll_options[vote_permisions_google]', "yes", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.vote_permisions_google, "yes","","" ) }} {{ label( __("No"), 'yop-poll-vote-permisions-google-no', 'yop_poll_options[vote_permisions_google]', "no", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.vote_permisions_google, "no","","" ) }} |
{{ __("'Vote as google User' Button Label") }}: | |
{{ __("Show +1 Button after vote") }}: | {{ label( __("Yes"), 'yop-poll-vote-permisions-show-g-share-button-yes', 'yop_poll_options[show_google_share_button]', "yes", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.show_google_share_button, "yes","","" ) }} {{ label( __("No"), 'yop-poll-vote-permisions-show-g-share-button-no', 'yop_poll_options[show_google_share_button]', "no", "radio", "yop_poll_tooltip-buy_pro yop_poll_tooltip-buy", current_poll.show_google_share_button, "no","","" ) }} |
{{ __("Vote as Wordpress User") }} {{ __("Will force users to login")}} |
{{ label( __("Yes"), 'yop-poll-vote-permisions-wordpress-yes', 'yop_poll_options[vote_permisions_wordpress]', "yes", "radio", "", current_poll.vote_permisions_wordpress, "yes" ) }} {{ label( __("No"), 'yop-poll-vote-permisions-wordpress-no', 'yop_poll_options[vote_permisions_wordpress]', "no", "radio", "", current_poll.vote_permisions_wordpress, "no" ) }} |
{{ __("'Vote as Wordpress User' Button Label") }}: | {{ input( current_poll.vote_permisions_wordpress_label, 'yop-poll-vote-permisions-wordpress-label', 'yop_poll_options[vote_permisions_wordpress_label]') }} |
{{ __("Vote as Anonymous User") }}: ( {{ __("Logged users will be treated as anonymous") }} ) |
{{ label( __("Yes"), 'yop-poll-vote-permisions-anonymous-yes', 'yop_poll_options[vote_permisions_anonymous]', "yes", "radio", "", current_poll.vote_permisions_anonymous, "yes" ) }} {{ label( __("No"), 'yop-poll-vote-permisions-anonymous-no', 'yop_poll_options[vote_permisions_anonymous]', "no", "radio", "", current_poll.vote_permisions_anonymous, "no" ) }} |
{{ __("'Vote as Anonymous User' Button Label") }} | {{ input( current_poll.vote_permisions_anonymous_label, 'yop-poll-vote-permisions-anonymous-label', 'yop_poll_options[vote_permisions_anonymous_label]') }} |
{{ __("Blocking Voters") }}: | {{ label( __("Don\'t Block"), 'yop-poll-blocking-voters-dont-block', 'yop_poll_options[blocking_voters][]', "dont-block", "checkbox", "yop-poll-blocking-voters-hide-interval", current_poll.blocking_voters, "dont-block" ) }} {{ label( __("By Cookie"), 'yop-poll-blocking-voters-cookie', 'yop_poll_options[blocking_voters][]', "cookie", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "cookie" ) }} {{ label( __("By IP"), 'yop-poll-blocking-voters-ip', 'yop_poll_options[blocking_voters][]', "ip", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "ip" ) }} {{ label( __("By User ID"), 'yop-poll-blocking-voters-user_id', 'yop_poll_options[blocking_voters][]', "user_id", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "user_id" ) }} {{ label( __("By SuperCookie"), 'yop-poll-blocking-voters-supercookie', 'yop_poll_options[blocking_voters][]', "supercookie", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "supercookie" ) }} |
{{ __("Blocking Voters Interval") }}: | {{ input( current_poll.blocking_voters_interval_value, "yop-poll-blocking-voters-interval-value", "yop_poll_options[blocking_voters_interval_value]", "text", 'width: 20%' ) }} {{ select( "yop-poll-blocking-voters-interval-unit", "yop_poll_options[blocking_voters_interval_unit]", { "seconds" : "Seconds", "minutes" : "Minutes", "hours" : "Hours", "days" : "Days" }, current_poll.blocking_voters_interval_unit ) }} |
{{ __("Limit Number of Votes per User") }}: |
{{ label( __("Yes"), 'yop-poll-limit-number-of-votes-per-user-yes', 'yop_poll_options[limit_number_of_votes_per_user]', "yes", "radio", "", current_poll.limit_number_of_votes_per_user, "yes" ) }} {{ label( __("No"), 'yop-poll-limit-number-of-votes-per-user-no', 'yop_poll_options[limit_number_of_votes_per_user]', "no", "radio", "", current_poll.limit_number_of_votes_per_user, "no" ) }} |
{{ __("Number of Votes per User") }}: | {{ input( current_poll.number_of_votes_per_user, 'yop-poll-number-of-votes-per-user', 'yop_poll_options[number_of_votes_per_user]' )}} |
{{ __("Percentages Decimals") }}: | {{ input( current_poll.percentages_decimals, 'yop-poll-percentages-decimals', 'yop_poll_options[percentages_decimals]' )}} |
{{ __("Use Default Loading Image") }}: | {{ label( __("Yes"), 'yop-poll-use-default-loading-image-yes', 'yop_poll_options[use_default_loading_image]', "yes", "radio", "", current_poll.use_default_loading_image, "yes" ) }} {{ label( __("No"), 'yop-poll-use-default-loading-image-no', 'yop_poll_options[use_default_loading_image]', "no", "radio", "", current_poll.use_default_loading_image, "no" ) }} |
{{ __("Loading Image Url") }}: | {{ input( current_poll.loading_image_url, 'yop-poll-loading-image-url', 'yop_poll_options[loading_image_url]' ) }} |
{{ __("Date Format") }} : | {{ label( 'EU', 'yop-poll-date-format-ue', 'yop_poll_options[date_format]', "UE", "radio", "", current_poll.date_format, "UE" ) }} {{ label( 'US', 'yoyop-poll-date-format-us', 'yop_poll_options[date_format]', "US", "radio", "", current_poll.date_format, "US" ) }} |
{{ __("Redirect After Vote") }} : | {{ label( __("Yes"), 'yop-poll-redirect-after-vote-yes', 'yop_poll_options[redirect_after_vote]', "yes", "radio", "", current_poll.redirect_after_vote, "yes" ) }} {{ label( __("No"), 'yop-poll-redirect-after-vote-no', 'yop_poll_options[redirect_after_vote]', "no", "radio", "", current_poll.redirect_after_vote, "no" ) }} |
{{ __("Redirect After Vote URL") }} : | {{ input ( current_poll.redirect_after_vote_url, 'yop-poll-redirect-after-vote-url', 'yop_poll_options[redirect_after_vote_url]' ) }} |
{{ __("Display Archive Link") }}: | {{ label( __("Yes"), 'yop-poll-view-poll-archive-link-yes', 'yop_poll_options[view_poll_archive_link]', "yes", "radio", "", current_poll.view_poll_archive_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-poll-archive-link-no', 'yop_poll_options[view_poll_archive_link]', "no", "radio", "", current_poll.view_poll_archive_link, "no" ) }} |
{{ __("Auto Generate Poll Page") }}: | {{ label( __("Yes"), 'yop-poll-auto-generate-poll-page-yes', 'yop_poll_options[auto_generate_poll_page]', "yes", "radio", "", current_poll.auto_generate_poll_page, "yes" ) }} {{ label( __("No"), 'yop-poll-auto-generate-poll-page-no', 'yop_poll_options[auto_generate_poll_page]', "no", "radio", "", current_poll.auto_generate_poll_page, "no" ) }} |
{{ __("Use CAPTCHA") }}: | {{ label( __("Yes"), 'yop-poll-use-captcha-yes', 'yop_poll_options[use_captcha]', "yes", "radio", "", current_poll.use_captcha, "yes" ) }} {{ label( __("No"), 'yop-poll-use-captcha-no', 'yop_poll_options[use_captcha]', "no", "radio", "", current_poll.use_captcha, "no" ) }} |
{{ __("Send Email Notifications") }}: | {{ label( __("Yes"), 'yop-poll-send-email-notifications-yes', 'yop_poll_options[send_email_notifications]', "yes", "radio", "", current_poll.send_email_notifications, "yes" ) }} {{ label( __("No"), 'yop-poll-send-email-notifications-no', 'yop_poll_options[send_email_notifications]', "no", "radio", "", current_poll.send_email_notifications, "no" ) }} |
{{ __("Show Poll In Archive") }}: | {{ label( __("Yes"), 'yop-poll-show-poll-in-archive-yes', 'yop_poll_options[show_poll_in_archive]', "yes", "radio", "", current_poll.show_poll_in_archive, "yes" ) }} {{ label( __("No"), 'yop-poll-show-poll-in-archive-no', 'yop_poll_options[show_poll_in_archive]', "no", "radio", "", current_poll.show_poll_in_archive, "no" ) }} |
{{ __("Poll Archive Order") }}: | {{ input( current_poll.poll_archive_order, 'yop-poll-poll-archive-order', 'poll_archive_order' )}} |