= strtotime( get_option( 'patchstack_license_expiry', '' ) ) ); $show_settings = $this->get_option( 'patchstack_show_settings', 0 ) == 1 && !isset($_GET['tab']) || isset($_GET['tab']) && $_GET['tab'] != 'license'; $is_free = $this->get_option( 'patchstack_license_free', 0 ) == 1; $class = get_option( 'patchstack_subscription_class', '' ); $managed = get_option( 'patchstack_managed', false ); $managed_text = get_option( 'patchstack_managed_text', '' ); if ( ( ! $show_settings && $_GET['page'] != 'patchstack-multisite-settings' ) || ( $status && $active_tab != 'license' && $_GET['page'] != 'patchstack-multisite-settings' ) ) { $_GET['tab'] = $active_tab = 'license'; } if ( ( $is_free || ! $is_free && $status ) && $active_tab != 'license' && $_GET['page'] == 'patchstack-multisite-settings' ) { $_GET['tab'] = $active_tab = 'multisite'; } if ($active_tab == 'license') { $show_settings = false; } // Determine the URL's. $page = $_GET['page'] == 'patchstack-multisite-settings' ? 'patchstack-multisite-settings' : $this->plugin->name; ?>
'; _e( 'Note that this is a legacy settings page and will be inaccessible on May 1st, 2024. After this you will be required to view and manage your settings through the Patchstack App.', 'patchstack' ); echo '
If you would like to change the settings of a specific site, visit the administration panel of the site in question. Click here for an overview of sites.', 'patchstack' ); } else { _e( 'Note that because this is a multisite/network environment, certain settings can only be managed by the super administrator of the WordPress network.', 'patchstack' ); } ?>