PluginProbe
Survey Maker by AYS / 5.2.3.9
Survey Maker by AYS v5.2.3.9
5.2.4.0 5.2.3.9 5.2.3.8 5.2.3.7 5.2.3.6 5.2.3.5 5.2.3.4 5.2.3.3 5.2.3.2 5.2.3.1 5.2.3.0 5.2.2.9 5.2.2.8 5.2.2.7 5.2.2.6 5.2.2.5 5.2.2.4 5.2.2.3 5.2.2.2 5.2.2.1 5.2.2.0 5.2.1.9 5.2.1.8 5.2.0.8 5.2.0.9 All 153 releases
survey-maker / admin / partials / settings / survey-maker-settings.php

survey-maker-settings.php in Survey Maker by AYS 5.2.3.9, at admin/partials/settings/survey-maker-settings.php

2,038 lines 162.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $actions = $this->settings_obj;
3
4 if( isset( $_REQUEST['ays_submit'] ) ){
5 $actions->store_data();
6 }
7 if(isset($_GET['ays_survey_tab'])){
8 $ays_survey_tab = sanitize_text_field( $_GET['ays_survey_tab'] );
9 }else{
10 $ays_survey_tab = 'tab1';
11 }
12
13 $loader_iamge = '<span class="display_none ays_survey_loader_box"><img src="'. SURVEY_MAKER_ADMIN_URL .'/images/loaders/loading.gif"></span>';
14
15 $db_data = $actions->get_db_data();
16 $options = ($actions->ays_get_setting('options') === false) ? array() : json_decode($actions->ays_get_setting('options'), true);
17
18 global $wp_roles;
19 $ays_users_roles = $wp_roles->role_names;
20 $user_roles = $actions->ays_get_setting('user_roles');
21 if( $user_roles === null || $user_roles === false ){
22 $user_roles = array();
23 }else{
24 $user_roles = json_decode( $user_roles );
25 }
26
27 $survey_types = array(
28 // Free types
29 "radio" => array(
30 "type_name" => __("Radio", "survey-maker") ,
31 "type_version" => "free"
32 ),
33 "checkbox" => array(
34 "type_name" => __("Checkbox (Multi)", "survey-maker") ,
35 "type_version" => "free"
36 ),
37 "select" => array(
38 "type_name" => __("Dropdown", "survey-maker") ,
39 "type_version" => "free"
40 ),
41 "star" => array(
42 "type_name" => __("Star Rating", "survey-maker") ,
43 "type_version" => "free"
44 ),
45 "text" => array(
46 "type_name" => __("Paragraph", "survey-maker") ,
47 "type_version" => "free"
48 ),
49 "short_text" => array(
50 "type_name" => __("Short Text", "survey-maker") ,
51 "type_version" => "free"
52 ),
53 "number" => array(
54 "type_name" => __("Number", "survey-maker") ,
55 "type_version" => "free"
56 ),
57 "phone" => array(
58 "type_name" => __("Phone", "survey-maker") ,
59 "type_version" => "free"
60 ),
61 "date" => array(
62 "type_name" => __("Date", "survey-maker") ,
63 "type_version" => "free"
64 ),
65 "time" => array(
66 "type_name" => __("Time", "survey-maker") ,
67 "type_version" => "free"
68 ),
69 "date_time" => array(
70 "type_name" => __("Date and Time", "survey-maker") ,
71 "type_version" => "free"
72 ),
73 "yesorno" => array(
74 "type_name" => __("Yes or No", "survey-maker") ,
75 "type_version" => "free"
76 ),
77 "email" => array(
78 "type_name" => __("Email", "survey-maker") ,
79 "type_version" => "free"
80 ),
81 "name" => array(
82 "type_name" => __("Name", "survey-maker") ,
83 "type_version" => "free"
84 ),
85 // Pro types
86 "matrix_scale" => array(
87 "type_name" => __("Matrix Scale (Pro)", "survey-maker") ,
88 "type_version" => "pro"
89 ),
90 "matrix_scale_checkbox" => array(
91 "type_name" => __("Matrix Scale Checkbox (Pro)", "survey-maker") ,
92 "type_version" => "pro"
93 ),
94 "nps" => array(
95 "type_name" => __("Net Promoter Score (Pro)", "survey-maker") ,
96 "type_version" => "pro"
97 ),
98 "ranking" => array(
99 "type_name" => __("Ranking (Pro)", "survey-maker") ,
100 "type_version" => "pro"
101 ),
102 "calculation" => array(
103 "type_name" => __("Calculation (Pro)", "survey-maker") ,
104 "type_version" => "pro"
105 ),
106 "star_list" => array(
107 "type_name" => __("Star List (Pro)", "survey-maker") ,
108 "type_version" => "pro"
109 ),
110 "slider_list" => array(
111 "type_name" => __("Slider List (Pro)", "survey-maker") ,
112 "type_version" => "pro"
113 ),
114 "linear_scale" => array(
115 "type_name" => __("Linear Scale (Pro)", "survey-maker") ,
116 "type_version" => "pro"
117 ),
118 "slider" => array(
119 "type_name" => __("Slider (Pro)", "survey-maker") ,
120 "type_version" => "pro"
121 ),
122 "uplaod" => array(
123 "type_name" => __("Upload (Pro)", "survey-maker") ,
124 "type_version" => "pro"
125 ),
126 "hidden" => array(
127 "type_name" => __("Hidden (Pro)", "survey-maker") ,
128 "type_version" => "pro"
129 ),
130 "html" => array(
131 "type_name" => __("HTML (Pro)", "survey-maker") ,
132 "type_version" => "pro"
133 ),
134 );
135
136 // Survey question default type
137 $options['survey_default_type'] = !isset($options['survey_default_type']) ? 'radio' : $options['survey_default_type'];
138 $survey_default_type = (isset($options['survey_default_type']) && $options['survey_default_type'] != '') ? esc_attr($options['survey_default_type']) : 'radio';
139 $survey_answer_default_count = (isset($options['survey_answer_default_count']) && $options['survey_answer_default_count'] != '')? $options['survey_answer_default_count'] : 3;
140
141 // Do not store IP addresses
142 $options['survey_disable_user_ip'] = (isset($options['survey_disable_user_ip']) && $options['survey_disable_user_ip'] == 'on') ? $options['survey_disable_user_ip'] : 'off' ;
143 $survey_disable_user_ip = (isset($options['survey_disable_user_ip']) && $options['survey_disable_user_ip'] == 'on') ? true : false;
144
145 // Do not store user names
146 $options['survey_disable_user_name'] = (isset($options['survey_disable_user_name']) && $options['survey_disable_user_name'] != '') ? $options['survey_disable_user_name'] : 'off' ;
147 $survey_disable_user_name = (isset($options['survey_disable_user_name']) && $options['survey_disable_user_name'] == 'on') ? true : false;
148
149 // Do not store user emails
150 $options['survey_disable_user_email'] = (isset($options['survey_disable_user_email']) && $options['survey_disable_user_email'] != '') ? $options['survey_disable_user_email'] : 'off' ;
151 $survey_disable_user_email = (isset($options['survey_disable_user_email']) && $options['survey_disable_user_email'] == 'on') ? true : false;
152
153 $survey_submmission_title_length = (isset($options['survey_submissions_title_length']) && $options['survey_submissions_title_length'] != '') ? intval($options['survey_submissions_title_length']) : 5;
154 $survey_title_length = (isset($options['survey_title_length']) && $options['survey_title_length'] != '') ? intval($options['survey_title_length']) : 5;
155
156 $survey_categories_title_length = (isset($options['survey_categories_title_length']) && $options['survey_categories_title_length'] != '') ? intval($options['survey_categories_title_length']) : 5;
157
158 $survey_popups_title_length = (isset($options['survey_popups_title_length']) && $options['survey_popups_title_length'] != '') ? intval($options['survey_popups_title_length']) : 5;
159
160 // Animation Top
161 $survey_animation_top = (isset($options['survey_animation_top']) && $options['survey_animation_top'] != '') ? absint(intval($options['survey_animation_top'])) : 200;
162 $options['survey_enable_animation_top'] = isset($options['survey_enable_animation_top']) ? $options['survey_enable_animation_top'] : 'on';
163 $survey_enable_animation_top = (isset($options['survey_enable_animation_top']) && $options['survey_enable_animation_top'] == "on") ? true : false;
164
165 // Disable Survey Maker menu item notification
166 $options['survey_disable_survey_menu_notification'] = isset($options['survey_disable_survey_menu_notification']) ? esc_attr( $options['survey_disable_survey_menu_notification'] ) : 'off';
167 $survey_disable_survey_menu_notification = (isset($options['survey_disable_survey_menu_notification']) && esc_attr( $options['survey_disable_survey_menu_notification'] ) == "on") ? true : false;
168
169 // Disable Submissions menu item notification
170 $options['survey_disable_submission_menu_notification'] = isset($options['survey_disable_submission_menu_notification']) ? esc_attr( $options['survey_disable_submission_menu_notification'] ) : 'off';
171 $survey_disable_submission_menu_notification = (isset($options['survey_disable_submission_menu_notification']) && esc_attr( $options['survey_disable_submission_menu_notification'] ) == "on") ? true : false;
172
173 $survey_menu_badge_style_options = array(
174 'classic' => array(
175 'background' => '#ca4a1f',
176 'label' => __( 'Default', 'survey-maker' ),
177 ),
178 'wp_default' => array(
179 'background' => '#3858e9',
180 'label' => __( 'WordPress default', 'survey-maker' ),
181 ),
182 );
183 $options['survey_menu_badge_style'] = isset($options['survey_menu_badge_style']) ? sanitize_key( $options['survey_menu_badge_style'] ) : 'classic';
184 $survey_menu_badge_style = array_key_exists( $options['survey_menu_badge_style'], $survey_menu_badge_style_options ) ? $options['survey_menu_badge_style'] : 'classic';
185
186 // Textarea height (public)
187 $survey_textarea_height = (isset($options['survey_textarea_height']) && $options['survey_textarea_height'] != '' && $options['survey_textarea_height'] != 0) ? absint( sanitize_text_field($options['survey_textarea_height']) ) : 100;
188
189 // WP Editor height
190 $survey_wp_editor_height = (isset($options['survey_wp_editor_height']) && $options['survey_wp_editor_height'] != '' && $options['survey_wp_editor_height'] != 0) ? absint( esc_attr($options['survey_wp_editor_height']) ) : 100;
191
192 // Make question required
193 $options['survey_make_questions_required'] = (isset($options['survey_make_questions_required']) && $options['survey_make_questions_required'] != '') ? $options['survey_make_questions_required'] : 'off' ;
194 $survey_make_questions_required = (isset($options['survey_make_questions_required']) && $options['survey_make_questions_required'] == 'on') ? true : false;
195
196 // Lazy loading for images
197 $options['survey_lazy_loading_for_images'] = (isset($options['survey_lazy_loading_for_images']) && $options['survey_lazy_loading_for_images'] != '') ? $options['survey_lazy_loading_for_images'] : 'off' ;
198 $survey_lazy_loading_for_images = (isset($options['survey_lazy_loading_for_images']) && $options['survey_lazy_loading_for_images'] == 'on') ? true : false;
199
200 //Summary Email
201 $ays_survey_admin_email_sessions = array(
202 'hourly' => __('Hourly', "survey-maker"),
203 'daily' => __('Daily', "survey-maker"),
204 'twicedaily' => __('Twicedaily', "survey-maker"),
205 'weekly' => __('Weekly', "survey-maker"),
206 );
207
208 // Default texts | Start
209 $default_texts_res = ($actions->ays_get_setting('default_texts') === false) ? json_encode(array()) : $actions->ays_get_setting('default_texts');
210 $default_texts = json_decode($default_texts_res, true);
211
212 $wrong_shortcode_text = (isset($default_texts['wrong_shortcode_text']) && $default_texts['wrong_shortcode_text'] != '') ? stripslashes( esc_attr( $default_texts['wrong_shortcode_text'] ) ) : 'Wrong shortcode initialized';
213 $email_validation_error_text = (isset($default_texts['email_validation_error_text']) && $default_texts['email_validation_error_text'] != '') ? stripslashes( esc_attr( $default_texts['email_validation_error_text'] ) ) : 'Must be a valid email address';
214 $redirecting_after_text = (isset($default_texts['redirecting_after_text']) && $default_texts['redirecting_after_text'] != '') ? stripslashes( esc_attr( $default_texts['redirecting_after_text'] ) ) : 'Redirecting after';
215 // Default texts | End
216
217 $buttons_texts_res = ($actions->ays_get_setting('buttons_texts') === false) ? json_encode(array()) : $actions->ays_get_setting('buttons_texts');
218 $buttons_texts = json_decode($buttons_texts_res, true);
219
220 $survey_next_button = (isset($buttons_texts['next_button']) && $buttons_texts['next_button'] != '') ? stripslashes( esc_attr($buttons_texts['next_button']) ) : 'Next';
221 $survey_previous_button = (isset($buttons_texts['prev_button']) && $buttons_texts['prev_button'] != '') ? stripslashes( esc_attr($buttons_texts['prev_button']) ) : 'Prev';
222 $survey_restart_button = (isset($buttons_texts['restart_button']) && $buttons_texts['restart_button'] != '') ? stripslashes( esc_attr($buttons_texts['restart_button']) ) : 'Restart';
223 $survey_clear_button = (isset($buttons_texts['clear_button']) && $buttons_texts['clear_button'] != '') ? stripslashes( esc_attr($buttons_texts['clear_button']) ) : 'Clear selection';
224 $survey_finish_button = (isset($buttons_texts['finish_button']) && $buttons_texts['finish_button'] != '') ? stripslashes( esc_attr($buttons_texts['finish_button']) ) : 'Finish';
225 $survey_exit_button = (isset($buttons_texts['exit_button']) && $buttons_texts['exit_button'] != '') ? stripslashes( esc_attr($buttons_texts['exit_button']) ) : 'Exit';
226 $survey_login_button = (isset($buttons_texts['login_button']) && $buttons_texts['login_button'] != '') ? stripslashes( esc_attr($buttons_texts['login_button']) ) : 'Log In';
227 $survey_start_button = (isset($buttons_texts['start_button']) && $buttons_texts['start_button'] != '') ? stripslashes( esc_attr( $buttons_texts['start_button'] ) ) : 'Start';
228
229 $default_all_submissions_columns = array(
230 'User Name',
231 'Survey Name',
232 'Submission Date',
233 );
234
235 $ays_survey_user_history_columns_order = array(
236 'Survey Name',
237 'Submission Date',
238 );
239
240 // Add message varibales here
241 $message_variables = array(
242 'general_message_variables' => array(
243 'current_date' => __('The date of the submission survey.' , "survey-maker"),
244 'current_time' => __('The time of the submission survey.' , "survey-maker"),
245 'current_day' => __('The day of the submission survey.' , "survey-maker"),
246 'current_month' => __('The month of the submission survey.' , "survey-maker"),
247 'unique_code' => __('Use to identify the uniqueness of each attempt.' , "survey-maker"),
248 'post_id' => __('The ID of the current post.' , "survey-maker"),
249 'home_page_url' => __('The URL of the home page.' , "survey-maker"),
250 'post_author_email' => __('The Email of the author of the post.' , "survey-maker"),
251 'post_title' => __('The Post title of the current post.' , "survey-maker"),
252 'post_author_nickname' => __('The Nickname of the author of the post.' , "survey-maker"),
253 'post_author_display_name' => __('The Display name of the author of the post.' , "survey-maker"),
254 'post_author_first_name' => __('The First Name of the author of the post.' , "survey-maker"),
255 'post_author_last_name' => __('The Last Name of the author of the post.' , "survey-maker"),
256 'post_author_website_url' => __('The website url of the author of the post.' , "survey-maker"),
257 'post_author_roles' => __('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.' , "survey-maker"),
258 'site_title' => __('The title of the website.' , "survey-maker"),
259 'site_description' => __('The description of the website.' , "survey-maker"),
260 ),
261 'user_message_variables' => array(
262 'user_name' => __('The name the user entered into the survey form. It will work only if the name field exists in the form.' , "survey-maker"),
263 'user_email' => __('The E-mail the user entered into the survey form. It will work only if the email field exists in the form.' , "survey-maker"),
264 'user_wordpress_email' => __('The E-mail that was filled in their WordPress site during registration.' , "survey-maker"),
265 'user_id' => __('The ID of the current user.' , "survey-maker"),
266 'user_registered' => __('The user\'s registration date when logged-in. In case the user is not logged-in, the field will be empty.' , "survey-maker"),
267 'users_count' => __('The number of the passed users count of the given survey.' , "survey-maker"),
268 'users_first_name' => __('The user\'s first name that was filled in their WordPress site during registration.' , "survey-maker"),
269 'users_last_name' => __('The user\'s last name that was filled in their WordPress site during registration.' , "survey-maker"),
270 'users_nick_name' => __('The user\'s nick name that was filled in their WordPress site during registration.' , "survey-maker"),
271 'user_wordpress_roles' => __('The user\'s role(s) when logged-in. In case the user is not logged-in, the field will be empty.' , "survey-maker"),
272 'user_website_url' => __('The user\'s website url that was filled in their WordPress profile.' , "survey-maker"),
273 'users_display_name' => __('The user\'s display name that was filled in their WordPress site during registration.' , "survey-maker"),
274 'users_ip_address' => __('The user\'s ip address.' , "survey-maker"),
275 'admin_email' => __('Shows the admin\'s email that was filled in their WordPress profile.' , "survey-maker"),
276 ),
277 'survey_message_variables' => array(
278 'survey_title' => __('The title of the survey.' , "survey-maker"),
279 'survey_category_title' => __('The title of the survey category.' , "survey-maker"),
280 'survey_id' => __('The ID of the survey.' , "survey-maker"),
281 'current_survey_author' => __('It will show the author of the current survey.' , "survey-maker"),
282 'current_survey_author_email' => __('It will show the author email of the current survey.' , "survey-maker"),
283 'current_survey_author_nickname' => __('It will show the author nickname of the current survey.' , "survey-maker"),
284 'current_survey_author_display_name' => __('It will show the author display name of the current survey.' , "survey-maker"),
285 'current_survey_author_website_url' => __('It will show the author Website URL of the current survey.' , "survey-maker"),
286 'current_survey_author_registered' => __('It will show the author registration date of the current survey.' , "survey-maker"),
287 'current_survey_page_link' => __('Prints the webpage link where the current survey is posted.' , "survey-maker"),
288 'questions_count' => __('The number of the questions of the given survey.' , "survey-maker"),
289 'sections_count' => __('The number of the sections of the given survey.' , "survey-maker"),
290 'submission_count' => __('Shows the submission count of a particular survey.' , "survey-maker"),
291 'creation_date' => __('The creation date of the survey.' , "survey-maker"),
292 'modified_date' => __('The last modified date of the survey.' , "survey-maker"),
293 )
294 );
295 ?>
296 <div class="wrap" style="position:relative;">
297 <div class="container-fluid">
298 <div class="ays-survey-heading-box">
299 <div class="ays-survey-wordpress-user-manual-box">
300 <a href="https://ays-pro.com/wordpress-survey-maker-user-manual#frag_general_settings" target="_blank" style="text-decoration: none;font-size: 13px;">
301 <i class="ays_fa ays_fa_file_text" ></i>
302 <span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__( "How to configure general settings", "survey-maker" ); ?></span>
303 </a>
304 </div>
305 </div>
306 <h1 class="wp-heading-inline">
307 <?php
308 echo esc_html__('General Settings',"survey-maker");
309 ?>
310 </h1>
311 <?php do_action('ays_survey_sale_banner'); ?>
312 <form method="post" id="ays-survey-settings-form">
313 <input type="hidden" name="ays_survey_tab" value="<?php echo esc_attr($ays_survey_tab); ?>">
314 <?php
315 if( isset( $_REQUEST['status'] ) ){
316 $actions->survey_settings_notices( sanitize_text_field( $_REQUEST['status'] ) );
317 }
318 ?>
319 <hr/>
320 <div class="ays-settings-wrapper">
321 <div class="ays-settings-wrapper-tabs">
322 <div class="nav-tab-wrapper" style="position:sticky; top:35px;">
323 <a href="#tab1" data-tab="tab1" class="nav-tab <?php echo ($ays_survey_tab == 'tab1') ? 'nav-tab-active' : ''; ?>">
324 <?php echo esc_html__("General", "survey-maker");?>
325 </a>
326 <a href="#tab2" data-tab="tab2" class="nav-tab <?php echo ($ays_survey_tab == 'tab2') ? 'nav-tab-active' : ''; ?>">
327 <?php echo esc_html__("Integrations", "survey-maker");?>
328 </a>
329 <a href="#tab3" data-tab="tab3" class="nav-tab <?php echo ($ays_survey_tab == 'tab3') ? 'nav-tab-active' : ''; ?>">
330 <?php echo esc_html__("Message Variables", "survey-maker");?>
331 </a>
332 <a href="#tab4" data-tab="tab4" class="nav-tab <?php echo ($ays_survey_tab == 'tab4') ? 'nav-tab-active' : ''; ?>">
333 <?php echo esc_html__("Text Customizations", "survey-maker");?>
334 </a>
335 <a href="#tab5" data-tab="tab5" class="nav-tab <?php echo ($ays_survey_tab == 'tab5') ? 'nav-tab-active' : ''; ?>">
336 <?php echo esc_html__("Shortcodes", "survey-maker");?>
337 </a>
338 </div>
339 </div>
340 <div class="ays-survey-tabs-wrapper">
341 <div id="tab1" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab1') ? 'ays-survey-tab-content-active' : ''; ?>">
342 <p class="ays-subtitle"><?php echo esc_html__('General Settings',"survey-maker")?></p>
343 <hr/>
344 <fieldset>
345 <legend>
346 <strong style="font-size:30px;"><i class="ays_fa ays_fa_question"></i></strong>
347 <h5><?php echo esc_html__('Default parameters for Survey',"survey-maker")?></h5>
348 </legend>
349 <div class="form-group row">
350 <div class="col-sm-4">
351 <label for="ays_survey_default_type">
352 <?php echo esc_html__( "Surveys default question type", "survey-maker" ); ?>
353 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('You can choose default question type which will be selected in the Add new survey page.',"survey-maker")?>">
354 <i class="ays_fa ays_fa_info_circle"></i>
355 </a>
356 </label>
357 </div>
358 <div class="col-sm-8">
359 <select id="ays_survey_default_type" name="ays_survey_default_type">
360 <option></option>
361 <?php
362 foreach($survey_types as $survey_type => $survey_label):
363 $selected = $survey_default_type == $survey_type ? "selected" : "";
364 ?>
365 <?php if($survey_label['type_version'] == 'free'):?>
366 <option value="<?php echo esc_attr($survey_type); ?>" <?php echo esc_attr($selected); ?> ><?php echo esc_html($survey_label['type_name']); ?></option>
367 <?php else:?>
368 <option value="<?php echo esc_attr($survey_type); ?>" class="ays-survey-choose-question-default-type-pro" disabled><?php echo esc_html($survey_label['type_name']); ?></option>
369 <?php endif;?>
370 <?php
371 endforeach;
372 ?>
373 </select>
374 </div>
375 </div>
376 <hr>
377 <div class="form-group row">
378 <div class="col-sm-4">
379 <label for="ays_survey_answer_default_count">
380 <?php echo esc_html__( "Answer default count", "survey-maker" ); ?>
381 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('You can write the default answer count which will be showing in the Add new question page (this will work only with radio, checkbox, and dropdown types).',"survey-maker")?>">
382 <i class="ays_fa ays_fa_info_circle"></i>
383 </a>
384 </label>
385 </div>
386 <div class="col-sm-8">
387 <input type="number" name="ays_survey_answer_default_count" id="ays_survey_answer_default_count" class="ays-text-input" value="<?php echo esc_attr($survey_answer_default_count); ?>">
388 </div>
389 </div>
390 <hr>
391 <div class="form-group row">
392 <div class="col-sm-4">
393 <label for="ays_survey_textarea_height">
394 <?php echo esc_html__( "Textarea height (public)", "survey-maker" ); ?>
395 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Set the height of the textarea by entering a numeric value. It applies to Paragraph question type textarea.',"survey-maker"); ?>">
396 <i class="ays_fa ays_fa_info_circle"></i>
397 </a>
398 </label>
399 </div>
400 <div class="col-sm-8">
401 <input type="number" name="ays_survey_textarea_height" id="ays_survey_textarea_height" class="ays-text-input" value="<?php echo esc_attr($survey_textarea_height); ?>">
402 </div>
403 </div>
404 <hr>
405 <div class="form-group row">
406 <div class="col-sm-4">
407 <label for="ays_survey_wp_editor_height">
408 <?php echo esc_html__( "WP Editor height", "survey-maker" ); ?>
409 <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.',"survey-maker"); ?>">
410 <i class="ays_fa ays_fa_info_circle"></i>
411 </a>
412 </label>
413 </div>
414 <div class="col-sm-8">
415 <input type="number" name="ays_survey_wp_editor_height" id="ays_survey_wp_editor_height" class="ays-text-input" value="<?php echo esc_attr($survey_wp_editor_height); ?>">
416 </div>
417 </div>
418 <hr>
419 <div class="form-group row">
420 <div class="col-sm-4">
421 <label for="ays_survey_make_questions_required">
422 <?php echo esc_html__( "Make questions required", "survey-maker" ); ?>
423 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('By enabling this option, the questions of newly created surveys will be required by default. Note: The changes will not be applied to the already created surveys.',"survey-maker")?>">
424 <i class="ays_fa ays_fa_info_circle"></i>
425 </a>
426 </label>
427 </div>
428 <div class="col-sm-8">
429 <input type="checkbox" class="ays-checkbox-input" id="ays_survey_make_questions_required" name="ays_survey_make_questions_required" value="on" <?php echo $survey_make_questions_required ? 'checked' : ''; ?> />
430 </div>
431 </div>
432 <hr>
433 <div class="form-group row">
434 <div class="col-sm-4">
435 <label for="ays_survey_lazy_loading_for_images">
436 <?php echo esc_html__( "Lazy loading for images", "survey-maker" ); ?>
437 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Tick this option to delay the loading of images of questions and answers to improve the performance of your plugin.',"survey-maker")?>">
438 <i class="ays_fa ays_fa_info_circle"></i>
439 </a>
440 </label>
441 </div>
442 <div class="col-sm-8">
443 <input type="checkbox" class="ays-checkbox-input" id="ays_survey_lazy_loading_for_images" name="ays_survey_lazy_loading_for_images" value="on" <?php echo $survey_lazy_loading_for_images ? 'checked' : ''; ?> />
444 </div>
445 </div>
446 </fieldset>
447 <hr/>
448 <fieldset>
449 <legend>
450 <strong style="font-size:30px;"><i class="fa fa-server"></i></strong>
451 <h5><?php echo esc_html__('Users IP addresses',"survey-maker")?></h5>
452 </legend>
453 <blockquote class="ays_warning">
454 <p style="margin:0;"><?php echo esc_html__( "If this option is enabled then the 'Limitation by IP' option will not work!", "survey-maker" ); ?></p>
455 </blockquote>
456 <hr/>
457 <div class="form-group row">
458 <div class="col-sm-4">
459 <label for="ays_survey_disable_user_ip">
460 <?php echo esc_html__( "Do not store IP addresses", "survey-maker" ); ?>
461 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('After enabling this option, IP address of the users will not be stored in database. Note: If this option is enabled, then the `Limits user by IP` option will not work.',"survey-maker")?>">
462 <i class="ays_fa ays_fa_info_circle"></i>
463 </a>
464 </label>
465 </div>
466 <div class="col-sm-8">
467 <input type="checkbox" class="ays-checkbox-input" id="ays_survey_disable_user_ip" name="ays_survey_disable_user_ip" value="on" <?php echo $survey_disable_user_ip ? 'checked' : ''; ?> />
468 </div>
469 </div>
470 </fieldset>
471 <hr/>
472 <fieldset>
473 <legend>
474 <strong style="font-size:30px;"><i class="fa fa-user-secret"></i></strong>
475 <h5><?php echo esc_html__('Anonymity Survey',"survey-maker")?></h5>
476 </legend>
477 <div class="form-group row">
478 <div class="col-sm-4">
479 <label for="ays_survey_disable_user_name">
480 <?php echo esc_html__( "Do not store User Names", "survey-maker" ); ?>
481 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('After enabling this option, User Names will not be stored in database.',"survey-maker"); ?>">
482 <i class="ays_fa ays_fa_info_circle"></i>
483 </a>
484 </label>
485 </div>
486 <div class="col-sm-8">
487 <input type="checkbox" class="ays-checkbox-input" id="ays_survey_disable_user_name" name="ays_survey_disable_user_name" value="on" <?php echo $survey_disable_user_name ? 'checked' : ''; ?> />
488 </div>
489 </div>
490 <hr/>
491 <div class="form-group row">
492 <div class="col-sm-4">
493 <label for="ays_survey_disable_user_email">
494 <?php echo esc_html__( "Do not store User Emails", "survey-maker" ); ?>
495 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('After enabling this option, User Emails will not be stored in database.',"survey-maker"); ?>">
496 <i class="ays_fa ays_fa_info_circle"></i>
497 </a>
498 </label>
499 </div>
500 <div class="col-sm-8">
501 <input type="checkbox" class="ays-checkbox-input" id="ays_survey_disable_user_email" name="ays_survey_disable_user_email" value="on" <?php echo $survey_disable_user_email ? 'checked' : ''; ?> />
502 </div>
503 </div>
504 </fieldset> <!-- Anonymity Survey -->
505 <hr>
506 <fieldset>
507 <legend>
508 <strong style="font-size:30px;"><i class="fa fa-align-left"></i></strong>
509 <h5><?php echo esc_html__('Excerpt words count in list tables',"survey-maker")?></h5>
510 </legend>
511 <div class="form-group row">
512 <div class="col-sm-4">
513 <label for="ays_survey_title_length">
514 <?php echo esc_html__( "Survey list table", "survey-maker" ); ?>
515 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the surveys to be shown in the Surveys 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 survey in the Surveys page of your dashboard.',"survey-maker")?>">
516 <i class="ays_fa ays_fa_info_circle"></i>
517 </a>
518 </label>
519 </div>
520 <div class="col-sm-8">
521 <input type="number" name="ays_survey_title_length" id="ays_survey_title_length" class="ays-text-input" value="<?php echo esc_attr($survey_title_length); ?>">
522 </div>
523 </div>
524 <hr>
525 <div class="form-group row">
526 <div class="col-sm-4">
527 <label for="ays_survey_submissions_title_length">
528 <?php echo esc_html__( "Submissions list table", "survey-maker" ); ?>
529 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the submissions to be shown in the Submissions 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 submissions in the Submissions page of your dashboard.',"survey-maker")?>">
530 <i class="ays_fa ays_fa_info_circle"></i>
531 </a>
532 </label>
533 </div>
534 <div class="col-sm-8">
535 <input type="number" name="ays_survey_submissions_title_length" id="ays_survey_submissions_title_length" class="ays-text-input" value="<?php echo esc_attr($survey_submmission_title_length); ?>">
536 </div>
537 </div>
538 <hr>
539 <div class="form-group row">
540 <div class="col-sm-4">
541 <label for="ays_survey_categories_title_length">
542 <?php echo esc_html__( "Survey categories list table", "survey-maker" ); ?>
543 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the survey categories to be shown in the Survey categories 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 Category in the Survey categories page of your dashboard.',"survey-maker")?>">
544 <i class="ays_fa ays_fa_info_circle"></i>
545 </a>
546 </label>
547 </div>
548 <div class="col-sm-8">
549 <input type="number" name="ays_survey_categories_title_length" id="ays_survey_categories_title_length" class="ays-text-input" value="<?php echo esc_attr($survey_categories_title_length); ?>">
550 </div>
551 </div>
552 <hr>
553 <div class="form-group row">
554 <div class="col-sm-4">
555 <label for="ays_survey_popups_title_length">
556 <?php echo esc_html__( "Popup Survey list table", "survey-maker" ); ?>
557 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Determine the length of the popup survey titles to be shown in the Popup Survey 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 Survey Title in the Popup Survey page of your dashboard.',"survey-maker")?>">
558 <i class="ays_fa ays_fa_info_circle"></i>
559 </a>
560 </label>
561 </div>
562 <div class="col-sm-8">
563 <input type="number" name="ays_survey_popups_title_length" id="ays_survey_popups_title_length" class="ays-text-input" value="<?php echo esc_attr($survey_popups_title_length); ?>">
564 </div>
565 </div>
566 </fieldset>
567 <hr>
568 <fieldset>
569 <legend>
570 <strong style="font-size:30px;"><i class="fa fa-code"></i></strong>
571 <h5><?php echo esc_html__('Animation Top',"survey-maker")?></h5>
572 </legend>
573 <div class="form-group row">
574 <div class="col-sm-4">
575 <label for="ays_survey_enable_animation_top">
576 <?php echo esc_html__( "Enable animation", "survey-maker" ); ?>
577 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Enable animation of the scroll offset of the survey container. It works when the survey container is visible on the screen partly and the user starts the survey and moves from one question to another.',"survey-maker")?>">
578 <i class="ays_fa ays_fa_info_circle"></i>
579 </a>
580 </label>
581 </div>
582 <div class="col-sm-8">
583 <input type="checkbox" name="ays_survey_enable_animation_top" id="ays_survey_enable_animation_top" value="on" <?php echo $survey_enable_animation_top ? 'checked' : ''; ?>>
584 </div>
585 </div>
586 <hr>
587 <div class="form-group row">
588 <div class="col-sm-4">
589 <label for="ays_survey_animation_top">
590 <?php echo esc_html__( "Scroll offset(px)", "survey-maker" ); ?>
591 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Define the scroll offset of the survey container after the animation starts. It works when the survey container is visible on the screen partly and the user starts the survey and moves from one question to another.',"survey-maker")?>">
592 <i class="ays_fa ays_fa_info_circle"></i>
593 </a>
594 </label>
595 </div>
596 <div class="col-sm-8">
597 <input type="number" name="ays_survey_animation_top" id="ays_survey_animation_top" class="ays-text-input" value="<?php echo esc_attr($survey_animation_top); ?>">
598 </div>
599 </div>
600 </fieldset>
601 <hr>
602 <fieldset>
603 <legend>
604 <strong style="font-size:30px;"><i class="fa fa-bell"></i></strong>
605 <h5><?php echo esc_html__('Menu notifications', 'survey-maker'); ?></h5>
606 </legend>
607 <div class="form-group row">
608 <div class="col-sm-4">
609 <label for="ays_survey_disable_survey_menu_notification">
610 <?php echo esc_html__( "Disable Survey Maker menu item notification", 'survey-maker' ); ?>
611 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __('Enable this option and the notifications will not be displayed in the Survey Maker menu.', 'survey-maker') ); ?>">
612 <i class="ays_fa ays_fa_info_circle"></i>
613 </a>
614 </label>
615 </div>
616 <div class="col-sm-8">
617 <input type="checkbox" name="ays_survey_disable_survey_menu_notification" id="ays_survey_disable_survey_menu_notification" value="on" <?php echo $survey_disable_survey_menu_notification ? 'checked' : ''; ?>>
618 </div>
619 </div>
620 <hr>
621 <div class="form-group row">
622 <div class="col-sm-4">
623 <label for="ays_survey_disable_submission_menu_notification">
624 <?php echo esc_html__( "Disable Submissions menu item notification", 'survey-maker' ); ?>
625 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __('Enable this option and the notifications will not be displayed in the Submissions menu.', 'survey-maker') ); ?>">
626 <i class="ays_fa ays_fa_info_circle"></i>
627 </a>
628 </label>
629 </div>
630 <div class="col-sm-8">
631 <input type="checkbox" name="ays_survey_disable_submission_menu_notification" id="ays_survey_disable_submission_menu_notification" value="on" <?php echo $survey_disable_submission_menu_notification ? 'checked' : ''; ?>>
632 </div>
633 </div>
634 <hr>
635 <div class="form-group row">
636 <div class="col-sm-4">
637 <label>
638 <?php echo esc_html__( "Menu badge style", 'survey-maker' ); ?>
639 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __('Choose the style of the notification badges displayed in the WordPress admin menu.','survey-maker') ); ?>">
640 <i class="ays_fa ays_fa_info_circle"></i>
641 </a>
642 </label>
643 </div>
644 <div class="col-sm-8">
645 <div class="ays-survey-menu-badge-style-options" style="display:flex; gap:10px; flex-wrap:wrap;">
646 <?php foreach ( $survey_menu_badge_style_options as $style_key => $style_data ) : ?>
647 <label for="ays_survey_menu_badge_style_<?php echo esc_attr( $style_key ); ?>" style="display:flex; align-items:center; gap:12px; padding:14px 20px; border:1px solid #c3c4c7; border-radius:4px; background:#f6f7f7; cursor:pointer;">
648 <input type="radio" name="ays_survey_menu_badge_style" id="ays_survey_menu_badge_style_<?php echo esc_attr( $style_key ); ?>" value="<?php echo esc_attr( $style_key ); ?>" <?php checked( $survey_menu_badge_style, $style_key ); ?>>
649 <span class="ays-survey-menu-badge" style="margin-left:0; background:<?php echo esc_attr( $style_data['background'] ); ?>;">2</span>
650 <span class="screen-reader-text"><?php echo esc_html( $style_data['label'] ); ?></span>
651 </label>
652 <?php endforeach; ?>
653 </div>
654 </div>
655 </div>
656 </fieldset> <!-- Menu notifications -->
657 <hr>
658 <fieldset>
659 <legend>
660 <strong style="font-size:30px;"><i class="ays_fa ays_fa_globe"></i></strong>
661 <h5><?php echo esc_html__('Who will have permission to Survey menu',"survey-maker")?></h5>
662 </legend>
663 <div class="form-group row" style="margin:0px;">
664 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
665 <div class="ays-pro-features-v2-small-buttons-box">
666 <div class="ays-pro-features-v2-video-button"></div>
667 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
668 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
669 <div class="ays-pro-features-v2-upgrade-text">
670 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
671 </div>
672 </a>
673 </div>
674 <div class="form-group row">
675 <div class="col-sm-4">
676 <label for="ays_user_roles">
677 <?php echo esc_html__( "Select user role", "survey-maker" ); ?>
678 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Ability to manage Survey Maker plugin only for selected user roles.',"survey-maker")?>">
679 <i class="ays_fa ays_fa_info_circle"></i>
680 </a>
681 </label>
682 </div>
683 <div class="col-sm-8">
684 <select name="ays_user_roles[]" id="ays_user_roles" multiple="multiple">
685 <?php
686 foreach($ays_users_roles as $role => $role_name){
687 $selected = in_array($role, $user_roles) ? 'selected' : '';
688 echo "<option ".esc_attr($selected)." value='".esc_attr($role)."'>".esc_attr($role_name)."</option>";
689 }
690 ?>
691 </select>
692 </div>
693 </div>
694 <blockquote>
695 <?php echo esc_html__( "Ability to manage Survey Maker plugin only for selected user roles.", "survey-maker" ); ?>
696 </blockquote>
697 </div>
698 </div>
699 </fieldset>
700 <hr>
701 <fieldset>
702 <legend>
703 <strong style="font-size:30px;"><i class="ays_fa ays_fa_globe"></i></strong>
704 <h5><?php echo esc_html__('Block Users by IP addresses',"survey-maker")?></h5>
705 </legend>
706 <div class="form-group row" style="margin:0px;">
707 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
708 <div class="ays-pro-features-v2-small-buttons-box">
709 <div class="ays-pro-features-v2-video-button"></div>
710 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
711 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
712 <div class="ays-pro-features-v2-upgrade-text">
713 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
714 </div>
715 </a>
716 </div>
717 <div class="form-group row">
718 <div class="col-sm-4">
719 <label for="ays_survey_block_by_user_ips">
720 <?php echo esc_html__( "Block Users by IP addresses", "survey-maker" ); ?>
721 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__('After enabling this option you will be able to block particular User IPs.', "survey-maker")?>">
722 <i class="ays_fa ays_fa_info_circle"></i>
723 </a>
724 </label>
725 </div>
726 <div class="col-sm-8">
727 <input type="checkbox" class="ays_toggle_checkbox" checked/>
728 </div>
729 </div>
730 <div class="form-group ays_toggle_target">
731 <div class="row">
732 <div class="col-sm-4">
733 <label for="ays_survey_users_ips_that_will_blocked">
734 <?php echo esc_html__( "Block User IP's", "survey-maker" ); ?>
735 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__("After adding User IP's, you can restrict the access to the survey. The users with particular IP addresses will not be able to pass the survey. You will be able to add as many User IP's as you may need.","survey-maker"); ?>">
736 <i class="ays_fa ays_fa_info_circle"></i>
737 </a>
738 </label>
739 </div>
740 <div class="col-sm-8">
741 <div class="ays-poll-email-to-admins">
742 <input type="text" placeholder="User IPs" style="width:100%" multiple>
743 </div>
744 </div>
745 </div>
746 </div>
747 </div>
748 </div>
749 </fieldset>
750 <!-- summary email start -->
751 <hr/>
752 <fieldset class="ays_toggle_parent">
753 <legend>
754 <img src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/send-mail-50x50.png" alt="">
755 <h5><?php echo esc_html__("Send automatic email reporting to admin(s)","survey-maker")?></h5>
756 </legend>
757 <div class="form-group row" style="margin:0px;">
758 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
759 <div class="ays-pro-features-v2-small-buttons-box ays-pro-pro-features-popup" data-video-url="https://www.youtube.com/watch?v=buvMKemTNQ4" data-option-title="<?php echo esc_attr__('Send Automatic Email Reporting To Admin(s)',"survey-maker")?>" data-option-text="<strong> Get reports to your email </strong> about the submissions of the surveys, including information about your survey responses in a specific time period <strong> presented in a chart </strong> with the names of survey takers, their submission numbers, and the statistics about the increase or decrease of the submissions in the percentage. Just choose the <strong> frequency </strong> you want to receive the reports: hourly, daily, twice daily, or weekly, and <strong> add one or multiple emails </strong> to get the reports. ">
760 <div class="ays-pro-features-v2-video-button">
761 <div class="ays-pro-features-v2-video-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24_Hover.svg"></div>
762 <div class="ays-pro-features-v2-video-text">
763 <?php echo esc_html__("Watch Video" , "survey-maker"); ?>
764 </div>
765 </div>
766 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
767 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
768 <div class="ays-pro-features-v2-upgrade-text">
769 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
770 </div>
771 </a>
772 </div>
773 <div class="form-group row">
774 <div class="col-sm-4">
775 <label for="ays_survey_email_to_admins">
776 <?php echo esc_html__( "Send automatic email reporting per session", "survey-maker" ); ?>
777 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Set up automatic email reporting to inform yourself or anyone else, about the submissions of surveys. It will indicate the times of submissions all surveys will have at that given moment, will send a table which will include the names of all surveys and the number of submissions each one will have and will show the statistics of the growth/decline of the submissions in percentage',"survey-maker"); ?>">
778 <i class="ays_fa ays_fa_info_circle"></i>
779 </a>
780 </label>
781 </div>
782 <div class="col-sm-8">
783 <div class="ays-poll-email-to-admins">
784 <input type="checkbox" class="ays_toggle_checkbox" id="ays_survey_email_to_admins" value="on">
785 </div>
786 </div>
787 </div>
788 <div class="form-group ays_toggle_target" style='display:block'>
789 <div class="row">
790 <div class="col-sm-4">
791 <label for="ays_survey_admin_email_sessions">
792 <?php echo esc_html__( "Session period", "survey-maker" ); ?>
793 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Specify the time for one session and the provided email(s) will receive an automatic email notification once during the period.',"survey-maker"); ?>">
794 <i class="ays_fa ays_fa_info_circle"></i>
795 </a>
796 </label>
797 </div>
798 <div class="col-sm-8">
799 <div class="ays-poll-email-to-admins">
800 <select id="ays_survey_admin_email_session">
801 <?php
802 foreach($ays_survey_admin_email_sessions as $key => $admin_email_session):
803 $selected = '';
804 ?>
805 <option value="<?php echo esc_attr($key);?>" <?php echo esc_attr($selected);?>>
806 <?php echo esc_html($admin_email_session); ?>
807 </option>
808 <?php
809 endforeach;
810 ?>
811 </select>
812 </div>
813 </div>
814 </div>
815 <hr>
816 <div class="row">
817 <div class="col-sm-4">
818 <label for="ays_survey_admins_emails">
819 <?php echo esc_html__( "Email addresses", "survey-maker" ); ?>
820 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__("Provide emails to which you need to send the survey's reports. Insert emails comma separated.","survey-maker"); ?>">
821 <i class="ays_fa ays_fa_info_circle"></i>
822 </a>
823 </label>
824 </div>
825 <div class="col-sm-8">
826 <div class="ays-poll-email-to-admins">
827 <input type="email" class="" id="ays_survey_admins_emails" value="" placeholder="Admins email" style="width:100%" multiple>
828 </div>
829 </div>
830 </div>
831 </div>
832 </div>
833 </div>
834 </fieldset>
835 <!-- summary email end -->
836 <hr>
837 <fieldset class="ays_toggle_parent">
838 <legend>
839 <strong style="font-size:30px;"><i class="fa fa-th-list"></i></strong>
840 <h5><?php echo esc_html__("Submissions settings","survey-maker")?></h5>
841 </legend>
842 <div class="form-group row" style="margin:0px;">
843 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
844 <div class="ays-pro-features-v2-small-buttons-box">
845 <div class="ays-pro-features-v2-video-button"></div>
846 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
847 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
848 <div class="ays-pro-features-v2-upgrade-text">
849 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
850 </div>
851 </a>
852 </div>
853 <div class="form-group row">
854 <div class="col-sm-4">
855 <label>
856 <?php echo esc_html__( "Matrix scale results", "survey-maker" ); ?>
857 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('The results can be displayed by Votes and by Percentage. Choosing by Votes, the system will display the results based on votes. To see the percentage you need to hover over the vote numbers. You will be able to do the same in the case of choosing by Percentage as well.',"survey-maker"); ?>">
858 <i class="ays_fa ays_fa_info_circle"></i>
859 </a>
860 </label>
861 </div>
862 <div class="col-sm-8">
863 <div class="form-group">
864 <label class="checkbox_ays form-check form-check-inline" for="ays_survey_matrix_scale_show_result_type_votes">
865 <input type="radio" checked>
866 <?php echo esc_html__('By Votes', "survey-maker") ?>
867 </label>
868 <label class="checkbox_ays form-check form-check-inline" for="ays_survey_matrix_scale_show_result_type_percentage">
869 <input type="radio" >
870 <?php echo esc_html__('By Percentage', "survey-maker") ?>
871 </label>
872 </div>
873 </div>
874 </div>
875 <hr/>
876 <div class="form-group row">
877 <div class="col-sm-4">
878 <label>
879 <?php echo esc_html__( "Show results by", "survey-maker" ); ?>
880 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Specify how the the charts will be displayed. Note that ascending and descending orderings can be used with Checkbox, Linear/Star scales, Star list, Slider List question types only.',"survey-maker"); ?>">
881 <i class="ays_fa ays_fa_info_circle"></i>
882 </a>
883 </label>
884 </div>
885 <div class="col-sm-8">
886 <div class="form-group">
887 <label class="checkbox_ays form-check form-check-inline" for="ays_survey_show_submissions_order_type_defalut">
888 <input type="radio" id="ays_survey_show_submissions_order_type_defalut" value="by_default" checked>
889 <?php echo esc_html__('Default', "survey-maker") ?>
890 </label>
891 <label class="checkbox_ays form-check form-check-inline" for="ays_survey_show_submissions_order_type_ascending">
892 <input type="radio" id="ays_survey_show_submissions_order_type_ascending" value='by_asc' >
893 <?php echo esc_html__('Ascending', "survey-maker") ?>
894 </label>
895 <label class="checkbox_ays form-check form-check-inline" for="ays_survey_show_submissions_order_type_descending">
896 <input type="radio" id="ays_survey_show_submissions_order_type_descending" value='by_desc' >
897 <?php echo esc_html__('Descending', "survey-maker") ?>
898 </label>
899 </div>
900 </div>
901 </div>
902 </div>
903 </div>
904 </fieldset><!-- submissions settings -->
905 <hr>
906 <fieldset class="ays_toggle_parent">
907 <legend>
908 <strong style="font-size:30px;">[ ]</strong>
909 <h5><?php echo esc_html__("Survey multilanguage","survey-maker")?></h5>
910 </legend>
911 <div class="form-group row" style="margin:0px;">
912 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
913 <div class="ays-pro-features-v2-small-buttons-box ays-pro-pro-features-popup" data-video-url="https://www.youtube.com/watch?v=hZsu0QOtXOs" data-option-title="<?php echo esc_attr__('Survey multilanguage',"survey-maker")?>" data-option-text="Do you want to reach a global audience and have a survey that will go viral? Having a multilanguage survey on your website helps you reach a wider range of people and boost your website traffic. Make use of the shortcode and display the surveys in your desired language.">
914 <div class="ays-pro-features-v2-video-button">
915 <div class="ays-pro-features-v2-video-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24_Hover.svg"></div>
916 <div class="ays-pro-features-v2-video-text">
917 <?php echo esc_html__("Watch Video" , "survey-maker"); ?>
918 </div>
919 </div>
920 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
921 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
922 <div class="ays-pro-features-v2-upgrade-text">
923 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
924 </div>
925 </a>
926 </div>
927 <div class="form-group row" style="padding:0px;margin:0;">
928 <div class="col-sm-12" style="padding:20px;">
929 <div class="form-group row">
930 <div class="col-sm-4">
931 <label for="ays_survey_multilanugage_shortcode">
932 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
933 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Write your desired text in any WordPress language. It will be translated in the front-end. The languages must be included in the ISO 639-1 Code column.', "survey-maker"); ?>">
934 <i class="ays_fa ays_fa_info_circle"></i>
935 </a>
936 </label>
937 </div>
938 <div class="col-sm-8">
939 <input type="text" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[:en]Hello[:es]Hola[:]'>
940 </div>
941 </div>
942 <hr>
943 </div>
944 </div>
945 <blockquote>
946 <ul class="ays-survey-general-settings-blockquote-ul">
947 <li>
948 <?php
949 echo esc_html__( "In this shortcode you can add your desired text and its translation. The translated version of the text will be displayed in the front-end. The languages must be written in the Language Code", "survey-maker" );
950 ?>
951 </li>
952 </ul>
953 </blockquote>
954 </div>
955 </div>
956 </fieldset><!-- Survey multilanguage -->
957 </div>
958 <div id="tab2" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab2') ? 'ays-survey-tab-content-active' : ''; ?>">
959 <p class="ays-subtitle"><?php echo esc_attr__('Integrations',"survey-maker")?></p>
960 <hr/>
961 <?php
962 do_action( 'ays_sm_settings_page_integrations' );
963 ?>
964 </div>
965 <div id="tab3" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab3') ? 'ays-survey-tab-content-active' : ''; ?>">
966 <div class="ays-survey-heading-box" style="margin: 0;">
967 <div class="ays-survey-wordpress-user-manual-box">
968 <a href="https://www.youtube.com/watch?v=ct7_edtpuAs" target="_blank" style="text-decoration: none;font-size: 13px;">
969 <span><img src='<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/youtube-video-icon.svg' ></span>
970 <span style="margin-left: 3px; text-decoration: underline;"><?php echo esc_html__('How to use the Message variables', "survey-maker"); ?></span>
971 </a>
972 </div>
973 </div>
974 <p class="ays-subtitle">
975 <?php echo esc_html__('Message variables',"survey-maker")?>
976 <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p><?php echo esc_attr__( 'You can copy these variables and paste them in the following options from the survey settings', "survey-maker" ); ?>:</p>
977 <ul class='ays_tooltop_ul'>
978 <li><?php echo esc_html__( 'Thank you message', "survey-maker" ); ?></li>
979 </ul>">
980 <i class="ays_fa ays_fa_info_circle"></i>
981 </a>
982 </p>
983 <blockquote>
984 <p><?php echo esc_html__( "You can copy these variables and paste them in the following options from the survey settings", "survey-maker" ); ?>:</p>
985 <p style="text-indent:10px;margin:0;">- <?php echo esc_html__( "Thank you message", "survey-maker" ); ?></p>
986 <div style="margin-top: 20px;background: #dae2e2;padding: 10px;">
987 <p style="margin:0;"><?php echo esc_html__( "Message variables for these features are available only in the Pro version.", "survey-maker" ); ?></p>
988 <p style="text-indent:10px;margin:0;color:red;">- <?php echo esc_html__( "Send email to user", "survey-maker" ); ?></p>
989 <p style="text-indent:10px;margin:0;color:red;">- <?php echo esc_html__( "Send email to admin", "survey-maker" ); ?></p>
990 <p style="text-indent:10px;margin:0;color:red;">- <?php echo esc_html__( "Email configuration", "survey-maker" ); ?></p>
991 <p style="text-indent:30px;margin:0;color:red;">* <?php echo esc_html__( "From Name", "survey-maker" ); ?></p>
992 <p style="text-indent:30px;margin:0;color:red;">* <?php echo esc_html__( "Subject", "survey-maker" ); ?></p>
993 <p style="text-indent:30px;margin:0;color:red;">* <?php echo esc_html__( "Reply To Name", "survey-maker" ); ?></p>
994 </div>
995 </blockquote>
996 <hr>
997 <div class="form-group row">
998 <div class="col-sm-12">
999 <?php echo $actions->message_variables_section($message_variables); ?>
1000 </div>
1001 </div>
1002 </div>
1003 <div id="tab4" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab4') ? 'ays-survey-tab-content-active' : ''; ?>">
1004 <p class="ays-subtitle">
1005 <?php echo esc_html__('Default Texts', "survey-maker"); ?>
1006 <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 translatable via translation tools!', "survey-maker" ); ?>">
1007 <i class="ays_fa ays_fa_info_circle"></i>
1008 </a>
1009 </p>
1010 <blockquote class="ays_warning">
1011 <p style="margin:0;"><?php echo esc_html__( "If you make a change here, these words will not be translatable via translation tools!", "survey-maker" ); ?></p>
1012 </blockquote>
1013 <hr>
1014 <div class="form-group row">
1015 <div class="col-sm-3">
1016 <label for="ays_survey_wrong_shortcode_text">
1017 <?php echo esc_html__( "Wrong shortcode text", "survey-maker" ); ?>
1018 <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be displayed if the post/page contains an incorrect shortcode', "survey-maker" ); ?>">
1019 <i class="ays_fa ays_fa_info_circle"></i>
1020 </a>
1021 </label>
1022 </div>
1023 <div class="col-sm-9">
1024 <input type="text" id="ays_survey_wrong_shortcode_text" name="ays_survey_wrong_shortcode_text" class="ays-text-input" value='<?php echo esc_attr($wrong_shortcode_text); ?>'>
1025 </div>
1026 </div>
1027 <hr>
1028 <div class="form-group row">
1029 <div class="col-sm-3">
1030 <label for="ays_survey_email_validation_error_text">
1031 <?php echo esc_html__( "Email validation error text", "survey-maker" ); ?>
1032 <a class="ays_help" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__('The text will be displayed if the survey taker fills in an invalid email address (e.g. without "@" and ".") in the Email field.', "survey-maker"); ?>">
1033 <i class="ays_fa ays_fa_info_circle"></i>
1034 </a>
1035 </label>
1036 </div>
1037 <div class="col-sm-9">
1038 <input type="text" id="ays_survey_email_validation_error_text" name="ays_survey_email_validation_error_text" class="ays-text-input" value='<?php echo esc_attr($email_validation_error_text); ?>'>
1039 </div>
1040 </div>
1041 <hr>
1042 <div class="form-group row">
1043 <div class="col-sm-3">
1044 <label for="ays_survey_redirecting_after_text">
1045 <?php echo esc_html__( "Custom Redirection Message Text", "survey-maker" ); ?>
1046 <a class="ays_help" data-toggle="tooltip" data-html="true" title="<?php echo esc_html__('Customize the message displayed to survey takers while they are being redirected to another page after the survey submission (e.g. Redirecting after 00:05).', "survey-maker"); ?>">
1047 <i class="ays_fa ays_fa_info_circle"></i>
1048 </a>
1049 </label>
1050 </div>
1051 <div class="col-sm-9">
1052 <input type="text" id="ays_survey_redirecting_after_text" name="ays_survey_redirecting_after_text" class="ays-text-input" value='<?php echo esc_attr($redirecting_after_text); ?>'>
1053 </div>
1054 </div>
1055
1056 <?php if( 1 == 0 ): ?>
1057 <hr>
1058 <div class="form-group row" style="margin:0px;">
1059 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1060 <div class="ays-pro-features-v2-small-buttons-box">
1061 <div class="ays-pro-features-v2-video-button"></div>
1062 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1063 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1064 <div class="ays-pro-features-v2-upgrade-text">
1065 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1066 </div>
1067 </a>
1068 </div>
1069 <div class="form-group row">
1070 <div class="col-sm-3">
1071 <label for="ays_survey_country_limitation_text">
1072 <?php echo esc_html__( "Country limitation text", "survey-maker" ); ?>
1073 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be displayed if the user tries to access the survey from the country for which there is a limitation set from the survey settings.', "survey-maker" ); ?>">
1074 <i class="ays_fa ays_fa_info_circle"></i>
1075 </a>
1076 </label>
1077 </div>
1078 <div class="col-sm-9">
1079 <input type="text" class="ays-text-input">
1080 </div>
1081 </div>
1082 </div>
1083 </div>
1084 <hr>
1085 <div class="form-group row" style="margin:0px;">
1086 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1087 <div class="ays-pro-features-v2-small-buttons-box">
1088 <div class="ays-pro-features-v2-video-button"></div>
1089 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1090 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1091 <div class="ays-pro-features-v2-upgrade-text">
1092 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1093 </div>
1094 </a>
1095 </div>
1096 <div class="form-group row">
1097 <div class="col-sm-3">
1098 <label for="ays_survey_ip_blocked_text">
1099 <?php echo esc_html__( "IP blocked text", "survey-maker" ); ?>
1100 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be displayed if the survey is accessed from a blocked IP.', "survey-maker" ); ?>">
1101 <i class="ays_fa ays_fa_info_circle"></i>
1102 </a>
1103 </label>
1104 </div>
1105 <div class="col-sm-9">
1106 <input type="text" class="ays-text-input">
1107 </div>
1108 </div>
1109 </div>
1110 </div>
1111 <hr>
1112 <div class="form-group row" style="margin:0px;">
1113 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1114 <div class="ays-pro-features-v2-small-buttons-box">
1115 <div class="ays-pro-features-v2-video-button"></div>
1116 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1117 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1118 <div class="ays-pro-features-v2-upgrade-text">
1119 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1120 </div>
1121 </a>
1122 </div>
1123 <div class="form-group row">
1124 <div class="col-sm-3">
1125 <label for="ays_survey_enter_password_text">
1126 <?php echo esc_html__( "Enter password text", "survey-maker" ); ?>
1127 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be displayed when the survey taker is prompted to enter a password.', "survey-maker" ); ?>">
1128 <i class="ays_fa ays_fa_info_circle"></i>
1129 </a>
1130 </label>
1131 </div>
1132 <div class="col-sm-9">
1133 <input type="text" class="ays-text-input">
1134 </div>
1135 </div>
1136 </div>
1137 </div>
1138 <hr>
1139 <div class="form-group row" style="margin:0px;">
1140 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1141 <div class="ays-pro-features-v2-small-buttons-box">
1142 <div class="ays-pro-features-v2-video-button"></div>
1143 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1144 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1145 <div class="ays-pro-features-v2-upgrade-text">
1146 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1147 </div>
1148 </a>
1149 </div>
1150 <div class="form-group row">
1151 <div class="col-sm-3">
1152 <label for="ays_survey_wrong_password_text">
1153 <?php echo esc_html__( "Wrong password text", "survey-maker" ); ?>
1154 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be displayed in case the survey taker fills in the incorrect password.', "survey-maker" ); ?>">
1155 <i class="ays_fa ays_fa_info_circle"></i>
1156 </a>
1157 </label>
1158 </div>
1159 <div class="col-sm-9">
1160 <input type="text" class="ays-text-input">
1161 </div>
1162 </div>
1163 </div>
1164 </div>
1165 <hr>
1166 <div class="form-group row" style="margin:0px;">
1167 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1168 <div class="ays-pro-features-v2-small-buttons-box">
1169 <div class="ays-pro-features-v2-video-button"></div>
1170 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1171 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1172 <div class="ays-pro-features-v2-upgrade-text">
1173 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1174 </div>
1175 </a>
1176 </div>
1177 <div class="form-group row">
1178 <div class="col-sm-3">
1179 <label for="ays_survey_answer_explanation_text">
1180 <?php echo esc_html__( "Answer explanation text", "survey-maker" ); ?>
1181 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The placeholder text that will be displayed in the textarea if the user explanation option is on.', "survey-maker" ); ?>">
1182 <i class="ays_fa ays_fa_info_circle"></i>
1183 </a>
1184 </label>
1185 </div>
1186 <div class="col-sm-9">
1187 <input type="text" class="ays-text-input">
1188 </div>
1189 </div>
1190 </div>
1191 </div>
1192 <hr>
1193 <div class="form-group row" style="margin:0px;">
1194 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1195 <div class="ays-pro-features-v2-small-buttons-box">
1196 <div class="ays-pro-features-v2-video-button"></div>
1197 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1198 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1199 <div class="ays-pro-features-v2-upgrade-text">
1200 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1201 </div>
1202 </a>
1203 </div>
1204 <div class="form-group row">
1205 <div class="col-sm-3">
1206 <label for="ays_survey_admin_email_message_subject_text">
1207 <?php echo esc_html__( "Admin email subject text", "survey-maker" ); ?>
1208 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" data-html="true" title="<p style='margin-bottom:3px;'><?php echo esc_html__( 'The text will be sent as an email subject if the Send Email to Admin option is enabled for the survey.', "survey-maker" ); ?>">
1209 <i class="ays_fa ays_fa_info_circle"></i>
1210 </a>
1211 </label>
1212 </div>
1213 <div class="col-sm-9">
1214 <input type="text" class="ays-text-input">
1215 <blockquote class="ays_warning" style="margin-top: 8px">
1216 <p style="margin:0;"><?php echo esc_html__( "Note: The text must include the %s sign (that is the name of the survey the user passed) in it. Otherwise, the default text will be displayed.", "survey-maker" ); ?></p>
1217 </blockquote>
1218 </div>
1219 </div>
1220 </div>
1221 </div>
1222 <?php endif; ?>
1223
1224 <hr />
1225 <p class="ays-subtitle">
1226 <?php echo esc_html__('Buttons texts',"survey-maker")?>
1227 <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!', "survey-maker" ); ?>">
1228 <i class="ays_fa ays_fa_info_circle"></i>
1229 </a>
1230 </p>
1231 <blockquote class="ays_warning">
1232 <p style="margin:0;"><?php echo esc_html__( "If you make a change here, these words will not be translated!", "survey-maker" ); ?></p>
1233 </blockquote>
1234 <hr>
1235 <div class="form-group row">
1236 <div class="col-sm-3">
1237 <label for="ays_survey_next_button">
1238 <?php echo esc_html__( "Next button", "survey-maker" ); ?>
1239 </label>
1240 </div>
1241 <div class="col-sm-9">
1242 <input type="text" id="ays_survey_next_button" name="ays_survey_next_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_next_button); ?>'>
1243 </div>
1244 </div>
1245 <hr>
1246 <div class="form-group row">
1247 <div class="col-sm-3">
1248 <label for="ays_survey_previous_button">
1249 <?php echo esc_html__( "Previous button", "survey-maker" ); ?>
1250 </label>
1251 </div>
1252 <div class="col-sm-9">
1253 <input type="text" id="ays_survey_previous_button" name="ays_survey_previous_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_previous_button); ?>'>
1254 </div>
1255 </div>
1256 <hr>
1257 <div class="form-group row">
1258 <div class="col-sm-3">
1259 <label for="ays_survey_clear_button">
1260 <?php echo esc_html__( "Clear selection button", "survey-maker" ); ?>
1261 </label>
1262 </div>
1263 <div class="col-sm-9">
1264 <input type="text" id="ays_survey_clear_button" name="ays_survey_clear_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_clear_button); ?>'>
1265 </div>
1266 </div>
1267 <hr>
1268 <div class="form-group row">
1269 <div class="col-sm-3">
1270 <label for="ays_survey_finish_button">
1271 <?php echo esc_html__( "Finish button", "survey-maker" ); ?>
1272 </label>
1273 </div>
1274 <div class="col-sm-9">
1275 <input type="text" id="ays_survey_finish_button" name="ays_survey_finish_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_finish_button); ?>'>
1276 </div>
1277 </div>
1278 <hr>
1279 <div class="form-group row">
1280 <div class="col-sm-3">
1281 <label for="ays_survey_restart_button">
1282 <?php echo esc_html__( "Restart survey button", "survey-maker" ); ?>
1283 </label>
1284 </div>
1285 <div class="col-sm-9">
1286 <input type="text" id="ays_survey_restart_button" name="ays_survey_restart_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_restart_button); ?>'>
1287 </div>
1288 </div>
1289 <hr>
1290 <div class="form-group row">
1291 <div class="col-sm-3">
1292 <label for="ays_survey_exit_button">
1293 <?php echo esc_html__( "Exit button", "survey-maker" ); ?>
1294 </label>
1295 </div>
1296 <div class="col-sm-9">
1297 <input type="text" id="ays_survey_exit_button" name="ays_survey_exit_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_exit_button); ?>'>
1298 </div>
1299 </div>
1300 <hr>
1301 <div class="form-group row">
1302 <div class="col-sm-3">
1303 <label for="ays_survey_login_button">
1304 <?php echo esc_html__( "Log In button", "survey-maker" ); ?>
1305 </label>
1306 </div>
1307 <div class="col-sm-9">
1308 <input type="text" id="ays_survey_login_button" name="ays_survey_login_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_login_button); ?>'>
1309 </div>
1310 </div>
1311 <hr>
1312 <div class="form-group row">
1313 <div class="col-sm-3">
1314 <label for="ays_survey_start_button">
1315 <?php echo esc_html__( "Start button", "survey-maker" ); ?>
1316 </label>
1317 </div>
1318 <div class="col-sm-9">
1319 <input type="text" id="ays_survey_start_button" name="ays_survey_start_button" class="ays-text-input ays-text-input-short" value='<?php echo esc_attr($survey_start_button); ?>'>
1320 </div>
1321 </div>
1322 <hr>
1323 <div class="form-group row" style="margin:0px;">
1324 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1325 <div class="ays-pro-features-v2-small-buttons-box">
1326 <div class="ays-pro-features-v2-video-button"></div>
1327 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1328 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1329 <div class="ays-pro-features-v2-upgrade-text">
1330 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1331 </div>
1332 </a>
1333 </div>
1334 <div class="form-group row">
1335 <div class="col-sm-3">
1336 <label for="ays_survey_check_button">
1337 <?php echo esc_html__( "Check button", "survey-maker" ); ?>
1338 </label>
1339 </div>
1340 <div class="col-sm-9">
1341 <input type="text" class="ays-text-input ays-text-input-short" value='<?php echo esc_html__("Check button", "survey-maker"); ?>'>
1342 </div>
1343 </div>
1344 </div>
1345 </div>
1346 </div>
1347 <div id="tab5" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab5') ? 'ays-survey-tab-content-active' : ''; ?>">
1348 <p class="ays-subtitle">
1349 <?php echo esc_html__('Shortcodes',"survey-maker"); ?>
1350 </p>
1351 <hr>
1352 <fieldset>
1353 <legend>
1354 <strong style="font-size:30px;">[ ]</strong>
1355 <h5><?php echo esc_html__('Display survey summary',"survey-maker"); ?></h5>
1356 </legend>
1357 <div class="form-group row" style="padding:0px;margin:0;">
1358 <div class="col-sm-12" style="padding:20px;">
1359 <div class="form-group row">
1360 <div class="col-sm-4">
1361 <label>
1362 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1363 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Copy the given shortcode and insert it into any post or page to show the charts of the submissions of the given survey. Please change \'Your_Survey_ID\' to the corresponding ID of your survey.', "survey-maker" ); ?>">
1364 <i class="ays_fa ays_fa_info_circle"></i>
1365 </a>
1366 </label>
1367 </div>
1368 <div class="col-sm-8">
1369 <input type="text" id="ays_survey_submissions_summary" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_submissions_summary id="Your_Survey_ID"]'>
1370 </div>
1371 </div>
1372 </div>
1373 </div>
1374 </fieldset> <!-- Display survey summary -->
1375 <hr/>
1376 <fieldset>
1377 <legend>
1378 <strong style="font-size:30px;">[ ]</strong>
1379 <h5><?php echo esc_html__('Extra shortcodes',"survey-maker"); ?></h5>
1380 </legend>
1381 <div class="form-group row" style="padding:0px;margin:0;">
1382 <div class="col-sm-12" style="padding:20px;">
1383 <div class="form-group row">
1384 <div class="col-sm-4">
1385 <label for="ays_survey_user_first_name">
1386 <?php echo esc_html__( "Show User First Name", "survey-maker" ); ?>
1387 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's First Name. If the user is not logged-in, the shortcode will be empty.","survey-maker") ); ?>">
1388 <i class="ays_fa ays_fa_info_circle"></i>
1389 </a>
1390 </label>
1391 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows the logged-in user's First Name. If the user is not logged-in, the shortcode will be empty.", "survey-maker" ); ?></span>
1392 </div>
1393 <div class="col-sm-8">
1394 <input type="text" id="ays_survey_user_first_name" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_first_name]'>
1395 </div>
1396 </div>
1397 </div>
1398 </div>
1399 <hr>
1400 <div class="form-group row" style="padding:0px;margin:0;">
1401 <div class="col-sm-12" style="padding:20px;">
1402 <div class="form-group row">
1403 <div class="col-sm-4">
1404 <label for="ays_survey_user_last_name">
1405 <?php echo esc_html__( "Show User Last Name", "survey-maker" ); ?>
1406 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's last name. If the user is not logged-in, the shortcode will be empty.","survey-maker") ); ?>">
1407 <i class="ays_fa ays_fa_info_circle"></i>
1408 </a>
1409 </label>
1410 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows the logged-in user's last name. If the user is not logged-in, the shortcode will be empty.", "survey-maker" ); ?></span>
1411 </div>
1412 <div class="col-sm-8">
1413 <input type="text" id="ays_survey_user_last_name" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_last_name]'>
1414 </div>
1415 </div>
1416 </div>
1417 </div>
1418 <hr>
1419 <div class="form-group row" style="padding:0px;margin:0;">
1420 <div class="col-sm-12" style="padding:20px;">
1421 <div class="form-group row">
1422 <div class="col-sm-4">
1423 <label for="ays_survey_user_nickname">
1424 <?php echo esc_html__( "Show User Nickname", "survey-maker" ); ?>
1425 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's nickname. If the user is not logged-in, the shortcode will be empty.","survey-maker") ); ?>">
1426 <i class="ays_fa ays_fa_info_circle"></i>
1427 </a>
1428 </label>
1429 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows the logged-in user's nickname. If the user is not logged-in, the shortcode will be empty.", "survey-maker" ); ?></span>
1430 </div>
1431 <div class="col-sm-8">
1432 <input type="text" id="ays_survey_user_nickname" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_nick_name]'>
1433 </div>
1434 </div>
1435 </div>
1436 </div>
1437 <hr>
1438 <div class="form-group row" style="padding:0px;margin:0;">
1439 <div class="col-sm-12" style="padding:20px;">
1440 <div class="form-group row">
1441 <div class="col-sm-4">
1442 <label for="ays_survey_user_display_name">
1443 <?php echo esc_html__( "Show User Display name", "survey-maker" ); ?>
1444 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's display name. If the user is not logged-in, the shortcode will be empty.","survey-maker") ); ?>">
1445 <i class="ays_fa ays_fa_info_circle"></i>
1446 </a>
1447 </label>
1448 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows the logged-in user's display name. If the user is not logged-in, the shortcode will be empty.", "survey-maker" ); ?></span>
1449 </div>
1450 <div class="col-sm-8">
1451 <input type="text" id="ays_survey_user_display_name" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_display_name]'>
1452 </div>
1453 </div>
1454 </div>
1455 </div>
1456 <hr>
1457 <div class="form-group row" style="padding:0px;margin:0;">
1458 <div class="col-sm-12" style="padding:20px;">
1459 <div class="form-group row">
1460 <div class="col-sm-4">
1461 <label for="ays_survey_user_email">
1462 <?php echo esc_html__( "Show User Email", "survey-maker" ); ?>
1463 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows the logged-in user's email. If the user is not logged-in, the shortcode will be empty.","survey-maker") ); ?>">
1464 <i class="ays_fa ays_fa_info_circle"></i>
1465 </a>
1466 </label>
1467 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows the logged-in user's email. If the user is not logged-in, the shortcode will be empty.", "survey-maker" ); ?></span>
1468 </div>
1469 <div class="col-sm-8">
1470 <input type="text" id="ays_survey_user_email" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_email]'>
1471 </div>
1472 </div>
1473 </div>
1474 </div>
1475 <hr>
1476 <div class="form-group row" style="padding:0px;margin:0;">
1477 <div class="col-sm-12" style="padding:20px;">
1478 <div class="form-group row">
1479 <div class="col-sm-4">
1480 <label for="ays_survey_user_wordpress_roles">
1481 <?php echo esc_html__( "Show User WordPress Roles", "survey-maker" ); ?>
1482 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Shows user's role(s) when logged-in. In case the user is not logged-in, the field will be empty.","survey-maker") ); ?>">
1483 <i class="ays_fa ays_fa_info_circle"></i>
1484 </a>
1485 </label>
1486 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Shows user's role(s) when logged-in. In case the user is not logged-in, the field will be empty.", "survey-maker" ); ?></span>
1487 </div>
1488 <div class="col-sm-8">
1489 <input type="text" id="ays_survey_user_wordpress_roles" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_wordpress_roles]'>
1490 </div>
1491 </div>
1492 </div>
1493 </div>
1494 <hr>
1495 <div class="form-group row" style="padding:0px;margin:0;">
1496 <div class="col-sm-12" style="padding:20px;">
1497 <div class="form-group row">
1498 <div class="col-sm-4">
1499 <label for="ays_survey_passed_users_count">
1500 <?php echo esc_html__( "Passed users count", "survey-maker" ); ?>
1501 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_html__('Copy the following shortcode and paste it in posts. Insert the Survey ID to receive the number of participants of the survey.',"survey-maker"); ?>">
1502 <i class="ays_fa ays_fa_info_circle"></i>
1503 </a>
1504 </label>
1505 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Copy the following shortcode and paste it in posts. Insert the Survey ID to receive the number of participants of the survey.", "survey-maker" ); ?></span>
1506 </div>
1507 <div class="col-sm-8">
1508 <input type="text" id="ays_survey_passed_users_count" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_passed_users_count id="Your_survey_ID"]'>
1509 </div>
1510 </div>
1511 </div>
1512 </div>
1513 <hr>
1514 <div class="form-group row" style="padding:0px;margin:0;">
1515 <div class="col-sm-12" style="padding:20px;">
1516 <div class="form-group row">
1517 <div class="col-sm-4">
1518 <label for="ays_survey_show_creation_date">
1519 <?php echo esc_html__( "Show survey creation date", "survey-maker" ); ?>
1520 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Survey ID in the shortcode. It will show the creation date of the particular survey. If there is no survey available/found with that particular Survey ID, the shortcode will be empty.","survey-maker") ); ?>">
1521 <i class="ays_fa ays_fa_info_circle"></i>
1522 </a>
1523 </label>
1524 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "You need to insert Your Survey ID in the shortcode. It will show the creation date of the particular survey.", "survey-maker" ); ?></span>
1525 </div>
1526 <div class="col-sm-8">
1527 <input type="text" id="ays_survey_show_creation_date" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_creation_date id="Your_Survey_ID"]'>
1528 </div>
1529 </div>
1530 </div>
1531 </div>
1532 <hr>
1533 <div class="form-group row" style="padding:0px;margin:0;">
1534 <div class="col-sm-12" style="padding:20px;">
1535 <div class="form-group row">
1536 <div class="col-sm-4">
1537 <label for="ays_survey_show_sections_count">
1538 <?php echo esc_html__( "Show survey sections count", "survey-maker" ); ?>
1539 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Survey ID in the shortcode. It will show the number of the sections of the given survey. If there is no survey available/found with that particular Survey ID, the shortcode will be empty.","survey-maker") ); ?>">
1540 <i class="ays_fa ays_fa_info_circle"></i>
1541 </a>
1542 </label>
1543 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "You need to insert Your Survey ID in the shortcode. It will show the number of the sections of the given survey.", "survey-maker" ); ?></span>
1544 </div>
1545 <div class="col-sm-8">
1546 <input type="text" id="ays_survey_show_sections_count" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_sections_count id="Your_Survey_ID"]'>
1547 </div>
1548 </div>
1549 </div>
1550 </div>
1551 <hr>
1552 <div class="form-group row" style="padding:0px;margin:0;">
1553 <div class="col-sm-12" style="padding:20px;">
1554 <div class="form-group row">
1555 <div class="col-sm-4">
1556 <label for="ays_survey_show_questions_count">
1557 <?php echo esc_html__( "Show survey questions count", "survey-maker" ); ?>
1558 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("You need to insert Your Survey ID in the shortcode. It will show the number of the questions of the given survey. If there is no survey available/found with that particular Survey ID, the shortcode will be empty.","survey-maker") ); ?>">
1559 <i class="ays_fa ays_fa_info_circle"></i>
1560 </a>
1561 </label>
1562 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "You need to insert Your Survey ID in the shortcode. It will show the number of the questions of the given survey.", "survey-maker" ); ?></span>
1563 </div>
1564 <div class="col-sm-8">
1565 <input type="text" id="ays_survey_show_questions_count" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_questions_count id="Your_Survey_ID"]'>
1566 </div>
1567 </div>
1568 </div>
1569 </div>
1570 <hr>
1571 <div class="form-group row" style="padding:0px;margin:0;">
1572 <div class="col-sm-12" style="padding:20px;">
1573 <div class="form-group row">
1574 <div class="col-sm-4">
1575 <label for="ays_survey_categories_count">
1576 <?php echo esc_html__( "Show survey categories count", "survey-maker" ); ?>
1577 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr( __("Put this shortcode on a page to show the total count of survey categories.","survey-maker") ); ?>">
1578 <i class="ays_fa ays_fa_info_circle"></i>
1579 </a>
1580 </label>
1581 <span class="ays_survey_small_hint_text"><?php echo esc_html__( "Put this shortcode on a page to show the total count of survey categories.", "survey-maker" ); ?></span>
1582 </div>
1583 <div class="col-sm-8">
1584 <input type="text" id="ays_survey_categories_count" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_categories_count]'>
1585 </div>
1586 </div>
1587 </div>
1588 </div>
1589 </fieldset> <!-- Extra shortcodes -->
1590 <hr>
1591 <fieldset>
1592 <legend>
1593 <strong style="font-size:30px;">[ ]</strong>
1594 <h5><?php echo esc_html__('Most popular survey',"survey-maker"); ?></h5>
1595 </legend>
1596 <div class="form-group row" style="padding:0px;margin:0;">
1597 <div class="col-sm-12" style="padding:20px;">
1598 <div class="form-group row">
1599 <div class="col-sm-4">
1600 <label for="ays_survey_most_popular">
1601 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1602 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__('Designed to show the most popular survey that is passed most commonly by users.',"survey-maker"); ?>">
1603 <i class="ays_fa ays_fa_info_circle"></i>
1604 </a>
1605 </label>
1606 </div>
1607 <div class="col-sm-8">
1608 <input type="text" id="ays_survey_most_popular" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_most_popular count="1"]'>
1609 </div>
1610 </div>
1611 </div>
1612 </div>
1613 </fieldset> <!-- Most popular survey -->
1614 <hr>
1615 <fieldset>
1616 <legend>
1617 <strong style="font-size:30px;">[ ]</strong>
1618 <h5><?php echo esc_html__('Survey Links by Category',"survey-maker"); ?></h5>
1619 </legend>
1620 <div class="form-group row" style="padding:0px;margin:0;">
1621 <div class="col-sm-12" style="padding:20px;">
1622 <div class="form-group row">
1623 <div class="col-sm-4">
1624 <label for="ays_survey_links_by_category">
1625 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1626 <a class="ays_help" data-toggle="tooltip" title="<?php echo esc_attr__('After adding the shortcode all surveys from the particular category will be collected in the front-end. After clicking on the Open button you will be redirected to the Survey page.',"survey-maker"); ?>">
1627 <i class="ays_fa ays_fa_info_circle"></i>
1628 </a>
1629 </label>
1630 </div>
1631 <div class="col-sm-8">
1632 <input type="text" id="ays_survey_links_by_category" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_links_by_category id="YOUR_CATEGORY_ID"]'>
1633 </div>
1634 </div>
1635 </div>
1636 </div>
1637 </fieldset> <!-- Survey Links by Category -->
1638 <hr>
1639 <fieldset>
1640 <legend>
1641 <strong style="font-size:30px;">[ ]</strong>
1642 <h5><?php echo esc_html__('All submission settings',"survey-maker")?></h5>
1643 </legend>
1644 <div class="form-group row" style="margin:0px;">
1645 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1646 <div class="ays-pro-features-v2-small-buttons-box">
1647 <div class="ays-pro-features-v2-video-button"></div>
1648 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1649 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1650 <div class="ays-pro-features-v2-upgrade-text">
1651 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1652 </div>
1653 </a>
1654 </div>
1655 <div class="form-group row">
1656 <div class="col-sm-4">
1657 <label >
1658 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1659 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Copy the given shortcode and insert it into any post or page to show all the submissions of the surveys.',"survey-maker")?>">
1660 <i class="ays_fa ays_fa_info_circle"></i>
1661 </a>
1662 </label>
1663 </div>
1664 <div class="col-sm-8">
1665 <input type="text" class="ays-text-input" value='[ays_survey_all_submissions]'>
1666 </div>
1667 </div>
1668 <hr>
1669 <div class="form-group row">
1670 <div class="col-sm-4">
1671 <label>
1672 <?php echo esc_html__( "Show to guests too", "survey-maker" ); ?>
1673 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Show the table to guests as well. By default, it is displayed only for logged-in users. So if the option is disabled, then only the logged-in users will be able to see the table.
1674 Note: Despite the fact of showing the table to the guests, the table will contain only the info of the logged-in users.',"survey-maker")?>">
1675 <i class="ays_fa ays_fa_info_circle"></i>
1676 </a>
1677 </label>
1678 </div>
1679 <div class="col-sm-8">
1680 <input type="checkbox" class="ays-checkbox-input" />
1681 </div>
1682 </div>
1683 <hr>
1684 <div class="form-group row">
1685 <div class="col-sm-12">
1686 <label>
1687 <?php echo esc_html__( "Table columns", "survey-maker" ); ?>
1688 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Select and reorder the given columns which should be displayed on the front-end.',"survey-maker")?>">
1689 <i class="ays_fa ays_fa_info_circle"></i>
1690 </a>
1691 </label>
1692 <div class="ays-show-user-page-table-wrap">
1693 <ul class="ays-all-submission-table ays-show-user-page-table">
1694 <?php
1695 foreach ($default_all_submissions_columns as $val) {
1696 ?>
1697 <li class="ays-user-page-option-row ui-state-default">
1698 <input type="checkbox" checked>
1699 <label>
1700 <?php echo esc_attr($val); ?>
1701 </label>
1702 </li>
1703 <?php
1704 }
1705 ?>
1706 </ul>
1707 </div>
1708 </div>
1709 </div>
1710 </div>
1711 </div>
1712 </fieldset> <!-- All Submission settings -->
1713 <hr/>
1714 <fieldset>
1715 <legend>
1716 <strong style="font-size:30px;">[ ]</strong>
1717 <h5><?php echo esc_html__('User history settings',"survey-maker")?></h5>
1718 </legend>
1719 <div class="form-group row" style="margin:0px;">
1720 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1721 <div class="ays-pro-features-v2-small-buttons-box ays-pro-pro-features-popup" data-video-url="https://www.youtube.com/watch?v=P30TcPIgSSQ" data-option-title="<?php echo esc_attr__('User History Settings Shortcode',"survey-maker")?>" data-option-text="Are you trying to <strong> get all survey submissions from the current user </strong> displayed on a page? Then, use the “User history settings” shortcode to have a full report of the current user's survey submissions. You have the option to <strong> choose the order of data in the table </strong> and the option to <strong> remove unnecessary information </strong> from it.
1722 Follow the steps in the video to get your survey submissions from the current user without facing any challenges.">
1723 <div class="ays-pro-features-v2-video-button">
1724 <div class="ays-pro-features-v2-video-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Video_24x24_Hover.svg"></div>
1725 <div class="ays-pro-features-v2-video-text">
1726 <?php echo esc_html__("Watch Video" , "survey-maker"); ?>
1727 </div>
1728 </div>
1729 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1730 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1731 <div class="ays-pro-features-v2-upgrade-text">
1732 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1733 </div>
1734 </a>
1735 </div>
1736 <div class="form-group row">
1737 <div class="col-sm-4">
1738 <label >
1739 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1740 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Copy the given shortcode and insert it into any post or page to show the current user’s submissions history. Each user will see individually presented content based on their taken surveys.',"survey-maker")?>">
1741 <i class="ays_fa ays_fa_info_circle"></i>
1742 </a>
1743 </label>
1744 </div>
1745 <div class="col-sm-8">
1746 <input type="text" class="ays-text-input" value='[ays_survey_user_history]'>
1747 </div>
1748 </div>
1749 <hr>
1750 <div class="form-group row">
1751 <div class="col-sm-12">
1752 <label>
1753 <?php echo esc_html__( "User history submissions table columns", "survey-maker" ); ?>
1754 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Select and reorder the given columns which should be displayed on the front-end.',"survey-maker")?>">
1755 <i class="ays_fa ays_fa_info_circle"></i>
1756 </a>
1757 </label>
1758 <div class="ays-show-user-page-table-wrap">
1759 <ul class="ays-show-user-page-table">
1760 <?php
1761 foreach ($ays_survey_user_history_columns_order as $val) {
1762 ?>
1763 <li class="ays-user-page-option-row ui-state-default">
1764 <input type="checkbox" value="<?php echo esc_attr($val); ?>" class="ays-checkbox-input" checked/>
1765 <label>
1766 <?php echo esc_attr($val); ?>
1767 </label>
1768 </li>
1769 <?php
1770 }
1771 ?>
1772 </ul>
1773 </div>
1774 </div>
1775 </div>
1776 </div>
1777 </div>
1778 </fieldset> <!-- User history settings -->
1779 <hr>
1780 <fieldset>
1781 <legend>
1782 <strong style="font-size:30px;">[ ]</strong>
1783 <h5><?php echo esc_html__('Display question summary',"survey-maker"); ?></h5>
1784 </legend>
1785 <div class="form-group row" style="margin:0px;">
1786 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1787 <div class="ays-pro-features-v2-small-buttons-box">
1788 <div>
1789 <a href="https://ays-demo.com/survey-question-summary-shortcode/" target="_blank" class="ays-pro-features-v2-view-demo-button">
1790 <div class="ays-pro-features-v2-view-demo-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/view-demo.svg');"></div>
1791 <div class="ays-pro-features-v2-view-demo-text">
1792 <?php echo esc_html__("View demo" , "survey-maker"); ?>
1793 </div>
1794 </a>
1795 </div>
1796 <div class="ays-pro-features-v2-video-button"></div>
1797 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1798 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1799 <div class="ays-pro-features-v2-upgrade-text">
1800 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1801 </div>
1802 </a>
1803 </div>
1804 <div class="form-group row">
1805 <div class="col-sm-4">
1806 <label for="">
1807 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1808 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Display each question summary individually on the front-end. To insert question ID, please click on the three dots located at the bottom right corner of the question(Surveys > the given survey > General tab).',"survey-maker"); ?>">
1809 <i class="ays_fa ays_fa_info_circle"></i>
1810 </a>
1811 </label>
1812 </div>
1813 <div class="col-sm-8">
1814 <input type="text" id="" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_question_summary id="Your_question_ID"]'>
1815 </div>
1816 </div>
1817 </div>
1818 </div>
1819 </fieldset> <!-- Display question summary -->
1820 <hr>
1821 <fieldset>
1822 <legend>
1823 <strong style="font-size:30px;">[ ]</strong>
1824 <h5><?php echo esc_html__('Recent surveys',"survey-maker"); ?></h5>
1825 </legend>
1826 <div class="form-group row" style="margin:0px;">
1827 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1828 <div class="ays-pro-features-v2-small-buttons-box">
1829 <div class="ays-pro-features-v2-video-button"></div>
1830 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1831 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1832 <div class="ays-pro-features-v2-upgrade-text">
1833 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1834 </div>
1835 </a>
1836 </div>
1837 <div class="form-group row">
1838 <div class="col-sm-4">
1839 <label for="">
1840 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1841 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Copy the following shortcode, configure it based on your preferences and paste it into the post or widget.',"survey-maker"); ?>">
1842 <i class="ays_fa ays_fa_info_circle"></i>
1843 </a>
1844 </label>
1845 </div>
1846 <div class="col-sm-8">
1847 <input type="text" id="" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_activity_per_day]'>
1848 </div>
1849 </div>
1850 </div>
1851 </div>
1852 </fieldset> <!-- Recent surveys -->
1853 <hr>
1854 <fieldset>
1855 <legend>
1856 <strong style="font-size:30px;">[ ]</strong>
1857 <h5><?php echo esc_html__('User Activity Per Day Settings',"survey-maker"); ?></h5>
1858 </legend>
1859 <div class="form-group row" style="margin:0px;">
1860 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1861 <div class="ays-pro-features-v2-small-buttons-box">
1862 <div class="ays-pro-features-v2-video-button"></div>
1863 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1864 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1865 <div class="ays-pro-features-v2-upgrade-text">
1866 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1867 </div>
1868 </a>
1869 </div>
1870 <div class="form-group row">
1871 <div class="col-sm-4">
1872 <label for="">
1873 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1874 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('See how many surveys a user passed per day.',"survey-maker"); ?>">
1875 <i class="ays_fa ays_fa_info_circle"></i>
1876 </a>
1877 </label>
1878 </div>
1879 <div class="col-sm-8">
1880 <input type="text" id="" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_user_activity_per_day]'>
1881 </div>
1882 </div>
1883 </div>
1884 </div>
1885 </fieldset> <!-- User Activity Per Day -->
1886 <hr>
1887 <fieldset>
1888 <legend>
1889 <strong style="font-size:30px;">[ ]</strong>
1890 <h5><?php echo esc_html__('Survey Activity Per Day Settings',"survey-maker"); ?></h5>
1891 </legend>
1892 <div class="form-group row" style="margin:0px;">
1893 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1894 <div class="ays-pro-features-v2-small-buttons-box">
1895 <div class="ays-pro-features-v2-video-button"></div>
1896 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1897 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1898 <div class="ays-pro-features-v2-upgrade-text">
1899 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1900 </div>
1901 </a>
1902 </div>
1903 <div class="form-group row">
1904 <div class="col-sm-4">
1905 <label for="">
1906 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1907 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('See how many times the survey is passed per day.',"survey-maker"); ?>">
1908 <i class="ays_fa ays_fa_info_circle"></i>
1909 </a>
1910 </label>
1911 </div>
1912 <div class="col-sm-8">
1913 <input type="text" id="" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_activity_per_day id="Your_Survey_ID"]'>
1914 </div>
1915 </div>
1916 <blockquote>
1917 <b>ID</b> - Enter ID of the Survey. Example: id="2".
1918 </blockquote>
1919 </div>
1920 </div>
1921 </fieldset> <!-- Survey Activity Per Day -->
1922 <hr>
1923 <fieldset>
1924 <legend>
1925 <strong style="font-size:30px;">[ ]</strong>
1926 <h5><?php echo esc_html__( 'Request Form' , "survey-maker" )?></h5>
1927 </legend>
1928 <div class="form-group row" style="margin:0px;">
1929 <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small">
1930 <div class="ays-pro-features-v2-small-buttons-box">
1931 <div class="ays-pro-features-v2-video-button"></div>
1932 <a href="https://ays-pro.com/wordpress/survey-maker" target="_blank" class="ays-pro-features-v2-upgrade-button">
1933 <div class="ays-pro-features-v2-upgrade-icon" style="background-image: url('<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg');" data-img-src="<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/pro-features-icons/Locked_24x24.svg"></div>
1934 <div class="ays-pro-features-v2-upgrade-text">
1935 <?php echo esc_html__("Upgrade" , "survey-maker"); ?>
1936 </div>
1937 </a>
1938 </div>
1939 <div class="form-group row">
1940 <div class="col-sm-4">
1941 <label for="ays_survey_survey_front_request">
1942 <?php echo esc_html__( "Shortcode", "survey-maker" ); ?>
1943 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('Copy the following shortcode and paste it into your desired post. It will allow users to send a request for building a survey with simple settings (Survey title, questions, answers). Find the list of the requests in the Frontend Requests page, which is located on the Survey Maker left navbar. For accepting the request, the admin needs to click on the Approve button next to the given survey.',"survey-maker")?>">
1944 <i class="ays_fa ays_fa_info_circle"></i>
1945 </a>
1946 </label>
1947 </div>
1948 <div class="col-sm-8">
1949 <input type="text" id="ays_survey_survey_front_request" class="ays-text-input" onclick="this.setSelectionRange(0, this.value.length)" readonly="" value='[ays_survey_request_form]'>
1950 </div>
1951 </div>
1952 <hr/>
1953 <div class="form-group row">
1954 <div class="col-sm-4">
1955 <label for="ays_survey_front_request_auto_approve">
1956 <?php echo esc_html__( "Enable auto-approve", "survey-maker" ); ?>
1957 <a class="ays_help ays-survey-zindex-for-pro" data-toggle="tooltip" title="<?php echo esc_attr__('If the option is enabled, the user requests from the Request Form shortcode will automatically be approved and added to the Surveys page.', "survey-maker"); ?>">
1958 <i class="ays_fa ays_fa_info_circle"></i>
1959 </a>
1960 </label>
1961 </div>
1962 <div class="col-sm-8">
1963 <input type="checkbox">
1964 </div>
1965 </div>
1966 <blockquote>
1967 <p style="margin:0;"><?php echo esc_html__( "Ability to allow users to create a survey from the front-end.", "survey-maker" ); ?></p>
1968 </blockquote>
1969 </div>
1970 </div>
1971 </fieldset>
1972 </div>
1973 </div>
1974 </div>
1975 <hr/>
1976 <div style="position:sticky;padding:15px 0px;bottom:0;z-index:999999;" class="ays-survey-save-changes-settings-page-mobile">
1977 <?php
1978 wp_nonce_field('settings_action', 'settings_action');
1979 // $other_attributes = array();
1980
1981 $other_attributes = array(
1982 'id' => 'ays-button-apply',
1983 'title' => 'Ctrl + s',
1984 'data-toggle' => 'tooltip',
1985 'data-delay'=> '{"show":"1000"}'
1986 );
1987
1988 submit_button(__('Save changes', "survey-maker"), 'primary ays-survey-loader-banner ays-survey-gen-settings-save', 'ays_submit', true, $other_attributes);
1989 echo wp_kses_post($loader_iamge);
1990 ?>
1991 </div>
1992 </form>
1993 </div>
1994 </div>
1995
1996
1997
1998 <!-- Pro features modal start -->
1999 <div class="ays-modal" id="pro-features-popup-modal">
2000 <div class="ays-modal-content">
2001 <!-- Modal Header -->
2002 <div class="ays-modal-header">
2003 <span class="ays-close-pro-popup">&times;</span>
2004 <!-- <h2></h2> -->
2005 </div>
2006
2007 <!-- Modal body -->
2008 <div class="ays-modal-body">
2009 <div class="row">
2010 <div class="col-sm-6 pro-features-popup-modal-left-section"></div>
2011 <div class="col-sm-6 pro-features-popup-modal-right-section">
2012 <div class="pro-features-popup-modal-right-box">
2013 <div class="pro-features-popup-modal-right-box-icon"><i class="ays_fa ays_fa_lock"></i></div>
2014
2015 <div class="pro-features-popup-modal-right-box-title"></div>
2016
2017 <div class="pro-features-popup-modal-right-box-content"></div>
2018
2019 <div class="pro-features-popup-modal-right-box-button">
2020 <a href="https://ays-pro.com/wordpress/survey-maker" class="pro-features-popup-modal-right-box-link" target="_blank"><?php echo esc_html__("Pricing", "survey-maker"); ?></a>
2021 </div>
2022 <div class="pro-features-popup-modal-right-box-footer-text">
2023 <span class="ays_quiz_small_hint_text_for_message_variables">
2024 <?php echo esc_html__('One-time payment', "survey-maker")?>
2025 </span>
2026 </div>
2027 </div>
2028 </div>
2029 </div>
2030 </div>
2031
2032 <!-- Modal footer -->
2033 <div class="ays-modal-footer" style="display:none">
2034 </div>
2035 </div>
2036 </div>
2037 <!-- Pro features modal end -->
2038