Plugin Directory

Changeset 3374432


Ignore:
Timestamp:
10/07/2025 01:25:53 PM (5 months ago)
Author:
cartcoder
Message:

version 3.0.4

Location:
accessibility-assistant/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • accessibility-assistant/trunk/accessibility_assistant.php

    r3374312 r3374432  
    55    Description: ADA, EAA, AODA & WCAG Compliance Widget for Website Accessibility
    66    Author: CartCoder
    7     Version: 3.0.3
     7    Version: 3.0.4
    88    License: GPLv2 or later
    99    License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • accessibility-assistant/trunk/admin/edit-language.php

    r3374220 r3374432  
    746746            <div class="ada-cc-controller-input-main">
    747747              <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' : ''; ?>>
    749749            </div>
    750750             <div class="ada-cc-controller-input-main">
    751751              <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' : ''; ?>>
    753753            </div>
    754754            <div class="ada-cc-controller-input-main">
    755755              <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' : ''; ?>>
    757757            </div>
    758758            <div class="ada-cc-controller-input-main">
    759759              <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' : ''; ?>>
    761761            </div>
    762762          </div>
     
    769769            <div class="ada-cc-controller-input-main">
    770770              <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' : ''; ?>>
    772772            </div>
    773773            <div class="ada-cc-controller-input-main">
    774774              <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' : ''; ?>>
    776776            </div>
    777777            <div class="ada-cc-controller-input-main">
    778778              <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' : ''; ?>>
    780780            </div>
    781781            <div class="ada-cc-controller-input-main">
    782782              <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' : ''; ?>>
    784784            </div>
    785785            <div class="ada-cc-controller-input-main">
    786786              <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' : ''; ?>>
    788788            </div>
    789789            <div class="ada-cc-controller-input-main">
    790790              <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' : ''; ?>>
    792792            </div>
    793793            <div class="ada-cc-controller-input-main">
    794794              <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' : ''; ?>>
    796796            </div>
    797797            <div class="ada-cc-controller-input-main">
    798798              <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' : ''; ?>>
    800800            </div>
    801801
     
    810810            <div class="ada-cc-controller-input-main">
    811811              <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' : ''; ?>>
    813813            </div>
    814814            <div class="ada-cc-controller-input-main">
    815815              <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' : ''; ?>>
    817817            </div>
    818818            <div class="ada-cc-controller-input-main">
    819819              <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' : ''; ?>>
    821821            </div>
    822822            <div class="ada-cc-controller-input-main">
    823823              <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' : ''; ?>>
    825825            </div>
    826826            <div class="ada-cc-controller-input-main">
    827827              <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' : ''; ?>>
    829829            </div>
    830830            <div class="ada-cc-controller-input-main">
    831831              <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' : ''; ?>>
    833833            </div>
    834834            <div class="ada-cc-controller-input-main">
    835835              <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' : ''; ?>>
    837837            </div>
    838838            <div class="ada-cc-controller-input-main">
    839839              <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' : ''; ?>>
    841841            </div>
    842842            <div class="ada-cc-controller-input-main">
    843843              <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' : ''; ?>>
    845845            </div>
    846846            <div class="ada-cc-controller-input-main">
    847847              <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' : ''; ?>>
    849849            </div>
    850850            <div class="ada-cc-controller-input-main">
    851851              <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' : ''; ?>>
    853853            </div>
    854854            <div class="ada-cc-controller-input-main">
    855855              <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' : ''; ?>>
    857857            </div>
    858858            <div class="ada-cc-controller-input-main">
    859859              <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' : ''; ?>>
    861861            </div>
    862862            <div class="ada-cc-controller-input-main">
    863863              <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' : ''; ?>>
    865865            </div>
    866866
    867867            <div class="ada-cc-controller-input-main">
    868868              <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' : ''; ?>>
    870870            </div>
    871871
    872872            <div class="ada-cc-controller-input-main">
    873873              <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' : ''; ?>>
    875875            </div>
    876876
     
    885885            <div class="ada-cc-controller-input-main">
    886886              <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' : ''; ?>>
    888888            </div>
    889889
    890890            <div class="ada-cc-controller-input-main">
    891891              <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' : ''; ?>>
    893893            </div>
    894894
    895895            <div class="ada-cc-controller-input-main">
    896896              <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' : ''; ?>>
    898898            </div>
    899899
    900900            <div class="ada-cc-controller-input-main">
    901901              <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' : ''; ?>>
    903903            </div>
    904904
    905905            <div class="ada-cc-controller-input-main">
    906906              <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' : ''; ?>>
    908908            </div>
    909909
    910910            <div class="ada-cc-controller-input-main">
    911911              <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' : ''; ?>>
    913913            </div>
    914914
    915915            <div class="ada-cc-controller-input-main">
    916916              <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' : ''; ?>>
    918918            </div>
    919919
    920920            <div class="ada-cc-controller-input-main">
    921921              <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' : ''; ?>>
    923923            </div>
    924924
    925925            <div class="ada-cc-controller-input-main">
    926926              <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' : ''; ?>>
    928928            </div>
    929929
    930930            <div class="ada-cc-controller-input-main">
    931931              <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' : ''; ?>>
    933933            </div>
    934934
    935935            <div class="ada-cc-controller-input-main">
    936936              <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' : ''; ?>>
    938938            </div>
    939939
    940940            <div class="ada-cc-controller-input-main">
    941941              <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' : ''; ?>>
    943943            </div>
    944944
    945945            <div class="ada-cc-controller-input-main">
    946946              <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' : ''; ?>>
    948948            </div>
    949949
    950950            <div class="ada-cc-controller-input-main">
    951951              <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' : ''; ?>>
    953953            </div>
    954954
    955955            <div class="ada-cc-controller-input-main">
    956956              <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' : ''; ?>>
    958958            </div>
    959959
    960960            <div class="ada-cc-controller-input-main">
    961961              <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' : ''; ?>>
    963963            </div>
    964964
    965965            <div class="ada-cc-controller-input-main">
    966966              <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' : ''; ?>>
    968968            </div>
    969969
    970970            <div class="ada-cc-controller-input-main">
    971971              <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' : ''; ?>>
    973973            </div>
    974974
    975975            <div class="ada-cc-controller-input-main">
    976976              <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' : ''; ?>>
    978978            </div>
    979979
    980980            <div class="ada-cc-controller-input-main">
    981981              <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' : ''; ?>>
    983983            </div>
    984984
    985985            <div class="ada-cc-controller-input-main">
    986986              <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' : ''; ?>>
    988988            </div>
    989989
    990990            <div class="ada-cc-controller-input-main">
    991991              <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' : ''; ?>>
    993993            </div>
    994994
    995995            <div class="ada-cc-controller-input-main">
    996996              <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' : ''; ?>>
    998998            </div>
    999999          </div>
     
    10071007            <div class="ada-cc-controller-input-main">
    10081008              <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' : ''; ?>>
    10101010            </div>
    10111011            <div class="ada-cc-controller-input-main">
    10121012              <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' : ''; ?>>
    10141014            </div>
    10151015            <div class="ada-cc-controller-input-main">
    10161016              <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' : ''; ?>>
    10181018            </div>
    10191019          </div>
     
    10271027            <div class="ada-cc-controller-input-main">
    10281028              <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' : ''; ?>>
    10301030            </div>
    10311031          </div>
     
    10391039            <div class="ada-cc-controller-input-main">
    10401040              <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' : ''; ?>>
    10421042            </div>
    10431043            <div class="ada-cc-controller-input-main">
    10441044              <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' : ''; ?>>
    10461046            </div>
    10471047            <div class="ada-cc-controller-input-main">
    10481048              <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' : ''; ?>>
    10501050            </div>
    10511051            <div class="ada-cc-controller-input-main">
    10521052              <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' : ''; ?>>
    10541054            </div>
    10551055            <div class="ada-cc-controller-input-main">
    10561056              <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' : ''; ?>>
    10581058            </div>
    10591059            <div class="ada-cc-controller-input-main">
    10601060              <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' : ''; ?>>
    10621062            </div>
    10631063          </div>
     
    10661066
    10671067        <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>
    10691069        </div>
    10701070      </div>
  • accessibility-assistant/trunk/admin/menu-settings.php

    r3373707 r3374432  
    99$content = assistant_api_call('/getShopData', $data, 'get');
    1010
    11 
    12 $member_plan = $content['data']['plan_display_name'];
    1311$primary_id = $content['data']['id'];
    1412if ($primary_id) {
     
    1917    update_option('accessibility_plan', $current_plan);
    2018}
     19$member_plan = $content['data']['plan_display_name'];
    2120?>
    2221
     
    2625
    2726    $access_by_admin = $content['data']['access_by_admin'];
    28     //echo 'access_by_admin'.$access_by_admin;
    29     //$trial_day = $content['data']['trail_day'];
    3027    $current_plan = $content['data']['plan'];
    31     //echo 'current plan' . $current_plan;
    3228    $is_installation_popup_shown = $content['data']['is_installation_popup_shown'];
    3329    $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;
    3630    if ($is_installation_popup_shown == 0 && $is_plan_select_popup_shown == 0) {
    37 
    3831        require_once 'installation-popup.php';
    3932    }
    40     // if ($is_plan_select_popup_shown == 0 && $trial_day == '1' && !empty($current_plan) && $is_installation_popup_shown == 1) {
    4133    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 
    4434        require_once 'thanyou-popup.php';
    4535    }
     
    475465<?php
    476466
    477 
    478 
    479 
    480467if (empty($accessibility_url)) {
    481468    update_option('accessibility_url', sanitize_text_field($content['data']['url']));
    482469}
    483 
    484 //if ($trial_day == 1 || $access_by_admin == '1') {
    485470if ($access_by_admin == '1') {
    486471    echo "<p class='free-trial-note'>You have admin access</p>";
    487472}
    488473if (!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    }
    491476if (empty($current_plan)) {
    492477    echo "<p class='no-plan-notice'>";
     
    676661                                        <input type="checkbox" name="keybaord_nav_switch" id="keybaord_nav_switch" <?php if ($content['data']['shop_text']['keybaord_nav_switch'] == 1) {
    677662                                                                                                                        echo "checked";
    678                                                                                                                     } ?> <?php if ($current_plan == '') {
     663                                                                                                                    } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    679664                                                                                                                                echo 'disabled';
    680665                                                                                                                            } ?> />
     
    693678                                        <input type="checkbox" name="highlight_link_switch" id="highlight_link_switch" <?php if ($content['data']['shop_text']['highlight_link_switch'] == 1) {
    694679                                                                                                                            echo "checked";
    695                                                                                                                         } ?> <?php if ($current_plan == '') {
     680                                                                                                                        } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    696681                                                                                                                                    echo 'disabled';
    697682                                                                                                                                } ?> />
     
    712697                                        <input type="checkbox" name="image_alt_tooltip_switch" id="image_alt_tooltip_switch" <?php if ($content['data']['shop_text']['image_alt_tooltip_switch'] == 1) {
    713698                                                                                                                                    echo "checked";
    714                                                                                                                                 } ?> <?php if ($current_plan == 'basic' || $current_plan == '') {
     699                                                                                                                                } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    715700                                                                                                                                            echo 'disabled';
    716701                                                                                                                                        } ?> />
     
    725710
    726711                            <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                                                                                                                        } ?>">
    728715                                    <div class="toggle-row">
    729716                                        <input type="checkbox" name="alignment_switch" id="alignment_switch" <?php if ($content['data']['shop_text']['alignment_switch'] == 1) {
    730717                                                                                                                    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') {
    732719                                                                                                                            echo 'disabled';
    733720                                                                                                                        } ?> />
     
    743730                            <div class="feature-block-wrapper">
    744731
    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                                                                                                                                                    } ?>">
    746735                                    <div class="toggle-row">
    747736                                        <input type="checkbox" name="adjust_background_colors_switch" id="adjust_background_colors_switch" <?php if ($content['data']['shop_text']['adjust_background_colors_switch'] == 1) {
    748737                                                                                                                                                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') {
    750739                                                                                                                                                        echo 'disabled';
    751740                                                                                                                                                    } ?> />
     
    761750                            <div class="feature-block-wrapper">
    762751
    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                                                                                                                            } ?>">
    764755                                    <div class="toggle-row">
    765756                                        <input type="checkbox" name="useful_links_switch" id="useful_links_switch" <?php if ($content['data']['shop_text']['useful_links_switch'] == 1) {
    766757                                                                                                                        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') {
    768759                                                                                                                                echo 'disabled';
    769760                                                                                                                            } ?> />
     
    778769
    779770                            <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                                                                                                                                } ?>">
    781774                                    <div class="toggle-row">
    782775                                        <input type="checkbox" name="voicecommands_switch" id="voicecommands_switch" <?php if ($content['data']['shop_text']['voicecommands_switch'] == 1) {
    783776                                                                                                                            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') {
    785778                                                                                                                                    echo 'disabled';
    786779                                                                                                                                } ?> />
     
    796789
    797790                            <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                                                                                                                                    } ?>">
    799794                                    <div class="toggle-row">
    800795                                        <input type="checkbox" name="virtual_keyboard_switch" id="virtual_keyboard_switch" <?php if ($content['data']['shop_text']['virtual_keyboard_switch'] == 1) {
    801796                                                                                                                                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') {
    803798                                                                                                                                        echo 'disabled';
    804799                                                                                                                                    } ?> />
     
    814809
    815810                            <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                                                                                                                                } ?>">
    817814                                    <div class="toggle-row">
    818815                                        <input type="checkbox" name="filter_content_switch" id="filter_content_switch" <?php if ($content['data']['shop_text']['filter_content_switch'] == 1) {
    819816                                                                                                                            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') {
    821818                                                                                                                                    echo 'disabled';
    822819                                                                                                                                } ?> />
     
    840837                                        <input type="checkbox" name="cursor_switch" id="cursor_switch" <?php if ($content['data']['shop_text']['cursor_switch'] == 1) {
    841838                                                                                                            echo "checked";
    842                                                                                                         } ?> <?php if ($current_plan == '') {
     839                                                                                                        } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    843840                                                                                                                    echo 'disabled';
    844841                                                                                                                } ?> />
     
    857854                                        <input type="checkbox" name="readable_fonts_switch" id="readable_fonts_switch" <?php if ($content['data']['shop_text']['readable_fonts_switch'] == 1) {
    858855                                                                                                                            echo "checked";
    859                                                                                                                         } ?> <?php if ($current_plan == 'basic' || $current_plan == '') {
     856                                                                                                                        } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    860857                                                                                                                                    echo 'disabled';
    861858                                                                                                                                } ?> />
     
    875872                                        <input type="checkbox" name="stop_animation_switch" id="stop_animation_switch" <?php if ($content['data']['shop_text']['stop_animation_switch'] == 1) {
    876873                                                                                                                            echo "checked";
    877                                                                                                                         } ?> <?php if ($current_plan == 'basic' || $current_plan == '') {
     874                                                                                                                        } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    878875                                                                                                                                    echo 'disabled';
    879876                                                                                                                                } ?> />
     
    888885
    889886                            <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                                                                                                                        } ?>">
    891890                                    <div class="toggle-row">
    892891                                        <input type="checkbox" name="image_hide_switch" id="image_hide_switch" <?php if ($content['data']['shop_text']['image_hide_switch'] == 1) {
    893892                                                                                                                    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') {
    895894                                                                                                                            echo 'disabled';
    896895                                                                                                                        } ?> />
     
    905904
    906905                            <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                                                                                                                            } ?>">
    908909                                    <div class="toggle-row">
    909910                                        <input type="checkbox" name="mute_sounds_switch" id="mute_sounds_switch" <?php if ($content['data']['shop_text']['mute_sounds_switch'] == 1) {
    910911                                                                                                                        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') {
    912913                                                                                                                                echo 'disabled';
    913914                                                                                                                            } ?> />
     
    923924
    924925                            <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                                                                                                                                    } ?>">
    926929                                    <div class="toggle-row">
    927930                                        <input type="checkbox" name="highlight_hover_switch" id="highlight_hover_switch" <?php if ($content['data']['shop_text']['highlight_hover_switch'] == 1) {
    928931                                                                                                                                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') {
    930933                                                                                                                                        echo 'disabled';
    931934                                                                                                                                    } ?> />
     
    940943
    941944                            <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                                                                                                                                } ?>">
    943948                                    <div class="toggle-row">
    944949                                        <input type="checkbox" name="talk_and_type_switch" id="talk_and_type_switch" <?php if ($content['data']['shop_text']['talk_and_type_switch'] == 1) {
    945950                                                                                                                            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') {
    947952                                                                                                                                    echo 'disabled';
    948953                                                                                                                                } ?> />
     
    957962
    958963                            <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                                                                                                                                            } ?>">
    960967                                    <div class="toggle-row">
    961968                                        <input type="checkbox" name="disable_widget_sound_switch" id="disable_widget_sound_switch" <?php if ($content['data']['shop_text']['disable_widget_sound_switch'] == 1) {
    962969                                                                                                                                        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') {
    964971                                                                                                                                                echo 'disabled';
    965972                                                                                                                                            } ?> />
     
    979986                        <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' : ''; ?>">
    980987                            <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                                                                                                                        } ?>">
    982991                                    <div class="toggle-row">
    983992                                        <input type="checkbox" name="desaturate_switch" id="desaturate_switch" <?php if ($content['data']['shop_text']['desaturate_switch'] == 1) {
    984993                                                                                                                    echo "checked";
    985                                                                                                                 } ?> <?php if ($current_plan == '') {
     994                                                                                                                } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    986995                                                                                                                            echo 'disabled';
    987996                                                                                                                        } ?> />
     
    9971006
    9981007                            <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                                                                                                                            } ?>">
    10001011                                    <div class="toggle-row">
    10011012                                        <input type="checkbox" name="reading_mask_switch" id="reading_mask_switch" <?php if ($content['data']['shop_text']['reading_mask_switch'] == 1) {
    10021013                                                                                                                        echo "checked";
    1003                                                                                                                     } ?> <?php if ($current_plan == 'basic' || $current_plan == '') {
     1014                                                                                                                    } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    10041015                                                                                                                                echo 'disabled';
    10051016                                                                                                                            } ?> />
     
    10151026
    10161027                            <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                                                                                                                            } ?>">
    10181031                                    <div class="toggle-row">
    10191032                                        <input type="checkbox" name="word_spacing_switch" id="word_spacing_switch" <?php if ($content['data']['shop_text']['word_spacing_switch'] == 1) {
    10201033                                                                                                                        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') {
    10221035                                                                                                                                echo 'disabled';
    10231036                                                                                                                            } ?> />
     
    10331046
    10341047                            <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                                                                                                                            } ?>">
    10361051                                    <div class="toggle-row">
    10371052                                        <input type="checkbox" name="text_speech_switch" id="text_speech_switch" <?php if ($content['data']['shop_text']['text_speech_switch'] == 1) {
    10381053                                                                                                                        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') {
    10401055                                                                                                                                echo 'disabled';
    10411056                                                                                                                            } ?> />
     
    10501065
    10511066                            <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                                                                                                                                    } ?>">
    10531070                                    <div class="toggle-row">
    10541071                                        <input type="checkbox" name="content_scaling_switch" id="content_scaling_switch" <?php if ($content['data']['shop_text']['content_scaling_switch'] == 1) {
    10551072                                                                                                                                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') {
    10571074                                                                                                                                        echo 'disabled';
    10581075                                                                                                                                    } ?> />
     
    10681085
    10691086                            <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                                                                                                                                    } ?>">
    10711090                                    <div class="toggle-row">
    10721091                                        <input type="checkbox" name="highlight_focus_switch" id="highlight_focus_switch" <?php if ($content['data']['shop_text']['highlight_focus_switch'] == 1) {
    10731092                                                                                                                                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') {
    10751094                                                                                                                                        echo 'disabled';
    10761095                                                                                                                                    } ?> />
     
    10851104
    10861105                            <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                                                                                                                            } ?>">
    10881109                                    <div class="toggle-row">
    10891110                                        <input type="checkbox" name="color_blind_switch" id="color_blind_switch" <?php if ($content['data']['shop_text']['color_blind_switch'] == 1) {
    10901111                                                                                                                        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') {
    10921113                                                                                                                                echo 'disabled';
    10931114                                                                                                                            } ?> />
     
    11031124
    11041125                            <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                                                                                                                                                } ?>">
    11061129                                    <div class="toggle-row">
    11071130                                        <input type="checkbox" name="disable_report_problem_switch" id="disable_report_problem_switch" <?php if ($content['data']['shop_text']['disable_report_problem'] == 1) {
    11081131                                                                                                                                            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') {
    11101133                                                                                                                                                    echo 'disabled';
    11111134                                                                                                                                                } ?> />
     
    11211144
    11221145                            <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                                                                                                                    } ?>">
    11241149                                    <div class="toggle-row">
    11251150                                        <input type="checkbox" name="hide_search_bar" id="hide_search_bar" <?php if ($content['data']['shop_text']['hide_search_bar'] == 1) {
    11261151                                                                                                                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') {
    11281153                                                                                                                        echo 'disabled';
    11291154                                                                                                                    } ?> />
     
    11391164
    11401165                            <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                                                                                                                    } ?>">
    11421169                                    <div class="toggle-row">
    11431170                                        <input type="checkbox" name="hide_statement" id="hide_statement" <?php if ($content['data']['shop_text']['hide_statement'] == 1) {
    11441171                                                                                                                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') {
    11461173                                                                                                                        echo 'disabled';
    11471174                                                                                                                    } ?> />
     
    11621189                        <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' : ''; ?>">
    11631190                            <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                                                                                                                    } ?>">
    11651194                                    <div class="toggle-row">
    11661195                                        <input type="checkbox" name="contrast_switch" id="contrast_switch" <?php if ($content['data']['shop_text']['contrast_switch'] == 1) {
    11671196                                                                                                                echo "checked";
    1168                                                                                                             } ?> <?php if ($current_plan == '') {
     1197                                                                                                            } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    11691198                                                                                                                        echo 'disabled';
    11701199                                                                                                                    } ?> />
     
    11841213                                        <input type="checkbox" name="bigger_text_switch" id="bigger_text_switch" <?php if ($content['data']['shop_text']['bigger_text_switch'] == 1) {
    11851214                                                                                                                        echo "checked";
    1186                                                                                                                     } ?> <?php if ($current_plan == '') {
     1215                                                                                                                    } ?> <?php if ($current_plan == '' || $current_plan == 'free') {
    11871216                                                                                                                                echo 'disabled';
    11881217                                                                                                                            } ?> />
     
    11981227
    11991228                            <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                                                                                                                            } ?>">
    12011232                                    <div class="toggle-row">
    12021233                                        <input type="checkbox" name="highlight_titles_switch" id="highlight_titles_switch" <?php if ($content['data']['shop_text']['highlight_titles_switch'] == 1) {
    12031234                                                                                                                                echo 'checked';
    12041235                                                                                                                            }
    1205                                                                                                                             if ($current_plan == 'basic' || $current_plan == '') {
     1236                                                                                                                            if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    12061237                                                                                                                                echo ' disabled';
    12071238                                                                                                                            } ?> />
     
    12181249
    12191250                            <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                                                                                                                                } ?>">
    12211254                                    <div class="toggle-row">
    12221255                                        <input type="checkbox" name="text_magnifier_switch" id="text_magnifier_switch" <?php if ($content['data']['shop_text']['text_magnifier_switch'] == 1) {
    12231256                                                                                                                            echo "checked";
    1224                                                                                                                         } ?> <?php if ($current_plan == 'basic' || $current_plan == '') {
     1257                                                                                                                        } ?> <?php if ($current_plan == 'basic' || $current_plan == '' || $current_plan == 'free') {
    12251258                                                                                                                                    echo 'disabled';
    12261259                                                                                                                                } ?> />
     
    12371270
    12381271                            <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                                                                                                                                } ?>">
    12401275                                    <div class="toggle-row">
    12411276                                        <input type="checkbox" name="letter_spacing_switch" id="letter_spacing_switch" <?php if ($content['data']['shop_text']['letter_spacing_switch'] == 1) {
    12421277                                                                                                                            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') {
    12441279                                                                                                                                    echo 'disabled';
    12451280                                                                                                                                } ?> />
     
    12551290
    12561291                            <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                                                                                                                            } ?>">
    12581295                                    <div class="toggle-row">
    12591296                                        <input type="checkbox" name="line_height_switch" id="line_height_switch" <?php if ($content['data']['shop_text']['line_height_switch'] == 1) {
    12601297                                                                                                                        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') {
    12621299                                                                                                                                echo 'disabled';
    12631300                                                                                                                            } ?> />
     
    12731310
    12741311                            <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                                                                                                                                        } ?>">
    12761315                                    <div class="toggle-row">
    12771316                                        <input type="checkbox" name="adjust_text_colors_switch" id="adjust_text_colors_switch" <?php if ($content['data']['shop_text']['adjust_text_colors_switch'] == 1) {
    12781317                                                                                                                                    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') {
    12801319                                                                                                                                            echo 'disabled';
    12811320                                                                                                                                        } ?> />
     
    12921331
    12931332                            <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                                                                                                                                            } ?>">
    12951336                                    <div class="toggle-row">
    12961337                                        <input type="checkbox" name="adjust_title_colors_switch" id="adjust_title_colors_switch" <?php if ($content['data']['shop_text']['adjust_title_colors_switch'] == 1) {
    12971338                                                                                                                                        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') {
    12991340                                                                                                                                                echo 'disabled';
    13001341                                                                                                                                            } ?> />
     
    13101351
    13111352                            <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                                                                                                                    } ?>">
    13131356                                    <div class="toggle-row">
    13141357                                        <input type="checkbox" name="gif_hide_switch" id="gif_hide_switch" <?php if ($content['data']['shop_text']['gif_hide_switch'] == 1) {
    13151358                                                                                                                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') {
    13171360                                                                                                                        echo 'disabled';
    13181361                                                                                                                    } ?> />
     
    13281371
    13291372                            <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                                                                                                                        } ?>">
    13311376                                    <div class="toggle-row">
    13321377                                        <input type="checkbox" name="read_mode_switch" id="read_mode_switch" <?php if ($content['data']['shop_text']['read_mode_switch'] == 1) {
    13331378                                                                                                                    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') {
    13351380                                                                                                                            echo 'disabled';
    13361381                                                                                                                        } ?> />
     
    13461391
    13471392                            <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                                                                                                                                    } ?>">
    13491396                                    <div class="toggle-row">
    13501397                                        <input type="checkbox" name="bigblack_cursor_switch" id="bigblack_cursor_switch" <?php if ($content['data']['shop_text']['bigblack_cursor_switch'] == 1) {
    13511398                                                                                                                                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') {
    13531400                                                                                                                                        echo 'disabled';
    13541401                                                                                                                                    } ?> />
     
    13641411
    13651412                            <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                                                                                                                                    } ?>">
    13671416                                    <div class="toggle-row">
    13681417                                        <input type="checkbox" name="profile_settings_switch" id="profile_settings_switch" <?php if ($content['data']['shop_text']['profile_settings_switch'] == 1) {
    13691418                                                                                                                                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') {
    13711420                                                                                                                                        echo 'disabled';
    13721421                                                                                                                                    } ?> />
     
    13821431
    13831432                            <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                                                                                                                                    } ?>">
    13851436                                    <div class="toggle-row">
    13861437                                        <input type="checkbox" name="disable_branding_switch" id="disable_branding_switch" <?php if ($content['data']['shop_text']['disable_branding_switch'] == 1) {
    13871438                                                                                                                                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') {
    13891440                                                                                                                                        echo 'disabled';
    13901441                                                                                                                                    } ?> />
     
    14001451
    14011452                            <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                                                                                                                                        } ?>">
    14031456                                    <div class="toggle-row">
    14041457                                        <input type="checkbox" name="language_variable_switch" id="language_variable_switch" <?php if ($content['data']['shop_text']['language_variable_switch'] == 1) {
    14051458                                                                                                                                    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') {
    14071460                                                                                                                                            echo 'disabled';
    14081461                                                                                                                                        } ?> />
     
    15521605                <div class="ada-cc-setting-inner-div selected-panel-body">
    15531606                    <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;">
    15551608                            <input type="checkbox"
    15561609                                name="statement_on_off_switch"
     
    15791632                    </div>
    15801633
    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;' : ''; ?>">
    15821635                        <?php
    15831636                        wp_editor(!empty($statement) ? $statement : $default_statement, 'accessibility_statement', [
     
    16151668            </div>
    16161669            <!-- 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>
    16181671        </div>
    16191672    </form>
  • accessibility-assistant/trunk/admin/widget-settings.php

    r3373707 r3374432  
    1717}
    1818$member_plan = $content['data']['plan_display_name'];
     19
    1920?>
    2021
     
    3536
    3637    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 
    3938        require_once 'thanyou-popup.php';
    4039    }
     
    133132            );
    134133
    135 
    136             //die;
    137             // echo "<pre>";
    138             // print_r($send_data);
    139             // echo "</pre>";
    140134            $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';
    146135            if ($returnsenddata['status'] == 200) {
    147136
     
    188177}
    189178?>
    190 <?php //if(!empty($current_plan)){
    191 ?>
     179
    192180<div class="loader" style="display: none;">
    193181</div>
     
    491479                <div class="ada-cc-Widget-main">
    492480                    <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'; ?>">
    494482                            <div class="ada-cc-custom-checkbox">
    495483                                <input type="checkbox" id="widget_enable" name="jsChecked"
     
    507495                        </div>
    508496
    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'; ?>">
    510498                            <div class="ada-cc-custom-checkbox">
    511499                                <input type="checkbox" name="enable_link" id="enable_link" <?php if ($content['data']['button_link_status'] == 1) {
     
    536524                        </div>
    537525                    </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' : ''; ?>">
    539527                        <div class="ada-cc-widget-first ada-cc-widget-common">
    540528                            <label class="ada-cc-choose-text" for="choose design"><?php esc_html_e('Choose Design', 'accessibility-assistant'); ?></label><br>
     
    580568
    581569
    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' : ''; ?>">
    583571                <!-- Floating Widget Position -->
    584572                <!-- position-div -->
     
    652640                        </div>
    653641
    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' : ''; ?>">
    655643                            <label class="ada-cc-choose-text" for="widget size"><?php _e('Floating Widget Size', 'accessibility-assistant'); ?></label><br>
    656644                            <div class="progress-container">
     
    678666            </div>
    679667            <!-- 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' : ''; ?>">
    681669                <div class="ada-cc-colorschema-main">
    682670                    <div class="ada-cc-colorschema-three-div">
     
    725713            </div>
    726714            <!-- 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' : ''; ?>">
    728716                <div class="ada-cc-widgeticon-main ada-cc-colorschema-main">
    729717
     
    762750                <p><?php _e('Floating Widget Icon Color', 'accessibility-assistant'); ?></p>
    763751            </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' : ''; ?>">
    765753                <div class="ada-cc-colorschema-main">
    766754                    <div class="ada-cc-colorschema-three-div">
     
    789777            </div>
    790778            <!-- 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>
    792780
    793781        </div>
Note: See TracChangeset for help on using the changeset viewer.