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