← All changes
|
admin/partials/settings/survey-maker-settings.php
+79
-22
5.2.2.0
→
5.2.4.1
View file →
| @@ -169,8 +169,21 @@ | ||
| 169 | 169 | // Disable Submissions menu item notification |
| 170 | 170 | $options['survey_disable_submission_menu_notification'] = isset($options['survey_disable_submission_menu_notification']) ? esc_attr( $options['survey_disable_submission_menu_notification'] ) : 'off'; |
| 171 | 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 | 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 | + | |
| 173 | 186 | // Textarea height (public) |
| 174 | 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; |
| 175 | 188 | |
| 176 | 189 | // WP Editor height |
| @@ -230,18 +243,18 @@ | ||
| 230 | 243 | 'current_date' => __('The date of the submission survey.' , "survey-maker"), |
| 231 | 244 | 'current_time' => __('The time of the submission survey.' , "survey-maker"), |
| 232 | 245 | 'current_day' => __('The day of the submission survey.' , "survey-maker"), |
| 233 | 246 | 'current_month' => __('The month of the submission survey.' , "survey-maker"), |
| 234 | - 'unique_code' => __('Use to identify the uniqueness of each attempt.' , "survey-maker"), | |
| 247 | + 'unique_code' => __('Use to identify the uniqueness of each attempt.' , "survey-maker"), | |
| 235 | 248 | 'post_id' => __('The ID of the current post.' , "survey-maker"), |
| 236 | 249 | 'home_page_url' => __('The URL of the home page.' , "survey-maker"), |
| 237 | 250 | 'post_author_email' => __('The Email of the author of the post.' , "survey-maker"), |
| 238 | 251 | 'post_title' => __('The Post title of the current post.' , "survey-maker"), |
| 239 | - 'post_author_nickname' => __('The Nickname of the author of the post.' , "survey-maker"), | |
| 240 | - 'post_author_display_name' => __('The Display name of the author of the post.' , "survey-maker"), | |
| 241 | - 'post_author_first_name' => __('The First Name of the author of the post.' , "survey-maker"), | |
| 242 | - 'post_author_last_name' => __('The Last Name of the author of the post.' , "survey-maker"), | |
| 243 | - 'post_author_website_url' => __('The website url of the author of the 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"), | |
| 244 | 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"), |
| 245 | 258 | 'site_title' => __('The title of the website.' , "survey-maker"), |
| 246 | 259 | 'site_description' => __('The description of the website.' , "survey-maker"), |
| 247 | 260 | ), |
| @@ -262,18 +275,21 @@ | ||
| 262 | 275 | 'admin_email' => __('Shows the admin\'s email that was filled in their WordPress profile.' , "survey-maker"), |
| 263 | 276 | ), |
| 264 | 277 | 'survey_message_variables' => array( |
| 265 | 278 | 'survey_title' => __('The title of the survey.' , "survey-maker"), |
| 279 | + 'survey_category_title' => __('The title of the survey category.' , "survey-maker"), | |
| 266 | 280 | 'survey_id' => __('The ID of the survey.' , "survey-maker"), |
| 267 | 281 | 'current_survey_author' => __('It will show the author of the current survey.' , "survey-maker"), |
| 268 | - 'current_survey_author_email' => __('It will show the author email of the current survey.' , "survey-maker"), | |
| 269 | - 'current_survey_author_nickname' => __('It will show the author nickname of the current survey.' , "survey-maker"), | |
| 270 | - 'current_survey_author_display_name' => __('It will show the author display name of the current survey.' , "survey-maker"), | |
| 271 | - 'current_survey_author_website_url' => __('It will show the author Website URL of the current survey.' , "survey-maker"), | |
| 272 | - 'current_survey_page_link' => __('Prints the webpage link where the current survey is posted.' , "survey-maker"), | |
| 273 | - 'questions_count' => __('The number of the questions of the given survey.' , "survey-maker"), | |
| 274 | - 'sections_count' => __('The number of the sections of the given survey.' , "survey-maker"), | |
| 275 | - 'submission_count' => __('Shows the submission count of a particular 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 | + 'current_survey_page_title' => __('Prints the webpage title where the current survey is posted.' , "survey-maker"), | |
| 289 | + 'questions_count' => __('The number of the questions of the given survey.' , "survey-maker"), | |
| 290 | + 'sections_count' => __('The number of the sections of the given survey.' , "survey-maker"), | |
| 291 | + 'submission_count' => __('Shows the submission count of a particular survey.' , "survey-maker"), | |
| 276 | 292 | 'creation_date' => __('The creation date of the survey.' , "survey-maker"), |
| 277 | 293 | 'modified_date' => __('The last modified date of the survey.' , "survey-maker"), |
| 278 | 294 | ) |
| 279 | 295 | ); |
| @@ -281,11 +297,11 @@ | ||
| 281 | 297 | <div class="wrap" style="position:relative;"> |
| 282 | 298 | <div class="container-fluid"> |
| 283 | 299 | <div class="ays-survey-heading-box"> |
| 284 | 300 | <div class="ays-survey-wordpress-user-manual-box"> |
| 285 | - <a href="https://ays-pro.com/wordpress-survey-maker-user-manual" target="_blank" style="text-decoration: none;font-size: 13px;"> | |
| 301 | + <a href="https://ays-pro.com/wordpress-survey-maker-user-manual#frag_general_settings" target="_blank" style="text-decoration: none;font-size: 13px;"> | |
| 286 | 302 | <i class="ays_fa ays_fa_file_text" ></i> |
| 287 | - <span style="margin-left: 3px;text-decoration: underline;">View Documentation</span> | |
| 303 | + <span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__( "How to configure general settings", "survey-maker" ); ?></span> | |
| 288 | 304 | </a> |
| 289 | 305 | </div> |
| 290 | 306 | </div> |
| 291 | 307 | <h1 class="wp-heading-inline"> |
| @@ -615,8 +631,30 @@ | ||
| 615 | 631 | <div class="col-sm-8"> |
| 616 | 632 | <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' : ''; ?>> |
| 617 | 633 | </div> |
| 618 | 634 | </div> |
| 635 | + <hr> | |
| 636 | + <div class="form-group row"> | |
| 637 | + <div class="col-sm-4"> | |
| 638 | + <label> | |
| 639 | + <?php echo esc_html__( "Menu badge style", 'survey-maker' ); ?> | |
| 640 | + <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') ); ?>"> | |
| 641 | + <i class="ays_fa ays_fa_info_circle"></i> | |
| 642 | + </a> | |
| 643 | + </label> | |
| 644 | + </div> | |
| 645 | + <div class="col-sm-8"> | |
| 646 | + <div class="ays-survey-menu-badge-style-options" style="display:flex; gap:10px; flex-wrap:wrap;"> | |
| 647 | + <?php foreach ( $survey_menu_badge_style_options as $style_key => $style_data ) : ?> | |
| 648 | + <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;"> | |
| 649 | + <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 ); ?>> | |
| 650 | + <span class="ays-survey-menu-badge" style="margin-left:0; background:<?php echo esc_attr( $style_data['background'] ); ?>;">2</span> | |
| 651 | + <span class="screen-reader-text"><?php echo esc_html( $style_data['label'] ); ?></span> | |
| 652 | + </label> | |
| 653 | + <?php endforeach; ?> | |
| 654 | + </div> | |
| 655 | + </div> | |
| 656 | + </div> | |
| 619 | 657 | </fieldset> <!-- Menu notifications --> |
| 620 | 658 | <hr> |
| 621 | 659 | <fieldset> |
| 622 | 660 | <legend> |
| @@ -925,8 +963,16 @@ | ||
| 925 | 963 | do_action( 'ays_sm_settings_page_integrations' ); |
| 926 | 964 | ?> |
| 927 | 965 | </div> |
| 928 | 966 | <div id="tab3" class="ays-survey-tab-content <?php echo ($ays_survey_tab == 'tab3') ? 'ays-survey-tab-content-active' : ''; ?>"> |
| 967 | + <div class="ays-survey-heading-box" style="margin: 0;"> | |
| 968 | + <div class="ays-survey-wordpress-user-manual-box"> | |
| 969 | + <a href="https://www.youtube.com/watch?v=ct7_edtpuAs" target="_blank" style="text-decoration: none;font-size: 13px;"> | |
| 970 | + <span><img src='<?php echo esc_attr(SURVEY_MAKER_ADMIN_URL); ?>/images/icons/youtube-video-icon.svg' ></span> | |
| 971 | + <span style="margin-left: 3px; text-decoration: underline;"><?php echo esc_html__('How to use the Message variables', "survey-maker"); ?></span> | |
| 972 | + </a> | |
| 973 | + </div> | |
| 974 | + </div> | |
| 929 | 975 | <p class="ays-subtitle"> |
| 930 | 976 | <?php echo esc_html__('Message variables',"survey-maker")?> |
| 931 | 977 | <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> |
| 932 | 978 | <ul class='ays_tooltop_ul'> |
| @@ -948,10 +994,8 @@ | ||
| 948 | 994 | <p style="text-indent:30px;margin:0;color:red;">* <?php echo esc_html__( "Reply To Name", "survey-maker" ); ?></p> |
| 949 | 995 | </div> |
| 950 | 996 | </blockquote> |
| 951 | 997 | <hr> |
| 952 | - <div style="display: flex;justify-content: center; align-items: center;margin-bottom: 15px;"><iframe width="560" height="315" class="ays-survey-iframe-video-link" src="https://www.youtube.com/embed/ct7_edtpuAs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen loading="lazy"></iframe></div> | |
| 953 | - <hr> | |
| 954 | 998 | <div class="form-group row"> |
| 955 | 999 | <div class="col-sm-12"> |
| 956 | 1000 | <?php echo $actions->message_variables_section($message_variables); ?> |
| 957 | 1001 | </div> |
| @@ -1008,10 +1052,11 @@ | ||
| 1008 | 1052 | <div class="col-sm-9"> |
| 1009 | 1053 | <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); ?>'> |
| 1010 | 1054 | </div> |
| 1011 | 1055 | </div> |
| 1056 | + | |
| 1057 | + <?php if( 1 == 0 ): ?> | |
| 1012 | 1058 | <hr> |
| 1013 | - | |
| 1014 | 1059 | <div class="form-group row" style="margin:0px;"> |
| 1015 | 1060 | <div class="col-sm-12 ays-pro-features-v2-main-box ays-pro-features-v2-main-box-small"> |
| 1016 | 1061 | <div class="ays-pro-features-v2-small-buttons-box"> |
| 1017 | 1062 | <div class="ays-pro-features-v2-video-button"></div> |
| @@ -1174,9 +1219,10 @@ | ||
| 1174 | 1219 | </div> |
| 1175 | 1220 | </div> |
| 1176 | 1221 | </div> |
| 1177 | 1222 | </div> |
| 1178 | - | |
| 1223 | + <?php endif; ?> | |
| 1224 | + | |
| 1179 | 1225 | <hr /> |
| 1180 | 1226 | <p class="ays-subtitle"> |
| 1181 | 1227 | <?php echo esc_html__('Buttons texts',"survey-maker")?> |
| 1182 | 1228 | <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" ); ?>"> |
| @@ -1342,8 +1388,9 @@ | ||
| 1342 | 1388 | <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") ); ?>"> |
| 1343 | 1389 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1344 | 1390 | </a> |
| 1345 | 1391 | </label> |
| 1392 | + <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> | |
| 1346 | 1393 | </div> |
| 1347 | 1394 | <div class="col-sm-8"> |
| 1348 | 1395 | <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]'> |
| 1349 | 1396 | </div> |
| @@ -1360,8 +1407,9 @@ | ||
| 1360 | 1407 | <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") ); ?>"> |
| 1361 | 1408 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1362 | 1409 | </a> |
| 1363 | 1410 | </label> |
| 1411 | + <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> | |
| 1364 | 1412 | </div> |
| 1365 | 1413 | <div class="col-sm-8"> |
| 1366 | 1414 | <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]'> |
| 1367 | 1415 | </div> |
| @@ -1378,8 +1426,9 @@ | ||
| 1378 | 1426 | <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") ); ?>"> |
| 1379 | 1427 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1380 | 1428 | </a> |
| 1381 | 1429 | </label> |
| 1430 | + <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> | |
| 1382 | 1431 | </div> |
| 1383 | 1432 | <div class="col-sm-8"> |
| 1384 | 1433 | <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]'> |
| 1385 | 1434 | </div> |
| @@ -1396,8 +1445,9 @@ | ||
| 1396 | 1445 | <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") ); ?>"> |
| 1397 | 1446 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1398 | 1447 | </a> |
| 1399 | 1448 | </label> |
| 1449 | + <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> | |
| 1400 | 1450 | </div> |
| 1401 | 1451 | <div class="col-sm-8"> |
| 1402 | 1452 | <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]'> |
| 1403 | 1453 | </div> |
| @@ -1414,8 +1464,9 @@ | ||
| 1414 | 1464 | <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") ); ?>"> |
| 1415 | 1465 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1416 | 1466 | </a> |
| 1417 | 1467 | </label> |
| 1468 | + <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> | |
| 1418 | 1469 | </div> |
| 1419 | 1470 | <div class="col-sm-8"> |
| 1420 | 1471 | <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]'> |
| 1421 | 1472 | </div> |
| @@ -1432,8 +1483,9 @@ | ||
| 1432 | 1483 | <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") ); ?>"> |
| 1433 | 1484 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1434 | 1485 | </a> |
| 1435 | 1486 | </label> |
| 1487 | + <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> | |
| 1436 | 1488 | </div> |
| 1437 | 1489 | <div class="col-sm-8"> |
| 1438 | 1490 | <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]'> |
| 1439 | 1491 | </div> |
| @@ -1450,8 +1502,9 @@ | ||
| 1450 | 1502 | <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"); ?>"> |
| 1451 | 1503 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1452 | 1504 | </a> |
| 1453 | 1505 | </label> |
| 1506 | + <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> | |
| 1454 | 1507 | </div> |
| 1455 | 1508 | <div class="col-sm-8"> |
| 1456 | 1509 | <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"]'> |
| 1457 | 1510 | </div> |
| @@ -1468,8 +1521,9 @@ | ||
| 1468 | 1521 | <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") ); ?>"> |
| 1469 | 1522 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1470 | 1523 | </a> |
| 1471 | 1524 | </label> |
| 1525 | + <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> | |
| 1472 | 1526 | </div> |
| 1473 | 1527 | <div class="col-sm-8"> |
| 1474 | 1528 | <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"]'> |
| 1475 | 1529 | </div> |
| @@ -1486,8 +1540,9 @@ | ||
| 1486 | 1540 | <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") ); ?>"> |
| 1487 | 1541 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1488 | 1542 | </a> |
| 1489 | 1543 | </label> |
| 1544 | + <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> | |
| 1490 | 1545 | </div> |
| 1491 | 1546 | <div class="col-sm-8"> |
| 1492 | 1547 | <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"]'> |
| 1493 | 1548 | </div> |
| @@ -1504,8 +1559,9 @@ | ||
| 1504 | 1559 | <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") ); ?>"> |
| 1505 | 1560 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1506 | 1561 | </a> |
| 1507 | 1562 | </label> |
| 1563 | + <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> | |
| 1508 | 1564 | </div> |
| 1509 | 1565 | <div class="col-sm-8"> |
| 1510 | 1566 | <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"]'> |
| 1511 | 1567 | </div> |
| @@ -1522,8 +1578,9 @@ | ||
| 1522 | 1578 | <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") ); ?>"> |
| 1523 | 1579 | <i class="ays_fa ays_fa_info_circle"></i> |
| 1524 | 1580 | </a> |
| 1525 | 1581 | </label> |
| 1582 | + <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> | |
| 1526 | 1583 | </div> |
| 1527 | 1584 | <div class="col-sm-8"> |
| 1528 | 1585 | <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]'> |
| 1529 | 1586 | </div> |
| @@ -1916,9 +1973,9 @@ | ||
| 1916 | 1973 | </div> |
| 1917 | 1974 | </div> |
| 1918 | 1975 | </div> |
| 1919 | 1976 | <hr/> |
| 1920 | - <div style="position:sticky;padding:15px 0px;bottom:0;" class="ays-survey-save-changes-settings-page-mobile"> | |
| 1977 | + <div style="position:sticky;padding:15px 0px;bottom:0;z-index:999999;" class="ays-survey-save-changes-settings-page-mobile"> | |
| 1921 | 1978 | <?php |
| 1922 | 1979 | wp_nonce_field('settings_action', 'settings_action'); |
| 1923 | 1980 | // $other_attributes = array(); |
| 1924 | 1981 | |
| @@ -1977,5 +2034,5 @@ | ||
| 1977 | 2034 | <div class="ays-modal-footer" style="display:none"> |
| 1978 | 2035 | </div> |
| 1979 | 2036 | </div> |
| 1980 | 2037 | </div> |
| 1981 | -<!-- Pro features modal end --> | |
| 2038 | +<!-- Pro features modal end --> | |