Changeset 3373707
- Timestamp:
- 10/06/2025 01:01:58 PM (5 months ago)
- Location:
- accessibility-assistant/trunk
- Files:
-
- 7 edited
-
accessibility_assistant.php (modified) (1 diff)
-
admin/languages-listing.php (modified) (3 diffs)
-
admin/menu-settings.php (modified) (4 diffs)
-
admin/plan-list.php (modified) (5 diffs)
-
admin/scanner.php (modified) (5 diffs)
-
admin/widget-settings.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
accessibility-assistant/trunk/accessibility_assistant.php
r3373653 r3373707 5 5 Description: ADA, EAA, AODA & WCAG Compliance Widget for Website Accessibility 6 6 Author: CartCoder 7 Version: 2.1.97 Version: 3.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
accessibility-assistant/trunk/admin/languages-listing.php
r3373653 r3373707 16 16 update_option('accessibility_plan', $current_plan); 17 17 } 18 18 $member_plan = $content['data']['plan_display_name']; 19 19 if ($content) { 20 20 $access_by_admin = $content['data']['access_by_admin']; … … 28 28 } 29 29 // if ($is_plan_select_popup_shown == 0 && $trial_day == '1' && !empty($current_plan) && $is_installation_popup_shown == 1) { 30 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" ) {30 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" && (strpos(strtolower($member_plan), 'develop') !== false)) { 31 31 require_once 'thanyou-popup.php'; 32 32 } … … 43 43 if ($access_by_admin == '1') { 44 44 echo "<p class='free-trial-note'>You have admin access</p>"; 45 } 46 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 47 echo "<p class='free-trial-note'>You have member access</p>"; 45 48 } 46 49 if (empty($current_plan)) { -
accessibility-assistant/trunk/admin/menu-settings.php
r3373653 r3373707 10 10 11 11 12 12 $member_plan = $content['data']['plan_display_name']; 13 13 $primary_id = $content['data']['id']; 14 14 if ($primary_id) { … … 39 39 } 40 40 // if ($is_plan_select_popup_shown == 0 && $trial_day == '1' && !empty($current_plan) && $is_installation_popup_shown == 1) { 41 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" ) {41 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 42 //echo "callled"; 43 43 … … 476 476 477 477 478 // if (empty($current_plan)) { 479 // require_once 'plan-list.php'; 480 // return; 481 // } 478 482 479 483 480 if (empty($accessibility_url)) { … … 488 485 if ($access_by_admin == '1') { 489 486 echo "<p class='free-trial-note'>You have admin access</p>"; 487 } 488 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 489 echo "<p class='free-trial-note'>You have member access</p>"; 490 490 } 491 491 if (empty($current_plan)) { -
accessibility-assistant/trunk/admin/plan-list.php
r3373653 r3373707 15 15 update_option('accessibility_plan', $current_plan); 16 16 } 17 $member_plan = $content['data']['plan_display_name']; 17 18 $plugin_url = plugin_dir_url(__FILE__); 18 19 … … 27 28 require_once 'installation-popup.php'; 28 29 } 29 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" ) {30 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" && (strpos(strtolower($member_plan), 'develop') !== false)) { 30 31 31 32 require_once 'thanyou-popup.php'; … … 35 36 if ($access_by_admin == '1') { 36 37 echo "<p class='free-trial-note'>" . esc_html__('You have admin access', 'accessibility-assistant') . "</p>"; 38 } 39 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 40 echo "<p class='free-trial-note'>You have member access</p>"; 37 41 } 38 42 } … … 1182 1186 1183 1187 <!--cancel plan section start--> 1188 <?php if ((strpos(strtolower($member_plan), 'develop') !== true)) { ?> 1184 1189 <div class="ada-cc-price-plan cancel-sub-sec-main" <?php if ($current_plan === 'free') echo 'style="display:none;"'; ?>> 1185 1190 <div class="cancel-sub-sec"> … … 1193 1198 </div> 1194 1199 </div> 1200 <?php } ?> 1195 1201 <!--cancel plan section end--> 1196 1202 -
accessibility-assistant/trunk/admin/scanner.php
r3373653 r3373707 15 15 update_option('accessibility_plan', $current_plan); 16 16 } 17 $member_plan = $content['data']['plan_display_name']; 17 18 ?> 18 19 … … 27 28 if ($access_by_admin == '1') { 28 29 echo "<p class='free-trial-note'>You have admin access</p>"; 30 } 31 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 32 echo "<p class='free-trial-note'>You have member access</p>"; 29 33 } 30 34 if (empty($current_plan)) { … … 42 46 43 47 <!-- header --> 44 48 45 49 46 50 <div class="ada-cc-searchmain"> … … 160 164 </div> 161 165 </div> 162 166 163 167 <!--plan specific message Start--> 164 168 <?php … … 199 203 ?> 200 204 <!--plan specific message End--> 201 202 <div class="scanner-site"> 203 <div class="ada-cc-setting-inner-main"> 204 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'free' || $current_plan == "") ? 'no-access-allowed' : ''; ?>"> 205 <div class="ada-cc-Widget-main"> 206 <h2><?php _e('Free Accessibility Check', 'accessibility-assistant'); ?></h2> 207 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'free' || $current_plan == "") ? 'no-access-allowed' : ''; ?>" id="scanbtn" name="scanbtn" type="submit" <?php echo ($current_plan == 'free' || $current_plan == "") ? 'disabled' : ''; ?>><?php _e('Scan Your site', 'accessibility-assistant'); ?></button> 208 </div> 205 206 <div class="scanner-site"> 207 <div class="ada-cc-setting-inner-main"> 208 <div class="ada-cc-setting-inner-div <?php echo ($current_plan == 'free' || $current_plan == "") ? 'no-access-allowed' : ''; ?>"> 209 <div class="ada-cc-Widget-main"> 210 <h2><?php _e('Free Accessibility Check', 'accessibility-assistant'); ?></h2> 211 <button class="ada-cc-save-btn btn btn-success <?php echo ($current_plan == 'free' || $current_plan == "") ? 'no-access-allowed' : ''; ?>" id="scanbtn" name="scanbtn" type="submit" <?php echo ($current_plan == 'free' || $current_plan == "") ? 'disabled' : ''; ?>><?php _e('Scan Your site', 'accessibility-assistant'); ?></button> 209 212 </div> 210 <div id="audit-result"></div>211 < /div>213 </div> 214 <div id="audit-result"></div> 212 215 </div> 213 214 216 </div> 217 218 215 219 216 220 <!-- contactus-footer-line --> -
accessibility-assistant/trunk/admin/widget-settings.php
r3373653 r3373707 16 16 update_option('accessibility_plan', $current_plan); 17 17 } 18 $member_plan = $content['data']['plan_display_name']; 18 19 ?> 19 20 … … 33 34 } 34 35 35 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" ) {36 if ($is_plan_select_popup_shown == 0 && !empty($current_plan) && $is_installation_popup_shown == 1 && $current_plan !== "free" && (strpos(strtolower($member_plan), 'develop') !== false)) { 36 37 37 38 … … 177 178 if ($access_by_admin == '1') { 178 179 echo "<p class='free-trial-note'>You have admin access</p>"; 180 } 181 if (!empty($current_plan) && strpos(strtolower($member_plan), 'develop') !== false) { 182 echo "<p class='free-trial-note'>You have member access</p>"; 179 183 } 180 184 if (empty($current_plan)) { -
accessibility-assistant/trunk/readme.txt
r3373653 r3373707 299 299 * Laravel 12 300 300 301 = 3.0 = 302 * Member access 303 301 304 **Explore More Accessibility Options:** 302 305 [Accessibility Assistant Website](https://accessibilityassistant.com/)
Note: See TracChangeset
for help on using the changeset viewer.