Changeset 3374432
- Timestamp:
- 10/07/2025 01:25:53 PM (5 months ago)
- Location:
- accessibility-assistant/trunk
- Files:
-
- 4 edited
-
accessibility_assistant.php (modified) (1 diff)
-
admin/edit-language.php (modified) (8 diffs)
-
admin/menu-settings.php (modified) (48 diffs)
-
admin/widget-settings.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
accessibility-assistant/trunk/accessibility_assistant.php
r3374312 r3374432 5 5 Description: ADA, EAA, AODA & WCAG Compliance Widget for Website Accessibility 6 6 Author: CartCoder 7 Version: 3.0. 37 Version: 3.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
accessibility-assistant/trunk/admin/edit-language.php
r3374220 r3374432 746 746 <div class="ada-cc-controller-input-main"> 747 747 <label><?php _e('Keyboard Nav', 'accessibility-assistant'); ?></label> 748 <input type="text" placeholder="<?php _e('Keyboard Nav', 'accessibility-assistant'); ?>" id="keyboard_nav" name="keyboard_nav" value="<?php echo esc_attr(__($content['data']['language_translations_data']['keyboard_nav'], 'accessibility-assistant')); ?>" >748 <input type="text" placeholder="<?php _e('Keyboard Nav', 'accessibility-assistant'); ?>" id="keyboard_nav" name="keyboard_nav" value="<?php echo esc_attr(__($content['data']['language_translations_data']['keyboard_nav'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 749 749 </div> 750 750 <div class="ada-cc-controller-input-main"> 751 751 <label><?php _e('Cursor', 'accessibility-assistant'); ?></label> 752 <input type="text" placeholder="<?php _e('Cursor', 'accessibility-assistant'); ?>" id="cursor" name="cursor" value="<?php echo esc_attr(__($content['data']['language_translations_data']['cursor'], 'accessibility-assistant')); ?>" >752 <input type="text" placeholder="<?php _e('Cursor', 'accessibility-assistant'); ?>" id="cursor" name="cursor" value="<?php echo esc_attr(__($content['data']['language_translations_data']['cursor'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 753 753 </div> 754 754 <div class="ada-cc-controller-input-main"> 755 755 <label><?php _e('Big Cursor', 'accessibility-assistant'); ?></label> 756 <input type="text" placeholder="<?php _e('Big Cursor', 'accessibility-assistant'); ?>" id="big_cursor" name="big_cursor" value="<?php echo esc_attr(__($content['data']['language_translations_data']['big_cursor'], 'accessibility-assistant')); ?>" >756 <input type="text" placeholder="<?php _e('Big Cursor', 'accessibility-assistant'); ?>" id="big_cursor" name="big_cursor" value="<?php echo esc_attr(__($content['data']['language_translations_data']['big_cursor'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 757 757 </div> 758 758 <div class="ada-cc-controller-input-main"> 759 759 <label><?php _e('Reading Guide', 'accessibility-assistant'); ?></label> 760 <input type="text" placeholder="<?php _e('Reading Guide', 'accessibility-assistant'); ?>" id="reading_guide" name="reading_guide" value="<?php echo esc_attr(__($content['data']['language_translations_data']['reading_guide'], 'accessibility-assistant')); ?>" >760 <input type="text" placeholder="<?php _e('Reading Guide', 'accessibility-assistant'); ?>" id="reading_guide" name="reading_guide" value="<?php echo esc_attr(__($content['data']['language_translations_data']['reading_guide'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 761 761 </div> 762 762 </div> … … 769 769 <div class="ada-cc-controller-input-main"> 770 770 <label><?php _e('High Saturation', 'accessibility-assistant'); ?></label> 771 <input type="text" placeholder="<?php _e('High Saturation', 'accessibility-assistant'); ?>" id="high_saturation" name="high_saturation" value="<?php echo esc_attr(__($content['data']['language_translations_data']['high_saturation'], 'accessibility-assistant')); ?>" >771 <input type="text" placeholder="<?php _e('High Saturation', 'accessibility-assistant'); ?>" id="high_saturation" name="high_saturation" value="<?php echo esc_attr(__($content['data']['language_translations_data']['high_saturation'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 772 772 </div> 773 773 <div class="ada-cc-controller-input-main"> 774 774 <label><?php _e('Low Saturation', 'accessibility-assistant'); ?></label> 775 <input type="text" placeholder="<?php _e('Low Saturation', 'accessibility-assistant'); ?>" id="low_saturation" name="low_saturation" value="<?php echo esc_attr(__($content['data']['language_translations_data']['low_saturation'], 'accessibility-assistant')); ?>" >775 <input type="text" placeholder="<?php _e('Low Saturation', 'accessibility-assistant'); ?>" id="low_saturation" name="low_saturation" value="<?php echo esc_attr(__($content['data']['language_translations_data']['low_saturation'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 776 776 </div> 777 777 <div class="ada-cc-controller-input-main"> 778 778 <label><?php _e('Desaturate', 'accessibility-assistant'); ?></label> 779 <input type="text" placeholder="<?php _e('Desaturate', 'accessibility-assistant'); ?>" id="desaturate" name="desaturate" value="<?php echo esc_attr(__($content['data']['language_translations_data']['desaturate'], 'accessibility-assistant')); ?>" >779 <input type="text" placeholder="<?php _e('Desaturate', 'accessibility-assistant'); ?>" id="desaturate" name="desaturate" value="<?php echo esc_attr(__($content['data']['language_translations_data']['desaturate'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 780 780 </div> 781 781 <div class="ada-cc-controller-input-main"> 782 782 <label><?php _e('Invert Colors', 'accessibility-assistant'); ?></label> 783 <input type="text" placeholder="<?php _e('Invert Colors', 'accessibility-assistant'); ?>" id="invert_colors" name="invert_colors" value="<?php echo esc_attr(__($content['data']['language_translations_data']['invert_colors'], 'accessibility-assistant')); ?>" >783 <input type="text" placeholder="<?php _e('Invert Colors', 'accessibility-assistant'); ?>" id="invert_colors" name="invert_colors" value="<?php echo esc_attr(__($content['data']['language_translations_data']['invert_colors'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 784 784 </div> 785 785 <div class="ada-cc-controller-input-main"> 786 786 <label><?php _e('Contrast', 'accessibility-assistant'); ?></label> 787 <input type="text" placeholder="<?php _e('Contrast', 'accessibility-assistant'); ?>" id="dark_contrast" name="contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['contrast'], 'accessibility-assistant')); ?>" >787 <input type="text" placeholder="<?php _e('Contrast', 'accessibility-assistant'); ?>" id="dark_contrast" name="contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['contrast'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 788 788 </div> 789 789 <div class="ada-cc-controller-input-main"> 790 790 <label><?php _e('Dark Contrast', 'accessibility-assistant'); ?></label> 791 <input type="text" placeholder="<?php _e('Dark Contrast', 'accessibility-assistant'); ?>" id="dark_contrast" name="dark_contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['dark_contrast'], 'accessibility-assistant')); ?>" >791 <input type="text" placeholder="<?php _e('Dark Contrast', 'accessibility-assistant'); ?>" id="dark_contrast" name="dark_contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['dark_contrast'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 792 792 </div> 793 793 <div class="ada-cc-controller-input-main"> 794 794 <label><?php _e('Light Contrast', 'accessibility-assistant'); ?></label> 795 <input type="text" placeholder="<?php _e('Light Contrast', 'accessibility-assistant'); ?>" id="light_contrast" name="light_contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['light_contrast'], 'accessibility-assistant')); ?>" >795 <input type="text" placeholder="<?php _e('Light Contrast', 'accessibility-assistant'); ?>" id="light_contrast" name="light_contrast" value="<?php echo esc_attr(__($content['data']['language_translations_data']['light_contrast'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 796 796 </div> 797 797 <div class="ada-cc-controller-input-main"> 798 798 <label><?php _e('Bigger Text', 'accessibility-assistant'); ?></label> 799 <input type="text" placeholder="<?php _e('Bigger Text', 'accessibility-assistant'); ?>" id="bigger_text" name="bigger_text" value="<?php echo esc_attr(__($content['data']['language_translations_data']['bigger_text'], 'accessibility-assistant')); ?>" >799 <input type="text" placeholder="<?php _e('Bigger Text', 'accessibility-assistant'); ?>" id="bigger_text" name="bigger_text" value="<?php echo esc_attr(__($content['data']['language_translations_data']['bigger_text'], 'accessibility-assistant')); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 800 800 </div> 801 801 … … 810 810 <div class="ada-cc-controller-input-main"> 811 811 <label><?php esc_html_e('Highlight Links', 'accessibility-assistant'); ?></label> 812 <input type="text" id="highlight_links" name="highlight_links" placeholder="<?php esc_attr_e('Highlight Links', 'accessibility-assistant'); ?>" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_links']); ?>" >812 <input type="text" id="highlight_links" name="highlight_links" placeholder="<?php esc_attr_e('Highlight Links', 'accessibility-assistant'); ?>" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_links']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 813 813 </div> 814 814 <div class="ada-cc-controller-input-main"> 815 815 <label><?php esc_html_e('Word Spacing', 'accessibility-assistant'); ?></label> 816 <input type="text" placeholder="<?php esc_attr_e('Word Spacing', 'accessibility-assistant'); ?>" id="word_spacing" name="word_spacing" value="<?php echo esc_attr($content['data']['language_translations_data']['word_spacing']); ?>" >816 <input type="text" placeholder="<?php esc_attr_e('Word Spacing', 'accessibility-assistant'); ?>" id="word_spacing" name="word_spacing" value="<?php echo esc_attr($content['data']['language_translations_data']['word_spacing']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 817 817 </div> 818 818 <div class="ada-cc-controller-input-main"> 819 819 <label><?php esc_html_e('Letter Spacing', 'accessibility-assistant'); ?></label> 820 <input type="text" placeholder="<?php esc_attr_e('Letter Spacing', 'accessibility-assistant'); ?>" id="letter_spacing" name="letter_spacing" value="<?php echo esc_attr($content['data']['language_translations_data']['letter_spacing']); ?>" >820 <input type="text" placeholder="<?php esc_attr_e('Letter Spacing', 'accessibility-assistant'); ?>" id="letter_spacing" name="letter_spacing" value="<?php echo esc_attr($content['data']['language_translations_data']['letter_spacing']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 821 821 </div> 822 822 <div class="ada-cc-controller-input-main"> 823 823 <label><?php esc_html_e('Line Height', 'accessibility-assistant'); ?></label> 824 <input type="text" placeholder="<?php esc_attr_e('Line Height', 'accessibility-assistant'); ?>" id="line_height" name="line_height" value="<?php echo esc_attr($content['data']['language_translations_data']['line_height']); ?>" >824 <input type="text" placeholder="<?php esc_attr_e('Line Height', 'accessibility-assistant'); ?>" id="line_height" name="line_height" value="<?php echo esc_attr($content['data']['language_translations_data']['line_height']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 825 825 </div> 826 826 <div class="ada-cc-controller-input-main"> 827 827 <label><?php esc_html_e('Alignment', 'accessibility-assistant'); ?></label> 828 <input type="text" placeholder="<?php esc_attr_e('Alignment', 'accessibility-assistant'); ?>" id="alignment" name="alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['alignment']); ?>" >828 <input type="text" placeholder="<?php esc_attr_e('Alignment', 'accessibility-assistant'); ?>" id="alignment" name="alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['alignment']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 829 829 </div> 830 830 <div class="ada-cc-controller-input-main"> 831 831 <label><?php esc_html_e('Left Alignment', 'accessibility-assistant'); ?></label> 832 <input type="text" placeholder="<?php esc_attr_e('Left Alignment', 'accessibility-assistant'); ?>" id="left_alignment" name="left_alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['left_alignment']); ?>" >832 <input type="text" placeholder="<?php esc_attr_e('Left Alignment', 'accessibility-assistant'); ?>" id="left_alignment" name="left_alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['left_alignment']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 833 833 </div> 834 834 <div class="ada-cc-controller-input-main"> 835 835 <label><?php esc_html_e('Right Alignment', 'accessibility-assistant'); ?></label> 836 <input type="text" placeholder="<?php esc_attr_e('Right Alignment', 'accessibility-assistant'); ?>" id="right_alignment" name="right_alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['right_alignment']); ?>" >836 <input type="text" placeholder="<?php esc_attr_e('Right Alignment', 'accessibility-assistant'); ?>" id="right_alignment" name="right_alignment" value="<?php echo esc_attr($content['data']['language_translations_data']['right_alignment']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 837 837 </div> 838 838 <div class="ada-cc-controller-input-main"> 839 839 <label><?php esc_html_e('Center', 'accessibility-assistant'); ?></label> 840 <input type="text" placeholder="<?php esc_attr_e('Center', 'accessibility-assistant'); ?>" id="center" name="center" value="<?php echo esc_attr($content['data']['language_translations_data']['center']); ?>" >840 <input type="text" placeholder="<?php esc_attr_e('Center', 'accessibility-assistant'); ?>" id="center" name="center" value="<?php echo esc_attr($content['data']['language_translations_data']['center']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 841 841 </div> 842 842 <div class="ada-cc-controller-input-main"> 843 843 <label><?php esc_html_e('Readable Fonts', 'accessibility-assistant'); ?></label> 844 <input type="text" placeholder="<?php esc_attr_e('Readable Fonts', 'accessibility-assistant'); ?>" id="readable_fonts" name="readable_fonts" value="<?php echo esc_attr($content['data']['language_translations_data']['readable_fonts']); ?>" >844 <input type="text" placeholder="<?php esc_attr_e('Readable Fonts', 'accessibility-assistant'); ?>" id="readable_fonts" name="readable_fonts" value="<?php echo esc_attr($content['data']['language_translations_data']['readable_fonts']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 845 845 </div> 846 846 <div class="ada-cc-controller-input-main"> 847 847 <label><?php esc_html_e('Reading Mask', 'accessibility-assistant'); ?></label> 848 <input type="text" placeholder="<?php esc_attr_e('Reading Mask', 'accessibility-assistant'); ?>" id="reading_mask" name="reading_mask" value="<?php echo esc_attr($content['data']['language_translations_data']['reading_mask']); ?>" >848 <input type="text" placeholder="<?php esc_attr_e('Reading Mask', 'accessibility-assistant'); ?>" id="reading_mask" name="reading_mask" value="<?php echo esc_attr($content['data']['language_translations_data']['reading_mask']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 849 849 </div> 850 850 <div class="ada-cc-controller-input-main"> 851 851 <label><?php esc_html_e('Highlight Titles', 'accessibility-assistant'); ?></label> 852 <input type="text" placeholder="<?php esc_attr_e('Highlight Titles', 'accessibility-assistant'); ?>" id="highlight_titles" name="highlight_titles" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_titles']); ?>" >852 <input type="text" placeholder="<?php esc_attr_e('Highlight Titles', 'accessibility-assistant'); ?>" id="highlight_titles" name="highlight_titles" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_titles']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 853 853 </div> 854 854 <div class="ada-cc-controller-input-main"> 855 855 <label><?php esc_html_e('Text Enhancer', 'accessibility-assistant'); ?></label> 856 <input type="text" placeholder="<?php esc_attr_e('Text Enhancer', 'accessibility-assistant'); ?>" id="text_magnifier" name="text_magnifier" value="<?php echo esc_attr($content['data']['language_translations_data']['text_magnifier']); ?>" >856 <input type="text" placeholder="<?php esc_attr_e('Text Enhancer', 'accessibility-assistant'); ?>" id="text_magnifier" name="text_magnifier" value="<?php echo esc_attr($content['data']['language_translations_data']['text_magnifier']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 857 857 </div> 858 858 <div class="ada-cc-controller-input-main"> 859 859 <label><?php esc_html_e('Image Alt Tooltip', 'accessibility-assistant'); ?></label> 860 <input type="text" placeholder="<?php esc_attr_e('Image Alt Tooltip', 'accessibility-assistant'); ?>" id="image_alt_tooltip" name="image_alt_tooltip" value="<?php echo esc_attr($content['data']['language_translations_data']['image_alt_tooltip']); ?>" >860 <input type="text" placeholder="<?php esc_attr_e('Image Alt Tooltip', 'accessibility-assistant'); ?>" id="image_alt_tooltip" name="image_alt_tooltip" value="<?php echo esc_attr($content['data']['language_translations_data']['image_alt_tooltip']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 861 861 </div> 862 862 <div class="ada-cc-controller-input-main"> 863 863 <label><?php esc_html_e('Adjust Text Colors', 'accessibility-assistant'); ?></label> 864 <input type="text" placeholder="<?php esc_attr_e('Text Colors', 'accessibility-assistant'); ?>" id="text_colors" name="text_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['text_colors']); ?>" >864 <input type="text" placeholder="<?php esc_attr_e('Text Colors', 'accessibility-assistant'); ?>" id="text_colors" name="text_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['text_colors']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 865 865 </div> 866 866 867 867 <div class="ada-cc-controller-input-main"> 868 868 <label><?php esc_html_e('Adjust Title Colors', 'accessibility-assistant'); ?></label> 869 <input type="text" placeholder="<?php esc_attr_e('Title Colors', 'accessibility-assistant'); ?>" id="title_colors" name="title_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['title_colors']); ?>" >869 <input type="text" placeholder="<?php esc_attr_e('Title Colors', 'accessibility-assistant'); ?>" id="title_colors" name="title_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['title_colors']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 870 870 </div> 871 871 872 872 <div class="ada-cc-controller-input-main"> 873 873 <label><?php esc_html_e('Adjust Background Colors', 'accessibility-assistant'); ?></label> 874 <input type="text" placeholder="<?php esc_attr_e('Background Colors', 'accessibility-assistant'); ?>" id="background_colors" name="background_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['background_colors']); ?>" >874 <input type="text" placeholder="<?php esc_attr_e('Background Colors', 'accessibility-assistant'); ?>" id="background_colors" name="background_colors" value="<?php echo esc_attr($content['data']['language_translations_data']['background_colors']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 875 875 </div> 876 876 … … 885 885 <div class="ada-cc-controller-input-main"> 886 886 <label><?php esc_html_e('Mute Sounds', 'accessibility-assistant'); ?></label> 887 <input type="text" placeholder="<?php esc_attr_e('Mute Sounds', 'accessibility-assistant'); ?>" id="mute_sounds" name="mute_sounds" value="<?php echo esc_attr($content['data']['language_translations_data']['mute_sounds']); ?>" >887 <input type="text" placeholder="<?php esc_attr_e('Mute Sounds', 'accessibility-assistant'); ?>" id="mute_sounds" name="mute_sounds" value="<?php echo esc_attr($content['data']['language_translations_data']['mute_sounds']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 888 888 </div> 889 889 890 890 <div class="ada-cc-controller-input-main"> 891 891 <label><?php esc_html_e('Content Scaling', 'accessibility-assistant'); ?></label> 892 <input type="text" placeholder="<?php esc_attr_e('Content Scaling', 'accessibility-assistant'); ?>" id="content_scaling" name="content_scaling" value="<?php echo esc_attr($content['data']['language_translations_data']['content_scaling']); ?>" >892 <input type="text" placeholder="<?php esc_attr_e('Content Scaling', 'accessibility-assistant'); ?>" id="content_scaling" name="content_scaling" value="<?php echo esc_attr($content['data']['language_translations_data']['content_scaling']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 893 893 </div> 894 894 895 895 <div class="ada-cc-controller-input-main"> 896 896 <label><?php esc_html_e('GIF Hide', 'accessibility-assistant'); ?></label> 897 <input type="text" placeholder="<?php esc_attr_e('GIF Hide', 'accessibility-assistant'); ?>" id="gif_hide" name="gif_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['gif_hide']); ?>" >897 <input type="text" placeholder="<?php esc_attr_e('GIF Hide', 'accessibility-assistant'); ?>" id="gif_hide" name="gif_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['gif_hide']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 898 898 </div> 899 899 900 900 <div class="ada-cc-controller-input-main"> 901 901 <label><?php esc_html_e('Read Mode', 'accessibility-assistant'); ?></label> 902 <input type="text" placeholder="<?php esc_attr_e('Read Mode', 'accessibility-assistant'); ?>" id="read_mode" name="read_mode" value="<?php echo esc_attr($content['data']['language_translations_data']['read_mode']); ?>" >902 <input type="text" placeholder="<?php esc_attr_e('Read Mode', 'accessibility-assistant'); ?>" id="read_mode" name="read_mode" value="<?php echo esc_attr($content['data']['language_translations_data']['read_mode']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 903 903 </div> 904 904 905 905 <div class="ada-cc-controller-input-main"> 906 906 <label><?php esc_html_e('Useful Links', 'accessibility-assistant'); ?></label> 907 <input type="text" placeholder="<?php esc_attr_e('Useful Links', 'accessibility-assistant'); ?>" id="useful_links" name="useful_links" value="<?php echo esc_attr($content['data']['language_translations_data']['useful_links']); ?>" >907 <input type="text" placeholder="<?php esc_attr_e('Useful Links', 'accessibility-assistant'); ?>" id="useful_links" name="useful_links" value="<?php echo esc_attr($content['data']['language_translations_data']['useful_links']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 908 908 </div> 909 909 910 910 <div class="ada-cc-controller-input-main"> 911 911 <label><?php esc_html_e('Highlight Hover', 'accessibility-assistant'); ?></label> 912 <input type="text" placeholder="<?php esc_attr_e('Highlight Hover', 'accessibility-assistant'); ?>" id="highlight_hover" name="highlight_hover" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_hover']); ?>" >912 <input type="text" placeholder="<?php esc_attr_e('Highlight Hover', 'accessibility-assistant'); ?>" id="highlight_hover" name="highlight_hover" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_hover']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 913 913 </div> 914 914 915 915 <div class="ada-cc-controller-input-main"> 916 916 <label><?php esc_html_e('Highlight Focus', 'accessibility-assistant'); ?></label> 917 <input type="text" placeholder="<?php esc_attr_e('Highlight Focus', 'accessibility-assistant'); ?>" id="highlight_focus" name="highlight_focus" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_focus']); ?>" >917 <input type="text" placeholder="<?php esc_attr_e('Highlight Focus', 'accessibility-assistant'); ?>" id="highlight_focus" name="highlight_focus" value="<?php echo esc_attr($content['data']['language_translations_data']['highlight_focus']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 918 918 </div> 919 919 920 920 <div class="ada-cc-controller-input-main"> 921 921 <label><?php esc_html_e('Big Black Cursor', 'accessibility-assistant'); ?></label> 922 <input type="text" placeholder="<?php esc_attr_e('Bigblack Cursor', 'accessibility-assistant'); ?>" id="bigblack_cursor" name="bigblack_cursor" value="<?php echo esc_attr($content['data']['language_translations_data']['bigblack_cursor']); ?>" >922 <input type="text" placeholder="<?php esc_attr_e('Bigblack Cursor', 'accessibility-assistant'); ?>" id="bigblack_cursor" name="bigblack_cursor" value="<?php echo esc_attr($content['data']['language_translations_data']['bigblack_cursor']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 923 923 </div> 924 924 925 925 <div class="ada-cc-controller-input-main"> 926 926 <label><?php esc_html_e('Profile Settings', 'accessibility-assistant'); ?></label> 927 <input type="text" placeholder="<?php esc_attr_e('Profile Settings', 'accessibility-assistant'); ?>" id="profile_settings" name="profile_settings" value="<?php echo esc_attr($content['data']['language_translations_data']['profile_settings']); ?>" >927 <input type="text" placeholder="<?php esc_attr_e('Profile Settings', 'accessibility-assistant'); ?>" id="profile_settings" name="profile_settings" value="<?php echo esc_attr($content['data']['language_translations_data']['profile_settings']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 928 928 </div> 929 929 930 930 <div class="ada-cc-controller-input-main"> 931 931 <label><?php esc_html_e('Blind', 'accessibility-assistant'); ?></label> 932 <input type="text" placeholder="<?php esc_attr_e('Blind', 'accessibility-assistant'); ?>" id="blind_profile" name="blind_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['blind_profile']); ?>" >932 <input type="text" placeholder="<?php esc_attr_e('Blind', 'accessibility-assistant'); ?>" id="blind_profile" name="blind_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['blind_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 933 933 </div> 934 934 935 935 <div class="ada-cc-controller-input-main"> 936 936 <label><?php esc_html_e('Elderly', 'accessibility-assistant'); ?></label> 937 <input type="text" placeholder="<?php esc_attr_e('Elderly', 'accessibility-assistant'); ?>" id="elderly_profile" name="elderly_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['elderly_profile']); ?>" >937 <input type="text" placeholder="<?php esc_attr_e('Elderly', 'accessibility-assistant'); ?>" id="elderly_profile" name="elderly_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['elderly_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 938 938 </div> 939 939 940 940 <div class="ada-cc-controller-input-main"> 941 941 <label><?php esc_html_e('Motor Impaired', 'accessibility-assistant'); ?></label> 942 <input type="text" placeholder="<?php esc_attr_e('Motor Impaired', 'accessibility-assistant'); ?>" id="motor_impaired_profile" name="motor_impaired_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['motor_impaired_profile']); ?>" >942 <input type="text" placeholder="<?php esc_attr_e('Motor Impaired', 'accessibility-assistant'); ?>" id="motor_impaired_profile" name="motor_impaired_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['motor_impaired_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 943 943 </div> 944 944 945 945 <div class="ada-cc-controller-input-main"> 946 946 <label><?php esc_html_e('Visually Impaired', 'accessibility-assistant'); ?></label> 947 <input type="text" placeholder="<?php esc_attr_e('Visually Impaired', 'accessibility-assistant'); ?>" id="visually_impaired_profile" name="visually_impaired_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['visually_impaired_profile']); ?>" >947 <input type="text" placeholder="<?php esc_attr_e('Visually Impaired', 'accessibility-assistant'); ?>" id="visually_impaired_profile" name="visually_impaired_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['visually_impaired_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 948 948 </div> 949 949 950 950 <div class="ada-cc-controller-input-main"> 951 951 <label><?php esc_html_e('Color Blind', 'accessibility-assistant'); ?></label> 952 <input type="text" placeholder="<?php esc_attr_e('Color Blind', 'accessibility-assistant'); ?>" id="color_blind_profile" name="color_blind_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['color_blind_profile']); ?>" >952 <input type="text" placeholder="<?php esc_attr_e('Color Blind', 'accessibility-assistant'); ?>" id="color_blind_profile" name="color_blind_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['color_blind_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 953 953 </div> 954 954 955 955 <div class="ada-cc-controller-input-main"> 956 956 <label><?php esc_html_e('Dyslexia', 'accessibility-assistant'); ?></label> 957 <input type="text" placeholder="<?php esc_attr_e('Dyslexia', 'accessibility-assistant'); ?>" id="dyslexia_profile" name="dyslexia_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['dyslexia_profile']); ?>" >957 <input type="text" placeholder="<?php esc_attr_e('Dyslexia', 'accessibility-assistant'); ?>" id="dyslexia_profile" name="dyslexia_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['dyslexia_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 958 958 </div> 959 959 960 960 <div class="ada-cc-controller-input-main"> 961 961 <label><?php esc_html_e('Cognitive and Learning', 'accessibility-assistant'); ?></label> 962 <input type="text" placeholder="<?php esc_attr_e('Cognitive and Learning', 'accessibility-assistant'); ?>" id="cognitive_and_learning_profile" name="cognitive_and_learning_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['cognitive_and_learning_profile']); ?>" >962 <input type="text" placeholder="<?php esc_attr_e('Cognitive and Learning', 'accessibility-assistant'); ?>" id="cognitive_and_learning_profile" name="cognitive_and_learning_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['cognitive_and_learning_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 963 963 </div> 964 964 965 965 <div class="ada-cc-controller-input-main"> 966 966 <label><?php esc_html_e('Seizure Safe', 'accessibility-assistant'); ?></label> 967 <input type="text" placeholder="<?php esc_attr_e('Seizure Safe', 'accessibility-assistant'); ?>" id="seizure_safe_profile" name="seizure_safe_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['seizure_safe_profile']); ?>" >967 <input type="text" placeholder="<?php esc_attr_e('Seizure Safe', 'accessibility-assistant'); ?>" id="seizure_safe_profile" name="seizure_safe_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['seizure_safe_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 968 968 </div> 969 969 970 970 <div class="ada-cc-controller-input-main"> 971 971 <label><?php esc_html_e('ADHD', 'accessibility-assistant'); ?></label> 972 <input type="text" placeholder="<?php esc_attr_e('ADHD', 'accessibility-assistant'); ?>" id="ADHD_profile" name="ADHD_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['ADHD_profile']); ?>" >972 <input type="text" placeholder="<?php esc_attr_e('ADHD', 'accessibility-assistant'); ?>" id="ADHD_profile" name="ADHD_profile" value="<?php echo esc_attr($content['data']['language_translations_data']['ADHD_profile']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 973 973 </div> 974 974 975 975 <div class="ada-cc-controller-input-main"> 976 976 <label><?php esc_html_e('Voice Navigation', 'accessibility-assistant'); ?></label> 977 <input type="text" placeholder="<?php esc_attr_e('Voice Navigation', 'accessibility-assistant'); ?>" id="voicecommands" name="voicecommands" value="<?php echo esc_attr($content['data']['language_translations_data']['voicecommands']); ?>" >977 <input type="text" placeholder="<?php esc_attr_e('Voice Navigation', 'accessibility-assistant'); ?>" id="voicecommands" name="voicecommands" value="<?php echo esc_attr($content['data']['language_translations_data']['voicecommands']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 978 978 </div> 979 979 980 980 <div class="ada-cc-controller-input-main"> 981 981 <label><?php esc_html_e('Talk & Type', 'accessibility-assistant'); ?></label> 982 <input type="text" placeholder="<?php esc_attr_e('Talk And Type', 'accessibility-assistant'); ?>" id="talk_and_type" name="talk_and_type" value="<?php echo esc_attr($content['data']['language_translations_data']['talk_and_type']); ?>" >982 <input type="text" placeholder="<?php esc_attr_e('Talk And Type', 'accessibility-assistant'); ?>" id="talk_and_type" name="talk_and_type" value="<?php echo esc_attr($content['data']['language_translations_data']['talk_and_type']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 983 983 </div> 984 984 985 985 <div class="ada-cc-controller-input-main"> 986 986 <label><?php esc_html_e('Color Blind Options', 'accessibility-assistant'); ?></label> 987 <input type="text" placeholder="<?php esc_attr_e('Color Blind', 'accessibility-assistant'); ?>" id="color_blind" name="color_blind" value="<?php echo esc_attr($content['data']['language_translations_data']['color_blind']); ?>" >987 <input type="text" placeholder="<?php esc_attr_e('Color Blind', 'accessibility-assistant'); ?>" id="color_blind" name="color_blind" value="<?php echo esc_attr($content['data']['language_translations_data']['color_blind']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 988 988 </div> 989 989 990 990 <div class="ada-cc-controller-input-main"> 991 991 <label><?php esc_html_e('Virtual Keyboard', 'accessibility-assistant'); ?></label> 992 <input type="text" placeholder="<?php esc_attr_e('Virtual Keyboard', 'accessibility-assistant'); ?>" id="virtual_keyboard" name="virtual_keyboard" value="<?php echo esc_attr($content['data']['language_translations_data']['virtual_keyboard']); ?>" >992 <input type="text" placeholder="<?php esc_attr_e('Virtual Keyboard', 'accessibility-assistant'); ?>" id="virtual_keyboard" name="virtual_keyboard" value="<?php echo esc_attr($content['data']['language_translations_data']['virtual_keyboard']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 993 993 </div> 994 994 995 995 <div class="ada-cc-controller-input-main"> 996 996 <label><?php esc_html_e('Filter Content', 'accessibility-assistant'); ?></label> 997 <input type="text" placeholder="<?php esc_attr_e('Filter Content', 'accessibility-assistant'); ?>" id="filter_content" name="filter_content" value="<?php echo esc_attr($content['data']['language_translations_data']['filter_content']); ?>" >997 <input type="text" placeholder="<?php esc_attr_e('Filter Content', 'accessibility-assistant'); ?>" id="filter_content" name="filter_content" value="<?php echo esc_attr($content['data']['language_translations_data']['filter_content']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 998 998 </div> 999 999 </div> … … 1007 1007 <div class="ada-cc-controller-input-main"> 1008 1008 <label><?php esc_html_e('Image Hide', 'accessibility-assistant'); ?></label> 1009 <input type="text" placeholder="<?php esc_attr_e('Image Hide', 'accessibility-assistant'); ?>" id="image_hide" name="image_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['image_hide']); ?>" >1009 <input type="text" placeholder="<?php esc_attr_e('Image Hide', 'accessibility-assistant'); ?>" id="image_hide" name="image_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['image_hide']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1010 1010 </div> 1011 1011 <div class="ada-cc-controller-input-main"> 1012 1012 <label><?php esc_html_e('Video Hide', 'accessibility-assistant'); ?></label> 1013 <input type="text" placeholder="<?php esc_attr_e('Video Hide', 'accessibility-assistant'); ?>" id="video_hide" name="video_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['video_hide']); ?>" >1013 <input type="text" placeholder="<?php esc_attr_e('Video Hide', 'accessibility-assistant'); ?>" id="video_hide" name="video_hide" value="<?php echo esc_attr($content['data']['language_translations_data']['video_hide']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1014 1014 </div> 1015 1015 <div class="ada-cc-controller-input-main"> 1016 1016 <label><?php esc_html_e('Stop Animation', 'accessibility-assistant'); ?></label> 1017 <input type="text" placeholder="<?php esc_attr_e('Stop Animation', 'accessibility-assistant'); ?>" id="stop_animation" name="stop_animation" value="<?php echo esc_attr($content['data']['language_translations_data']['stop_animation']); ?>" >1017 <input type="text" placeholder="<?php esc_attr_e('Stop Animation', 'accessibility-assistant'); ?>" id="stop_animation" name="stop_animation" value="<?php echo esc_attr($content['data']['language_translations_data']['stop_animation']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1018 1018 </div> 1019 1019 </div> … … 1027 1027 <div class="ada-cc-controller-input-main"> 1028 1028 <label><?php esc_html_e('Text Speech', 'accessibility-assistant'); ?></label> 1029 <input type="text" placeholder="<?php esc_attr_e('Text Speech', 'accessibility-assistant'); ?>" id="text_speech" name="text_speech" value="<?php echo esc_attr($content['data']['language_translations_data']['text_speech']); ?>" >1029 <input type="text" placeholder="<?php esc_attr_e('Text Speech', 'accessibility-assistant'); ?>" id="text_speech" name="text_speech" value="<?php echo esc_attr($content['data']['language_translations_data']['text_speech']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1030 1030 </div> 1031 1031 </div> … … 1039 1039 <div class="ada-cc-controller-input-main"> 1040 1040 <label><?php esc_html_e('Accessibility Assistant', 'accessibility-assistant'); ?></label> 1041 <input type="text" placeholder="<?php esc_attr_e('Accessibility Assistant', 'accessibility-assistant'); ?>" id="accessibility_assistant" name="accessibility_assistant" value="<?php echo esc_attr($content['data']['language_translations_data']['accessibility_assistant']); ?>" >1041 <input type="text" placeholder="<?php esc_attr_e('Accessibility Assistant', 'accessibility-assistant'); ?>" id="accessibility_assistant" name="accessibility_assistant" value="<?php echo esc_attr($content['data']['language_translations_data']['accessibility_assistant']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1042 1042 </div> 1043 1043 <div class="ada-cc-controller-input-main"> 1044 1044 <label><?php esc_html_e('Reset all', 'accessibility-assistant'); ?></label> 1045 <input type="text" placeholder="<?php esc_attr_e('Reset all', 'accessibility-assistant'); ?>" id="reset_all" name="reset_all" value="<?php echo esc_attr($content['data']['language_translations_data']['reset_all']); ?>" >1045 <input type="text" placeholder="<?php esc_attr_e('Reset all', 'accessibility-assistant'); ?>" id="reset_all" name="reset_all" value="<?php echo esc_attr($content['data']['language_translations_data']['reset_all']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1046 1046 </div> 1047 1047 <div class="ada-cc-controller-input-main"> 1048 1048 <label><?php esc_html_e('Statement', 'accessibility-assistant'); ?></label> 1049 <input type="text" placeholder="<?php esc_attr_e('Statement', 'accessibility-assistant'); ?>" id="statement" name="statement" value="<?php echo esc_attr($content['data']['language_translations_data']['statement']); ?>" >1049 <input type="text" placeholder="<?php esc_attr_e('Statement', 'accessibility-assistant'); ?>" id="statement" name="statement" value="<?php echo esc_attr($content['data']['language_translations_data']['statement']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1050 1050 </div> 1051 1051 <div class="ada-cc-controller-input-main"> 1052 1052 <label><?php esc_html_e('Hide Interface', 'accessibility-assistant'); ?></label> 1053 <input type="text" placeholder="<?php esc_attr_e('Hide Interface', 'accessibility-assistant'); ?>" id="hide_interface" name="hide_interface" value="<?php echo esc_attr($content['data']['language_translations_data']['hide_interface']); ?>" >1053 <input type="text" placeholder="<?php esc_attr_e('Hide Interface', 'accessibility-assistant'); ?>" id="hide_interface" name="hide_interface" value="<?php echo esc_attr($content['data']['language_translations_data']['hide_interface']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1054 1054 </div> 1055 1055 <div class="ada-cc-controller-input-main"> 1056 1056 <label><?php esc_html_e('Cancel', 'accessibility-assistant'); ?></label> 1057 <input type="text" placeholder="<?php esc_attr_e('Cancel', 'accessibility-assistant'); ?>" id="cancel" name="cancel" value="<?php echo esc_attr($content['data']['language_translations_data']['cancel']); ?>" >1057 <input type="text" placeholder="<?php esc_attr_e('Cancel', 'accessibility-assistant'); ?>" id="cancel" name="cancel" value="<?php echo esc_attr($content['data']['language_translations_data']['cancel']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1058 1058 </div> 1059 1059 <div class="ada-cc-controller-input-main"> 1060 1060 <label><?php esc_html_e('Default', 'accessibility-assistant'); ?></label> 1061 <input type="text" placeholder="<?php esc_attr_e('Default', 'accessibility-assistant'); ?>" id="default" name="default" value="<?php echo esc_attr($content['data']['language_translations_data']['default']); ?>" >1061 <input type="text" placeholder="<?php esc_attr_e('Default', 'accessibility-assistant'); ?>" id="default" name="default" value="<?php echo esc_attr($content['data']['language_translations_data']['default']); ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?>> 1062 1062 </div> 1063 1063 </div> … … 1066 1066 1067 1067 <div class="ada-cc-edit-langauges-save-btn"> 1068 <button class="save-btn <?php echo ($current_plan == '') ? 'no-access-allowed' : ''; ?>" name="btnAdd" type="submit" ><?php _e('Save', 'accessibility-assistant'); ?></button>1068 <button class="save-btn <?php echo ($current_plan == '') ? 'no-access-allowed' : ''; ?>" name="btnAdd" type="submit" <?php echo ($current_plan == '') ? 'disabled' : ''; ?>><?php _e('Save', 'accessibility-assistant'); ?></button> 1069 1069 </div> 1070 1070 </div> -
accessibility-assistant/trunk/admin/menu-settings.php
r3373707 r3374432 9 9 $content = assistant_api_call('/getShopData', $data, 'get'); 10 10 11 12 $member_plan = $content['data']['plan_display_name'];13 11 $primary_id = $content['data']['id']; 14 12 if ($primary_id) { … … 19 17 update_option('accessibility_plan', $current_plan); 20 18 } 19 $member_plan = $content['data']['plan_display_name']; 21 20 ?> 22 21 … … 26 25 27 26 $access_by_admin = $content['data']['access_by_admin']; 28 //echo 'access_by_admin'.$access_by_admin;29 //$trial_day = $content['data']['trail_day'];30 27 $current_plan = $content['data']['plan']; 31 //echo 'current plan' . $current_plan;32 28 $is_installation_popup_shown = $content['data']['is_installation_popup_shown']; 33 29 $is_plan_select_popup_shown = $content['data']['is_plan_select_popup_shown']; 34 // $is_installation_popup_shown = 0;35 // $is_plan_select_popup_shown = 0;36 30 if ($is_installation_popup_shown == 0 && $is_plan_select_popup_shown == 0) { 37 38 31 require_once 'installation-popup.php'; 39 32 } 40 // if ($is_plan_select_popup_shown == 0 && $trial_day == '1' && !empty($current_plan) && $is_installation_popup_shown == 1) {41 33 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" && (strpos(strtolower($member_plan), 'develop') !== false)) { 42 //echo "callled";43 44 34 require_once 'thanyou-popup.php'; 45 35 } … … 475 465 <?php 476 466 477 478 479 480 467 if (empty($accessibility_url)) { 481 468 update_option('accessibility_url', sanitize_text_field($content['data']['url'])); 482 469 } 483 484 //if ($trial_day == 1 || $access_by_admin == '1') {485 470 if ($access_by_admin == '1') { 486 471 echo "<p class='free-trial-note'>You have admin access</p>"; 487 472 } 488 473 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 489 echo "<p class='free-trial-note'>You have member access</p>";490 }474 echo "<p class='free-trial-note'>You have member access</p>"; 475 } 491 476 if (empty($current_plan)) { 492 477 echo "<p class='no-plan-notice'>"; … … 676 661 <input type="checkbox" name="keybaord_nav_switch" id="keybaord_nav_switch" <?php if ($content['data']['shop_text']['keybaord_nav_switch'] == 1) { 677 662 echo "checked"; 678 } ?> <?php if ($current_plan == '' ) {663 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 679 664 echo 'disabled'; 680 665 } ?> /> … … 693 678 <input type="checkbox" name="highlight_link_switch" id="highlight_link_switch" <?php if ($content['data']['shop_text']['highlight_link_switch'] == 1) { 694 679 echo "checked"; 695 } ?> <?php if ($current_plan == '' ) {680 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 696 681 echo 'disabled'; 697 682 } ?> /> … … 712 697 <input type="checkbox" name="image_alt_tooltip_switch" id="image_alt_tooltip_switch" <?php if ($content['data']['shop_text']['image_alt_tooltip_switch'] == 1) { 713 698 echo "checked"; 714 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' ) {699 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 715 700 echo 'disabled'; 716 701 } ?> /> … … 725 710 726 711 <div class="feature-block-wrapper"> 727 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 712 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 713 echo 'no-access-allowed'; 714 } ?>"> 728 715 <div class="toggle-row"> 729 716 <input type="checkbox" name="alignment_switch" id="alignment_switch" <?php if ($content['data']['shop_text']['alignment_switch'] == 1) { 730 717 echo "checked"; 731 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {718 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 732 719 echo 'disabled'; 733 720 } ?> /> … … 743 730 <div class="feature-block-wrapper"> 744 731 745 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 732 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 733 echo 'no-access-allowed'; 734 } ?>"> 746 735 <div class="toggle-row"> 747 736 <input type="checkbox" name="adjust_background_colors_switch" id="adjust_background_colors_switch" <?php if ($content['data']['shop_text']['adjust_background_colors_switch'] == 1) { 748 737 echo "checked"; 749 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {738 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 750 739 echo 'disabled'; 751 740 } ?> /> … … 761 750 <div class="feature-block-wrapper"> 762 751 763 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 752 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 753 echo 'no-access-allowed'; 754 } ?>"> 764 755 <div class="toggle-row"> 765 756 <input type="checkbox" name="useful_links_switch" id="useful_links_switch" <?php if ($content['data']['shop_text']['useful_links_switch'] == 1) { 766 757 echo "checked"; 767 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {758 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 768 759 echo 'disabled'; 769 760 } ?> /> … … 778 769 779 770 <div class="feature-block-wrapper"> 780 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 771 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 772 echo 'no-access-allowed'; 773 } ?>"> 781 774 <div class="toggle-row"> 782 775 <input type="checkbox" name="voicecommands_switch" id="voicecommands_switch" <?php if ($content['data']['shop_text']['voicecommands_switch'] == 1) { 783 776 echo "checked"; 784 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {777 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 785 778 echo 'disabled'; 786 779 } ?> /> … … 796 789 797 790 <div class="feature-block-wrapper"> 798 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 791 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 792 echo 'no-access-allowed'; 793 } ?>"> 799 794 <div class="toggle-row"> 800 795 <input type="checkbox" name="virtual_keyboard_switch" id="virtual_keyboard_switch" <?php if ($content['data']['shop_text']['virtual_keyboard_switch'] == 1) { 801 796 echo "checked"; 802 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' ) {797 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 803 798 echo 'disabled'; 804 799 } ?> /> … … 814 809 815 810 <div class="feature-block-wrapper"> 816 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 811 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 812 echo 'no-access-allowed'; 813 } ?>"> 817 814 <div class="toggle-row"> 818 815 <input type="checkbox" name="filter_content_switch" id="filter_content_switch" <?php if ($content['data']['shop_text']['filter_content_switch'] == 1) { 819 816 echo "checked"; 820 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' ) {817 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 821 818 echo 'disabled'; 822 819 } ?> /> … … 840 837 <input type="checkbox" name="cursor_switch" id="cursor_switch" <?php if ($content['data']['shop_text']['cursor_switch'] == 1) { 841 838 echo "checked"; 842 } ?> <?php if ($current_plan == '' ) {839 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 843 840 echo 'disabled'; 844 841 } ?> /> … … 857 854 <input type="checkbox" name="readable_fonts_switch" id="readable_fonts_switch" <?php if ($content['data']['shop_text']['readable_fonts_switch'] == 1) { 858 855 echo "checked"; 859 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' ) {856 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 860 857 echo 'disabled'; 861 858 } ?> /> … … 875 872 <input type="checkbox" name="stop_animation_switch" id="stop_animation_switch" <?php if ($content['data']['shop_text']['stop_animation_switch'] == 1) { 876 873 echo "checked"; 877 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' ) {874 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 878 875 echo 'disabled'; 879 876 } ?> /> … … 888 885 889 886 <div class="feature-block-wrapper"> 890 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 887 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 888 echo 'no-access-allowed'; 889 } ?>"> 891 890 <div class="toggle-row"> 892 891 <input type="checkbox" name="image_hide_switch" id="image_hide_switch" <?php if ($content['data']['shop_text']['image_hide_switch'] == 1) { 893 892 echo "checked"; 894 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {893 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 895 894 echo 'disabled'; 896 895 } ?> /> … … 905 904 906 905 <div class="feature-block-wrapper"> 907 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 906 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 907 echo 'no-access-allowed'; 908 } ?>"> 908 909 <div class="toggle-row"> 909 910 <input type="checkbox" name="mute_sounds_switch" id="mute_sounds_switch" <?php if ($content['data']['shop_text']['mute_sounds_switch'] == 1) { 910 911 echo "checked"; 911 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {912 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 912 913 echo 'disabled'; 913 914 } ?> /> … … 923 924 924 925 <div class="feature-block-wrapper"> 925 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 926 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 927 echo 'no-access-allowed'; 928 } ?>"> 926 929 <div class="toggle-row"> 927 930 <input type="checkbox" name="highlight_hover_switch" id="highlight_hover_switch" <?php if ($content['data']['shop_text']['highlight_hover_switch'] == 1) { 928 931 echo "checked"; 929 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {932 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 930 933 echo 'disabled'; 931 934 } ?> /> … … 940 943 941 944 <div class="feature-block-wrapper"> 942 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 945 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 946 echo 'no-access-allowed'; 947 } ?>"> 943 948 <div class="toggle-row"> 944 949 <input type="checkbox" name="talk_and_type_switch" id="talk_and_type_switch" <?php if ($content['data']['shop_text']['talk_and_type_switch'] == 1) { 945 950 echo "checked"; 946 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {951 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 947 952 echo 'disabled'; 948 953 } ?> /> … … 957 962 958 963 <div class="feature-block-wrapper"> 959 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 964 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 965 echo 'no-access-allowed'; 966 } ?>"> 960 967 <div class="toggle-row"> 961 968 <input type="checkbox" name="disable_widget_sound_switch" id="disable_widget_sound_switch" <?php if ($content['data']['shop_text']['disable_widget_sound_switch'] == 1) { 962 969 echo "checked"; 963 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' ) {970 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 964 971 echo 'disabled'; 965 972 } ?> /> … … 979 986 <div class="ada-cc-features-inner ada-cc-feature-sections-inner-wrapper <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed' : ''; ?>"> 980 987 <div class="feature-block-wrapper"> 981 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 988 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == '' || $current_plan == 'free') { 989 echo 'no-access-allowed'; 990 } ?>"> 982 991 <div class="toggle-row"> 983 992 <input type="checkbox" name="desaturate_switch" id="desaturate_switch" <?php if ($content['data']['shop_text']['desaturate_switch'] == 1) { 984 993 echo "checked"; 985 } ?> <?php if ($current_plan == '' ) {994 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 986 995 echo 'disabled'; 987 996 } ?> /> … … 997 1006 998 1007 <div class="feature-block-wrapper"> 999 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1008 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1009 echo 'no-access-allowed'; 1010 } ?>"> 1000 1011 <div class="toggle-row"> 1001 1012 <input type="checkbox" name="reading_mask_switch" id="reading_mask_switch" <?php if ($content['data']['shop_text']['reading_mask_switch'] == 1) { 1002 1013 echo "checked"; 1003 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' ) {1014 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1004 1015 echo 'disabled'; 1005 1016 } ?> /> … … 1015 1026 1016 1027 <div class="feature-block-wrapper"> 1017 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1028 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1029 echo 'no-access-allowed'; 1030 } ?>"> 1018 1031 <div class="toggle-row"> 1019 1032 <input type="checkbox" name="word_spacing_switch" id="word_spacing_switch" <?php if ($content['data']['shop_text']['word_spacing_switch'] == 1) { 1020 1033 echo "checked"; 1021 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1034 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1022 1035 echo 'disabled'; 1023 1036 } ?> /> … … 1033 1046 1034 1047 <div class="feature-block-wrapper"> 1035 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1048 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1049 echo 'no-access-allowed'; 1050 } ?>"> 1036 1051 <div class="toggle-row"> 1037 1052 <input type="checkbox" name="text_speech_switch" id="text_speech_switch" <?php if ($content['data']['shop_text']['text_speech_switch'] == 1) { 1038 1053 echo "checked"; 1039 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1054 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1040 1055 echo 'disabled'; 1041 1056 } ?> /> … … 1050 1065 1051 1066 <div class="feature-block-wrapper"> 1052 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1067 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1068 echo 'no-access-allowed'; 1069 } ?>"> 1053 1070 <div class="toggle-row"> 1054 1071 <input type="checkbox" name="content_scaling_switch" id="content_scaling_switch" <?php if ($content['data']['shop_text']['content_scaling_switch'] == 1) { 1055 1072 echo "checked"; 1056 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1073 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1057 1074 echo 'disabled'; 1058 1075 } ?> /> … … 1068 1085 1069 1086 <div class="feature-block-wrapper"> 1070 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1087 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1088 echo 'no-access-allowed'; 1089 } ?>"> 1071 1090 <div class="toggle-row"> 1072 1091 <input type="checkbox" name="highlight_focus_switch" id="highlight_focus_switch" <?php if ($content['data']['shop_text']['highlight_focus_switch'] == 1) { 1073 1092 echo "checked"; 1074 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1093 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1075 1094 echo 'disabled'; 1076 1095 } ?> /> … … 1085 1104 1086 1105 <div class="feature-block-wrapper"> 1087 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1106 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1107 echo 'no-access-allowed'; 1108 } ?>"> 1088 1109 <div class="toggle-row"> 1089 1110 <input type="checkbox" name="color_blind_switch" id="color_blind_switch" <?php if ($content['data']['shop_text']['color_blind_switch'] == 1) { 1090 1111 echo "checked"; 1091 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1112 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1092 1113 echo 'disabled'; 1093 1114 } ?> /> … … 1103 1124 1104 1125 <div class="feature-block-wrapper"> 1105 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1126 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1127 echo 'no-access-allowed'; 1128 } ?>"> 1106 1129 <div class="toggle-row"> 1107 1130 <input type="checkbox" name="disable_report_problem_switch" id="disable_report_problem_switch" <?php if ($content['data']['shop_text']['disable_report_problem'] == 1) { 1108 1131 echo "checked"; 1109 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1132 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1110 1133 echo 'disabled'; 1111 1134 } ?> /> … … 1121 1144 1122 1145 <div class="feature-block-wrapper"> 1123 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1146 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1147 echo 'no-access-allowed'; 1148 } ?>"> 1124 1149 <div class="toggle-row"> 1125 1150 <input type="checkbox" name="hide_search_bar" id="hide_search_bar" <?php if ($content['data']['shop_text']['hide_search_bar'] == 1) { 1126 1151 echo "checked"; 1127 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1152 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1128 1153 echo 'disabled'; 1129 1154 } ?> /> … … 1139 1164 1140 1165 <div class="feature-block-wrapper"> 1141 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1166 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1167 echo 'no-access-allowed'; 1168 } ?>"> 1142 1169 <div class="toggle-row"> 1143 1170 <input type="checkbox" name="hide_statement" id="hide_statement" <?php if ($content['data']['shop_text']['hide_statement'] == 1) { 1144 1171 echo "checked"; 1145 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1172 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1146 1173 echo 'disabled'; 1147 1174 } ?> /> … … 1162 1189 <div class="ada-cc-features-inner ada-cc-feature-sections-inner-wrapper <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed' : ''; ?>"> 1163 1190 <div class="feature-block-wrapper"> 1164 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1191 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == '' || $current_plan == 'free') { 1192 echo 'no-access-allowed'; 1193 } ?>"> 1165 1194 <div class="toggle-row"> 1166 1195 <input type="checkbox" name="contrast_switch" id="contrast_switch" <?php if ($content['data']['shop_text']['contrast_switch'] == 1) { 1167 1196 echo "checked"; 1168 } ?> <?php if ($current_plan == '' ) {1197 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 1169 1198 echo 'disabled'; 1170 1199 } ?> /> … … 1184 1213 <input type="checkbox" name="bigger_text_switch" id="bigger_text_switch" <?php if ($content['data']['shop_text']['bigger_text_switch'] == 1) { 1185 1214 echo "checked"; 1186 } ?> <?php if ($current_plan == '' ) {1215 } ?> <?php if ($current_plan == '' || $current_plan == 'free') { 1187 1216 echo 'disabled'; 1188 1217 } ?> /> … … 1198 1227 1199 1228 <div class="feature-block-wrapper"> 1200 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1229 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <? if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1230 echo ' no-access-allowed'; 1231 } ?>"> 1201 1232 <div class="toggle-row"> 1202 1233 <input type="checkbox" name="highlight_titles_switch" id="highlight_titles_switch" <?php if ($content['data']['shop_text']['highlight_titles_switch'] == 1) { 1203 1234 echo 'checked'; 1204 1235 } 1205 if ($current_plan == 'basic' || $current_plan == '' ) {1236 if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1206 1237 echo ' disabled'; 1207 1238 } ?> /> … … 1218 1249 1219 1250 <div class="feature-block-wrapper"> 1220 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1251 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1252 echo 'no-access-allowed'; 1253 } ?>"> 1221 1254 <div class="toggle-row"> 1222 1255 <input type="checkbox" name="text_magnifier_switch" id="text_magnifier_switch" <?php if ($content['data']['shop_text']['text_magnifier_switch'] == 1) { 1223 1256 echo "checked"; 1224 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' ) {1257 } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') { 1225 1258 echo 'disabled'; 1226 1259 } ?> /> … … 1237 1270 1238 1271 <div class="feature-block-wrapper"> 1239 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1272 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1273 echo 'no-access-allowed'; 1274 } ?>"> 1240 1275 <div class="toggle-row"> 1241 1276 <input type="checkbox" name="letter_spacing_switch" id="letter_spacing_switch" <?php if ($content['data']['shop_text']['letter_spacing_switch'] == 1) { 1242 1277 echo "checked"; 1243 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1278 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1244 1279 echo 'disabled'; 1245 1280 } ?> /> … … 1255 1290 1256 1291 <div class="feature-block-wrapper"> 1257 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1292 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1293 echo 'no-access-allowed'; 1294 } ?>"> 1258 1295 <div class="toggle-row"> 1259 1296 <input type="checkbox" name="line_height_switch" id="line_height_switch" <?php if ($content['data']['shop_text']['line_height_switch'] == 1) { 1260 1297 echo "checked"; 1261 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1298 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1262 1299 echo 'disabled'; 1263 1300 } ?> /> … … 1273 1310 1274 1311 <div class="feature-block-wrapper"> 1275 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1312 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1313 echo 'no-access-allowed'; 1314 } ?>"> 1276 1315 <div class="toggle-row"> 1277 1316 <input type="checkbox" name="adjust_text_colors_switch" id="adjust_text_colors_switch" <?php if ($content['data']['shop_text']['adjust_text_colors_switch'] == 1) { 1278 1317 echo "checked"; 1279 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1318 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1280 1319 echo 'disabled'; 1281 1320 } ?> /> … … 1292 1331 1293 1332 <div class="feature-block-wrapper"> 1294 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1333 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1334 echo 'no-access-allowed'; 1335 } ?>"> 1295 1336 <div class="toggle-row"> 1296 1337 <input type="checkbox" name="adjust_title_colors_switch" id="adjust_title_colors_switch" <?php if ($content['data']['shop_text']['adjust_title_colors_switch'] == 1) { 1297 1338 echo "checked"; 1298 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1339 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1299 1340 echo 'disabled'; 1300 1341 } ?> /> … … 1310 1351 1311 1352 <div class="feature-block-wrapper"> 1312 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1353 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1354 echo 'no-access-allowed'; 1355 } ?>"> 1313 1356 <div class="toggle-row"> 1314 1357 <input type="checkbox" name="gif_hide_switch" id="gif_hide_switch" <?php if ($content['data']['shop_text']['gif_hide_switch'] == 1) { 1315 1358 echo "checked"; 1316 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1359 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1317 1360 echo 'disabled'; 1318 1361 } ?> /> … … 1328 1371 1329 1372 <div class="feature-block-wrapper"> 1330 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1373 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1374 echo 'no-access-allowed'; 1375 } ?>"> 1331 1376 <div class="toggle-row"> 1332 1377 <input type="checkbox" name="read_mode_switch" id="read_mode_switch" <?php if ($content['data']['shop_text']['read_mode_switch'] == 1) { 1333 1378 echo "checked"; 1334 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1379 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1335 1380 echo 'disabled'; 1336 1381 } ?> /> … … 1346 1391 1347 1392 <div class="feature-block-wrapper"> 1348 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1393 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1394 echo 'no-access-allowed'; 1395 } ?>"> 1349 1396 <div class="toggle-row"> 1350 1397 <input type="checkbox" name="bigblack_cursor_switch" id="bigblack_cursor_switch" <?php if ($content['data']['shop_text']['bigblack_cursor_switch'] == 1) { 1351 1398 echo "checked"; 1352 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1399 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1353 1400 echo 'disabled'; 1354 1401 } ?> /> … … 1364 1411 1365 1412 <div class="feature-block-wrapper"> 1366 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1413 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1414 echo 'no-access-allowed'; 1415 } ?>"> 1367 1416 <div class="toggle-row"> 1368 1417 <input type="checkbox" name="profile_settings_switch" id="profile_settings_switch" <?php if ($content['data']['shop_text']['profile_settings_switch'] == 1) { 1369 1418 echo "checked"; 1370 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' ) {1419 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') { 1371 1420 echo 'disabled'; 1372 1421 } ?> /> … … 1382 1431 1383 1432 <div class="feature-block-wrapper"> 1384 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1433 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 1434 echo 'no-access-allowed'; 1435 } ?>"> 1385 1436 <div class="toggle-row"> 1386 1437 <input type="checkbox" name="disable_branding_switch" id="disable_branding_switch" <?php if ($content['data']['shop_text']['disable_branding_switch'] == 1) { 1387 1438 echo "checked"; 1388 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' ) {1439 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 1389 1440 echo 'disabled'; 1390 1441 } ?> /> … … 1400 1451 1401 1452 <div class="feature-block-wrapper"> 1402 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common"> 1453 <div class="ada-cc-featuer-bordertop ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 1454 echo 'no-access-allowed'; 1455 } ?>"> 1403 1456 <div class="toggle-row"> 1404 1457 <input type="checkbox" name="language_variable_switch" id="language_variable_switch" <?php if ($content['data']['shop_text']['language_variable_switch'] == 1) { 1405 1458 echo "checked"; 1406 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' ) {1459 } ?> <?php if ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == '' || $current_plan == 'free') { 1407 1460 echo 'disabled'; 1408 1461 } ?> /> … … 1552 1605 <div class="ada-cc-setting-inner-div selected-panel-body"> 1553 1606 <div class="ada-cc-editor-buttons"> 1554 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common " style="margin-top: 20px;">1607 <div class="ada-cc-custom-checkbox ada-cc-custom-checkbox-common <?php if (in_array($current_plan, ['basic', 'pro', 'premium', 'free', ''])) echo 'no-access-allowed'; ?>" style="margin-top: 20px;"> 1555 1608 <input type="checkbox" 1556 1609 name="statement_on_off_switch" … … 1579 1632 </div> 1580 1633 1581 <div id="editor_wrapper" class="editor_wrapper <?php echo in_array($current_plan, ['basic', 'pro', 'premium', 'free' ]) ? 'no-access-allowed' : ''; ?>" style="<?php echo $link_enabled ? 'display:none;' : ''; ?>">1634 <div id="editor_wrapper" class="editor_wrapper <?php echo in_array($current_plan, ['basic', 'pro', 'premium', 'free', '']) ? 'no-access-allowed' : ''; ?>" style="<?php echo $link_enabled ? 'display:none;' : ''; ?>"> 1582 1635 <?php 1583 1636 wp_editor(!empty($statement) ? $statement : $default_statement, 'accessibility_statement', [ … … 1615 1668 </div> 1616 1669 <!-- save button --> 1617 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed' : ''; ?>" name="btnAdd" type="submit"><?php _e('Save', 'accessibility-assistant'); ?></button>1670 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed' : ''; ?>" <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'disabled' : ''; ?> name="btnAdd" type="submit"><?php _e('Save', 'accessibility-assistant'); ?></button> 1618 1671 </div> 1619 1672 </form> -
accessibility-assistant/trunk/admin/widget-settings.php
r3373707 r3374432 17 17 } 18 18 $member_plan = $content['data']['plan_display_name']; 19 19 20 ?> 20 21 … … 35 36 36 37 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" && (strpos(strtolower($member_plan), 'develop') !== false)) { 37 38 39 38 require_once 'thanyou-popup.php'; 40 39 } … … 133 132 ); 134 133 135 136 //die;137 // echo "<pre>";138 // print_r($send_data);139 // echo "</pre>";140 134 $returnsenddata = assistant_api_call('/updateShopData', $send_data, 'post'); 141 // echo '<h1>here</h1>';142 // echo "<pre>";143 // print_r($returnsenddata);144 // echo "</pre>";145 // echo 'here2';146 135 if ($returnsenddata['status'] == 200) { 147 136 … … 188 177 } 189 178 ?> 190 <?php //if(!empty($current_plan)){ 191 ?> 179 192 180 <div class="loader" style="display: none;"> 193 181 </div> … … 491 479 <div class="ada-cc-Widget-main"> 492 480 <div class="ada-cc-widget-three-div widget-settings"> 493 <div class="ada-cc-widget-first ada-cc-widget-common ">481 <div class="ada-cc-widget-first ada-cc-widget-common <?php if (empty($current_plan)) echo 'no-access-allowed'; ?>"> 494 482 <div class="ada-cc-custom-checkbox"> 495 483 <input type="checkbox" id="widget_enable" name="jsChecked" … … 507 495 </div> 508 496 509 <div class="ada-cc-widget-second ada-cc-widget-common ">497 <div class="ada-cc-widget-second ada-cc-widget-common <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') echo 'no-access-allowed'; ?>"> 510 498 <div class="ada-cc-custom-checkbox"> 511 499 <input type="checkbox" name="enable_link" id="enable_link" <?php if ($content['data']['button_link_status'] == 1) { … … 536 524 </div> 537 525 </div> 538 <div class="ada-cc-widget-three-div choose-design-sec <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'no-access-allowed ' : ''; ?>">526 <div class="ada-cc-widget-three-div choose-design-sec <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == '' || $current_plan == 'free') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 539 527 <div class="ada-cc-widget-first ada-cc-widget-common"> 540 528 <label class="ada-cc-choose-text" for="choose design"><?php esc_html_e('Choose Design', 'accessibility-assistant'); ?></label><br> … … 580 568 581 569 582 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed ' : ''; ?>">570 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 583 571 <!-- Floating Widget Position --> 584 572 <!-- position-div --> … … 652 640 </div> 653 641 654 <div class="ada-cc-position-third ada-cc-position-common ada-cc-position-last <?php echo ($current_plan == 'pro') ? 'no-access-allowed ' : ''; ?>">642 <div class="ada-cc-position-third ada-cc-position-common ada-cc-position-last <?php echo ($current_plan == 'pro') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 655 643 <label class="ada-cc-choose-text" for="widget size"><?php _e('Floating Widget Size', 'accessibility-assistant'); ?></label><br> 656 644 <div class="progress-container"> … … 678 666 </div> 679 667 <!-- Color Schema --> 680 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed ' : ''; ?>">668 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 681 669 <div class="ada-cc-colorschema-main"> 682 670 <div class="ada-cc-colorschema-three-div"> … … 725 713 </div> 726 714 <!-- Widget Icon --> 727 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed ' : ''; ?>">715 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'pro' || $current_plan == 'premium' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 728 716 <div class="ada-cc-widgeticon-main ada-cc-colorschema-main"> 729 717 … … 762 750 <p><?php _e('Floating Widget Icon Color', 'accessibility-assistant'); ?></p> 763 751 </div> 764 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed ' : ''; ?>">752 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'basic' || $current_plan == 'free' || $current_plan == '') ? 'no-access-allowed no-pointer-allowed' : ''; ?>"> 765 753 <div class="ada-cc-colorschema-main"> 766 754 <div class="ada-cc-colorschema-three-div"> … … 789 777 </div> 790 778 <!-- save button --> 791 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'basic' || $current_plan == '' ) ? 'no-access-allowed' : ''; ?>"id="btnAdd" name="btnAdd" type="submit"><?php _e('Save', 'accessibility-assistant'); ?></button>779 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') ? 'no-access-allowed' : ''; ?>" <?php echo ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') ? 'disabled' : ''; ?> id="btnAdd" name="btnAdd" type="submit"><?php _e('Save', 'accessibility-assistant'); ?></button> 792 780 793 781 </div>
Note: See TracChangeset
for help on using the changeset viewer.