Changeset 2914082
- Timestamp:
- 05/18/2023 06:57:09 AM (3 years ago)
- Location:
- auto-install-free-ssl
- Files:
-
- 276 added
- 9 edited
-
tags/3.4.3 (added)
-
tags/3.4.3/FreeSSLAuto (added)
-
tags/3.4.3/FreeSSLAuto/src (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/AcmeV2.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/Base64UrlSafeEncoder.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/Client.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/ClientInterface.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/Factory.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Acme/openssl.cnf (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/AdminNotice.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/AutoDataEntry.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/Factory.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/ForceHttpsPage.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/ForceSSL.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/HomeOptions.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Admin/Log.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Controller.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Email.php (added)
-
tags/3.4.3/FreeSSLAuto/src/Logger.php (added)
-
tags/3.4.3/assets (added)
-
tags/3.4.3/assets/css (added)
-
tags/3.4.3/assets/css/aifs-admin.css (added)
-
tags/3.4.3/assets/img (added)
-
tags/3.4.3/assets/img/fire.webp (added)
-
tags/3.4.3/assets/img/icon.jpg (added)
-
tags/3.4.3/assets/img/ssl-error.jpg (added)
-
tags/3.4.3/assets/js (added)
-
tags/3.4.3/assets/js/script.js (added)
-
tags/3.4.3/auto-install-free-ssl.php (added)
-
tags/3.4.3/composer.json (added)
-
tags/3.4.3/composer.lock (added)
-
tags/3.4.3/freemius (added)
-
tags/3.4.3/freemius/LICENSE.txt (added)
-
tags/3.4.3/freemius/assets (added)
-
tags/3.4.3/freemius/assets/css (added)
-
tags/3.4.3/freemius/assets/css/admin (added)
-
tags/3.4.3/freemius/assets/css/admin/account.css (added)
-
tags/3.4.3/freemius/assets/css/admin/add-ons.css (added)
-
tags/3.4.3/freemius/assets/css/admin/affiliation.css (added)
-
tags/3.4.3/freemius/assets/css/admin/checkout.css (added)
-
tags/3.4.3/freemius/assets/css/admin/clone-resolution.css (added)
-
tags/3.4.3/freemius/assets/css/admin/common.css (added)
-
tags/3.4.3/freemius/assets/css/admin/connect.css (added)
-
tags/3.4.3/freemius/assets/css/admin/debug.css (added)
-
tags/3.4.3/freemius/assets/css/admin/dialog-boxes.css (added)
-
tags/3.4.3/freemius/assets/css/admin/gdpr-optin-notice.css (added)
-
tags/3.4.3/freemius/assets/css/admin/index.php (added)
-
tags/3.4.3/freemius/assets/css/admin/optout.css (added)
-
tags/3.4.3/freemius/assets/css/admin/plugins.css (added)
-
tags/3.4.3/freemius/assets/css/customizer.css (added)
-
tags/3.4.3/freemius/assets/css/index.php (added)
-
tags/3.4.3/freemius/assets/img (added)
-
tags/3.4.3/freemius/assets/img/auto-install-free-ssl.png (added)
-
tags/3.4.3/freemius/assets/img/index.php (added)
-
tags/3.4.3/freemius/assets/img/plugin-icon.png (added)
-
tags/3.4.3/freemius/assets/img/theme-icon.png (added)
-
tags/3.4.3/freemius/assets/index.php (added)
-
tags/3.4.3/freemius/assets/js (added)
-
tags/3.4.3/freemius/assets/js/index.php (added)
-
tags/3.4.3/freemius/assets/js/nojquery.ba-postmessage.js (added)
-
tags/3.4.3/freemius/assets/js/nojquery.ba-postmessage.min.js (added)
-
tags/3.4.3/freemius/assets/js/postmessage.js (added)
-
tags/3.4.3/freemius/config.php (added)
-
tags/3.4.3/freemius/includes (added)
-
tags/3.4.3/freemius/includes/class-freemius-abstract.php (added)
-
tags/3.4.3/freemius/includes/class-freemius.php (added)
-
tags/3.4.3/freemius/includes/class-fs-admin-notices.php (added)
-
tags/3.4.3/freemius/includes/class-fs-api.php (added)
-
tags/3.4.3/freemius/includes/class-fs-lock.php (added)
-
tags/3.4.3/freemius/includes/class-fs-logger.php (added)
-
tags/3.4.3/freemius/includes/class-fs-options.php (added)
-
tags/3.4.3/freemius/includes/class-fs-plugin-updater.php (added)
-
tags/3.4.3/freemius/includes/class-fs-security.php (added)
-
tags/3.4.3/freemius/includes/class-fs-storage.php (added)
-
tags/3.4.3/freemius/includes/class-fs-user-lock.php (added)
-
tags/3.4.3/freemius/includes/customizer (added)
-
tags/3.4.3/freemius/includes/customizer/class-fs-customizer-support-section.php (added)
-
tags/3.4.3/freemius/includes/customizer/class-fs-customizer-upsell-control.php (added)
-
tags/3.4.3/freemius/includes/customizer/index.php (added)
-
tags/3.4.3/freemius/includes/debug (added)
-
tags/3.4.3/freemius/includes/debug/class-fs-debug-bar-panel.php (added)
-
tags/3.4.3/freemius/includes/debug/debug-bar-start.php (added)
-
tags/3.4.3/freemius/includes/debug/index.php (added)
-
tags/3.4.3/freemius/includes/entities (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-affiliate-terms.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-affiliate.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-billing.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-entity.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-payment.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-plugin-info.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-plugin-license.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-plugin-plan.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-plugin-tag.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-plugin.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-pricing.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-scope-entity.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-site.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-subscription.php (added)
-
tags/3.4.3/freemius/includes/entities/class-fs-user.php (added)
-
tags/3.4.3/freemius/includes/entities/index.php (added)
-
tags/3.4.3/freemius/includes/fs-core-functions.php (added)
-
tags/3.4.3/freemius/includes/fs-essential-functions.php (added)
-
tags/3.4.3/freemius/includes/fs-plugin-info-dialog.php (added)
-
tags/3.4.3/freemius/includes/index.php (added)
-
tags/3.4.3/freemius/includes/l10n.php (added)
-
tags/3.4.3/freemius/includes/managers (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-admin-menu-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-admin-notice-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-cache-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-clone-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-gdpr-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-key-value-storage.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-license-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-option-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-permission-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-plan-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/class-fs-plugin-manager.php (added)
-
tags/3.4.3/freemius/includes/managers/index.php (added)
-
tags/3.4.3/freemius/includes/sdk (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/ArgumentNotExistException.php (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/EmptyArgumentException.php (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/Exception.php (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/InvalidArgumentException.php (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/OAuthException.php (added)
-
tags/3.4.3/freemius/includes/sdk/Exceptions/index.php (added)
-
tags/3.4.3/freemius/includes/sdk/FreemiusBase.php (added)
-
tags/3.4.3/freemius/includes/sdk/FreemiusWordPress.php (added)
-
tags/3.4.3/freemius/includes/sdk/LICENSE.txt (added)
-
tags/3.4.3/freemius/includes/sdk/index.php (added)
-
tags/3.4.3/freemius/includes/supplements (added)
-
tags/3.4.3/freemius/includes/supplements/fs-essential-functions-1.1.7.1.php (added)
-
tags/3.4.3/freemius/includes/supplements/fs-essential-functions-2.2.1.php (added)
-
tags/3.4.3/freemius/includes/supplements/fs-migration-2.5.1.php (added)
-
tags/3.4.3/freemius/includes/supplements/index.php (added)
-
tags/3.4.3/freemius/index.php (added)
-
tags/3.4.3/freemius/languages (added)
-
tags/3.4.3/freemius/languages/freemius-cs_CZ.mo (added)
-
tags/3.4.3/freemius/languages/freemius-da_DK.mo (added)
-
tags/3.4.3/freemius/languages/freemius-de_DE.mo (added)
-
tags/3.4.3/freemius/languages/freemius-en.mo (added)
-
tags/3.4.3/freemius/languages/freemius-es_ES.mo (added)
-
tags/3.4.3/freemius/languages/freemius-fr_FR.mo (added)
-
tags/3.4.3/freemius/languages/freemius-he_IL.mo (added)
-
tags/3.4.3/freemius/languages/freemius-hu_HU.mo (added)
-
tags/3.4.3/freemius/languages/freemius-it_IT.mo (added)
-
tags/3.4.3/freemius/languages/freemius-ja.mo (added)
-
tags/3.4.3/freemius/languages/freemius-nl_NL.mo (added)
-
tags/3.4.3/freemius/languages/freemius-ru_RU.mo (added)
-
tags/3.4.3/freemius/languages/freemius-ta.mo (added)
-
tags/3.4.3/freemius/languages/freemius-zh_CN.mo (added)
-
tags/3.4.3/freemius/languages/freemius.pot (added)
-
tags/3.4.3/freemius/languages/index.php (added)
-
tags/3.4.3/freemius/require.php (added)
-
tags/3.4.3/freemius/start.php (added)
-
tags/3.4.3/freemius/templates (added)
-
tags/3.4.3/freemius/templates/account (added)
-
tags/3.4.3/freemius/templates/account.php (added)
-
tags/3.4.3/freemius/templates/account/billing.php (added)
-
tags/3.4.3/freemius/templates/account/index.php (added)
-
tags/3.4.3/freemius/templates/account/partials (added)
-
tags/3.4.3/freemius/templates/account/partials/activate-license-button.php (added)
-
tags/3.4.3/freemius/templates/account/partials/addon.php (added)
-
tags/3.4.3/freemius/templates/account/partials/deactivate-license-button.php (added)
-
tags/3.4.3/freemius/templates/account/partials/disconnect-button.php (added)
-
tags/3.4.3/freemius/templates/account/partials/index.php (added)
-
tags/3.4.3/freemius/templates/account/partials/site.php (added)
-
tags/3.4.3/freemius/templates/account/payments.php (added)
-
tags/3.4.3/freemius/templates/add-ons.php (added)
-
tags/3.4.3/freemius/templates/add-trial-to-pricing.php (added)
-
tags/3.4.3/freemius/templates/admin-notice.php (added)
-
tags/3.4.3/freemius/templates/ajax-loader.php (added)
-
tags/3.4.3/freemius/templates/api-connectivity-message-js.php (added)
-
tags/3.4.3/freemius/templates/auto-installation.php (added)
-
tags/3.4.3/freemius/templates/checkout.php (added)
-
tags/3.4.3/freemius/templates/clone-resolution-js.php (added)
-
tags/3.4.3/freemius/templates/connect (added)
-
tags/3.4.3/freemius/templates/connect.php (added)
-
tags/3.4.3/freemius/templates/connect/index.php (added)
-
tags/3.4.3/freemius/templates/connect/permission.php (added)
-
tags/3.4.3/freemius/templates/connect/permissions-group.php (added)
-
tags/3.4.3/freemius/templates/contact.php (added)
-
tags/3.4.3/freemius/templates/debug (added)
-
tags/3.4.3/freemius/templates/debug.php (added)
-
tags/3.4.3/freemius/templates/debug/api-calls.php (added)
-
tags/3.4.3/freemius/templates/debug/index.php (added)
-
tags/3.4.3/freemius/templates/debug/logger.php (added)
-
tags/3.4.3/freemius/templates/debug/plugins-themes-sync.php (added)
-
tags/3.4.3/freemius/templates/debug/scheduled-crons.php (added)
-
tags/3.4.3/freemius/templates/email.php (added)
-
tags/3.4.3/freemius/templates/forms (added)
-
tags/3.4.3/freemius/templates/forms/affiliation.php (added)
-
tags/3.4.3/freemius/templates/forms/data-debug-mode.php (added)
-
tags/3.4.3/freemius/templates/forms/deactivation (added)
-
tags/3.4.3/freemius/templates/forms/deactivation/contact.php (added)
-
tags/3.4.3/freemius/templates/forms/deactivation/form.php (added)
-
tags/3.4.3/freemius/templates/forms/deactivation/index.php (added)
-
tags/3.4.3/freemius/templates/forms/deactivation/retry-skip.php (added)
-
tags/3.4.3/freemius/templates/forms/email-address-update.php (added)
-
tags/3.4.3/freemius/templates/forms/index.php (added)
-
tags/3.4.3/freemius/templates/forms/license-activation.php (added)
-
tags/3.4.3/freemius/templates/forms/optout.php (added)
-
tags/3.4.3/freemius/templates/forms/premium-versions-upgrade-handler.php (added)
-
tags/3.4.3/freemius/templates/forms/premium-versions-upgrade-metadata.php (added)
-
tags/3.4.3/freemius/templates/forms/resend-key.php (added)
-
tags/3.4.3/freemius/templates/forms/subscription-cancellation.php (added)
-
tags/3.4.3/freemius/templates/forms/trial-start.php (added)
-
tags/3.4.3/freemius/templates/forms/user-change.php (added)
-
tags/3.4.3/freemius/templates/gdpr-optin-js.php (added)
-
tags/3.4.3/freemius/templates/index.php (added)
-
tags/3.4.3/freemius/templates/js (added)
-
tags/3.4.3/freemius/templates/js/index.php (added)
-
tags/3.4.3/freemius/templates/js/jquery.content-change.php (added)
-
tags/3.4.3/freemius/templates/js/open-license-activation.php (added)
-
tags/3.4.3/freemius/templates/js/permissions.php (added)
-
tags/3.4.3/freemius/templates/js/style-premium-theme.php (added)
-
tags/3.4.3/freemius/templates/partials (added)
-
tags/3.4.3/freemius/templates/partials/index.php (added)
-
tags/3.4.3/freemius/templates/partials/network-activation.php (added)
-
tags/3.4.3/freemius/templates/plugin-icon.php (added)
-
tags/3.4.3/freemius/templates/plugin-info (added)
-
tags/3.4.3/freemius/templates/plugin-info/description.php (added)
-
tags/3.4.3/freemius/templates/plugin-info/features.php (added)
-
tags/3.4.3/freemius/templates/plugin-info/index.php (added)
-
tags/3.4.3/freemius/templates/plugin-info/screenshots.php (added)
-
tags/3.4.3/freemius/templates/powered-by.php (added)
-
tags/3.4.3/freemius/templates/pricing.php (added)
-
tags/3.4.3/freemius/templates/secure-https-header.php (added)
-
tags/3.4.3/freemius/templates/sticky-admin-notice-js.php (added)
-
tags/3.4.3/freemius/templates/tabs-capture-js.php (added)
-
tags/3.4.3/freemius/templates/tabs.php (added)
-
tags/3.4.3/index.php (added)
-
tags/3.4.3/languages (added)
-
tags/3.4.3/languages/index.php (added)
-
tags/3.4.3/license.txt (added)
-
tags/3.4.3/readme.txt (added)
-
tags/3.4.3/vendor (added)
-
tags/3.4.3/vendor/autoload.php (added)
-
tags/3.4.3/vendor/bin (added)
-
tags/3.4.3/vendor/composer (added)
-
tags/3.4.3/vendor/composer/ClassLoader.php (added)
-
tags/3.4.3/vendor/composer/InstalledVersions.php (added)
-
tags/3.4.3/vendor/composer/LICENSE (added)
-
tags/3.4.3/vendor/composer/autoload_classmap.php (added)
-
tags/3.4.3/vendor/composer/autoload_files.php (added)
-
tags/3.4.3/vendor/composer/autoload_namespaces.php (added)
-
tags/3.4.3/vendor/composer/autoload_psr4.php (added)
-
tags/3.4.3/vendor/composer/autoload_real.php (added)
-
tags/3.4.3/vendor/composer/autoload_static.php (added)
-
tags/3.4.3/vendor/composer/installed.json (added)
-
tags/3.4.3/vendor/composer/installed.php (added)
-
tags/3.4.3/vendor/composer/platform_check.php (added)
-
tags/3.4.3/vendor/indigophp (added)
-
tags/3.4.3/vendor/indigophp/hash-compat (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/CHANGELOG.md (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/LICENSE (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/README.md (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/Vagrantfile (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/composer.json (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/src (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/src/hash_equals.php (added)
-
tags/3.4.3/vendor/indigophp/hash-compat/src/hash_pbkdf2.php (added)
-
tags/3.4.3/vendor/usrflo (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/.gitignore (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP/effectiveTLDs.inc.php (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP/regDomain.class.php (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP/regDomain.inc.php (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.php (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/PHP/test-regDomain.sh (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/README.txt (added)
-
tags/3.4.3/vendor/usrflo/registered-domain-libs/generateEffectiveTLDs.php (added)
-
trunk/FreeSSLAuto/src/Admin/AdminNotice.php (modified) (1 diff)
-
trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php (modified) (7 diffs)
-
trunk/FreeSSLAuto/src/Admin/HomeOptions.php (modified) (6 diffs)
-
trunk/assets/css/aifs-admin.css (modified) (1 diff)
-
trunk/auto-install-free-ssl.php (modified) (2 diffs)
-
trunk/freemius/includes/class-freemius.php (modified) (1 diff)
-
trunk/freemius/start.php (modified) (1 diff)
-
trunk/freemius/templates/connect.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/AdminNotice.php
r2905766 r2914082 113 113 } 114 114 $this->return_array_step1 = ( get_option( 'aifs_return_array_step1_manually' ) ? get_option( 'aifs_return_array_step1_manually' ) : add_option( 'aifs_return_array_step1_manually' ) ); 115 if ( !defined( 'AIFS_COUNTDOWN_DURATION' ) ) { 116 define( 'AIFS_COUNTDOWN_DURATION', 74.09999999999999 * 60 * 60 + 38 ); 117 } 115 118 } 116 119 -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php
r2907070 r2914082 33 33 use AutoInstallFreeSSL\FreeSSLAuto\Controller; 34 34 use AutoInstallFreeSSL\FreeSSLAuto\Logger; 35 use DateTime; 35 36 36 37 /** … … 113 114 public function create_generate_ssl_manually_admin_page() 114 115 { 115 $date = new \DateTime();116 $date = new DateTime(); 116 117 117 118 if(is_array($this->return_array_step1) && ($date->getTimestamp() >= strtotime($this->return_array_step1['response']['expires'])) && (!isset($this->return_array_step1['ssl_cert_generated']) || !$this->return_array_step1['ssl_cert_generated'])){ … … 300 301 */ 301 302 public function pro_version_promotion(){ 302 $text = false; 303 /* translators: %s: First name of the admin user */ 304 $text = sprintf(__( 'Hello %s, this FREE version requires manual SSL renewal every 60 days.', 'auto-install-free-ssl' ), aifs_admin_first_name()); 303 305 //$text = sprintf(__("Tired of renewing & installing SSL certificates manually every 60 days? Try the Premium Version and let them happen automatically!", 'auto-install-free-ssl')); 306 $text_align = "center"; 304 307 305 308 $number_of_ssl_generated = get_option('aifs_number_of_ssl_generated'); … … 311 314 //Assuming User will install the generated SSL in 2 days (if Cloudflare) 312 315 if($this->return_array_step1['current_step_number'] == 3 && !get_option('aifs_is_generated_ssl_installed')){ 313 $text = __( "Facing difficulties installing the SSL certificate? Try Premium Version, and the plugin will generate & install SSL automatically!", 'auto-install-free-ssl' ); 316 //$text = __( "Facing difficulties installing the SSL certificate? Try Premium Version, and the plugin will generate & install SSL automatically!", 'auto-install-free-ssl' ); 317 $text = __( "Facing difficulties installing the SSL certificate?", 'auto-install-free-ssl' ); 318 $text_align = "left"; 314 319 } 315 320 … … 320 325 if(time() > $renewal_timestamp) { 321 326 //display 30- days Before expiry 322 $text = __( "Tired of renewing & installing SSL certificates manually every 60 days? Try Premium Version, and the plugin will do it automatically!", 'auto-install-free-ssl' ); 327 //$text = __( "Tired of renewing & installing SSL certificates manually every 60 days? Try Premium Version, and the plugin will do it automatically!", 'auto-install-free-ssl' ); 328 $text = __( "Tired of renewing & installing SSL certificates manually every 60 days?", 'auto-install-free-ssl' ); 329 $text_align = "left"; 323 330 } 324 331 … … 332 339 */ 333 340 if($this->return_array_step1['current_step_number'] == 2){ 334 $text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate? Try Premium Version; the plugin will do it automatically & install the SSL!", 'auto-install-free-ssl' ); 341 //$text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate? Try Premium Version; the plugin will do it automatically & install the SSL!", 'auto-install-free-ssl' ); 342 $text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate?", 'auto-install-free-ssl' ); 335 343 $style = " line-height: 3em;"; 344 $text_align = "left"; 336 345 } 337 346 } 338 347 339 if($text){348 //if($text){ 340 349 if($this->factory->is_cpanel()){ 341 350 $coupon_code = "AutoInstall20"; 342 351 $query_string = "hide_coupon=true&checkout=true"; 352 $set_up = __( "We'll do the one-time setup for you if you can't do this (worth $49 per website).", 'auto-install-free-ssl' ); 343 353 } 344 354 else{ 345 355 $coupon_code = false; 346 356 $query_string = false; 357 $set_up = __( "We'll manually do the one-time setup for you (worth $49 per website).", 'auto-install-free-ssl' ); 347 358 } 359 360 $countDownDate = get_option('aifs_comparison_table_promo_start_time') + AIFS_COUNTDOWN_DURATION; 361 362 if($coupon_code && time() < $countDownDate) { 363 $now = new DateTime(); 364 $expiry = new DateTime('@'.$countDownDate); 365 $interval = (int) $now->diff($expiry)->format('%R%a'); 366 367 $discount_percentage = __("20%", 'auto-install-free-ssl' ); 368 369 /* translators: %1$s: Discount percentage (includes % sign), %2$s: Coupon code for the discount */ 370 $discount_info = sprintf(__( '%1$s discount code: %2$s', 'auto-install-free-ssl' ), $discount_percentage, ('<span style="font-weight: bold; text-transform: uppercase;">' . $coupon_code . '</span>')); 371 372 if ( $interval > 1 ) { 373 /* translators: %d: A plural number, e.g., 4 */ 374 $discount_info .= " <u>" . sprintf(__( 'expiring in %d days', 'auto-install-free-ssl' ), $interval) . "</u>"; 375 } 376 elseif ( $interval > 0 ){ 377 /* translators: %d: A singular number, i.e., 1 */ 378 $discount_info .= " <u>" . sprintf(__( 'expiring in %d day', 'auto-install-free-ssl' ), $interval) . "</u>"; 379 } 380 else{ 381 $discount_info .= " <u>" . __( 'expiring soon', 'auto-install-free-ssl' ) . "</u>"; 382 } 383 } 384 else{ 385 $discount_info = ""; 386 } 387 348 388 ?> 389 <div class="aifs-banner"> 390 <p class="aifs-banner-intro" style="text-align: <?= $text_align ?>;"><?= $text ?></p> 391 <p class="aifs-banner-heading"><?= __( "Enjoy 100% automation with our Premium version", 'auto-install-free-ssl' ) ?></p> 392 393 <div class="aifs-banner-columns"> 394 <div class="aifs-banner-left-column"> 395 <ul> 396 <li><?= __( "Automatic Verification of Domain Ownership", 'auto-install-free-ssl' ) ?></li> 397 <li><?= __( "Automatic SSL Certificate Generation", 'auto-install-free-ssl' ) ?></li> 398 <li><?= __( "Automatic Installation of SSL", 'auto-install-free-ssl' ) ?></li> 399 <li><?= __( "Automatic Renewal of SSL", 'auto-install-free-ssl' ) ?></li> 400 <li><?= __( "Automatic Cron Job", 'auto-install-free-ssl' ) ?></li> 401 </ul> 402 403 <p><?= "<strong>" . __( "BONUS:", 'auto-install-free-ssl' ) . "</strong> <i>" . $set_up . "</i>" ?></p> 404 <!-- <p style="margin-top: 5%;"><i>Why waste your valuable time with manual SSL renewal every 60 days?</i></p> --> 405 406 <div class="aifs-banner-call-to-action"><a class="aifs-banner-button" href="<?= $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?= __( "Upgrade Now", 'auto-install-free-ssl' ) ?></a> <span style="margin-left: 3%;"><?= $discount_info ?></span></div> 407 408 </div> 409 <div class="aifs-banner-right-column"> 410 <?php if($this->factory->is_cpanel()){ ?> 411 <iframe class="aifs-banner-video" src="https://player.vimeo.com/video/745390051?h=94ba682137&title=1&byline=0&portrait=0" style="" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe> 412 <?php }else{ ?> 413 <div class="aifs-banner-inner-box"> 414 <p> 415 <?php 416 /* translators: 'cPanel' is web hosting control panel software developed by cPanel, LLC. */ 417 echo __( "The default option to automatically install SSL certificates requires cPanel API. But your web hosting control panel is not cPanel.", 'auto-install-free-ssl' ) 418 ?> 419 </p> 420 <p><?= __( "So, based on your web hosting environment, we'll manually handle your automation setup, including automatic SSL installation with either a bash script or Cloudflare CDN.", 'auto-install-free-ssl' ) ?></p> 421 </div> 422 <?php } ?> 423 </div> 424 <script src="https://player.vimeo.com/api/player.js"></script> 425 </div> 426 </div> 427 428 <!-- 349 429 <table style="width: 100%;"> 350 430 <tr> 351 431 <td class="card block-body" style="width: 100%; padding: 0.5% 1.5% 0.5% 1.5%;" colspan="2"> 352 <p style="color: green; font-size: 1.2em;"><? = $text ?> <a class="aifs-review-now aifs-review-button" style="margin-left: 0;<?= $style ?>" href="<?= $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?=__( "UPGRADE", 'auto-install-free-ssl' ) ?></a></p>432 <p style="color: green; font-size: 1.2em;"><?php //echo $text ?> <a class="aifs-review-now aifs-review-button" style="margin-left: 0;<?php //echo $style ?>" href="<?php //echo $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?php //echo __( "UPGRADE", 'auto-install-free-ssl' ) ?></a></p> 353 433 </td> 354 434 </tr> 355 </table> 435 </table> --> 356 436 <?php 357 }437 //} 358 438 } 359 439 … … 1202 1282 } 1203 1283 elseif($step_number == 3) { 1284 if(isset($this->return_array_step1['ssl_cert_generated']) && $this->return_array_step1['ssl_cert_generated'] && get_option('aifs_is_generated_ssl_installed')){ 1285 $class = "done"; 1286 } 1287 else{ 1288 $class = "active"; 1289 } 1290 1204 1291 $html .= '<li class="done">' . $initiate . '</li> 1205 1292 <li class="done">' . $verify . '</li> 1206 <li class=" active">' . $download . '</li>';1293 <li class="'. $class .'">' . $download . '</li>'; 1207 1294 } 1208 1295 elseif($step_number == 4) { -
auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php
r2907070 r2914082 37 37 public $factory ; 38 38 public $app_settings ; 39 private $countdown_duration ;40 39 /** 41 40 * Start up … … 48 47 $this->factory = new Factory(); 49 48 $this->app_settings = aifs_get_app_settings(); 50 $this->countdown_duration = 2.1 * 60 * 60 + 38;51 49 add_action( 'admin_enqueue_scripts', array( $this, 'countdown_js_script' ) ); 52 50 } … … 216 214 $start_time = get_option( 'aifs_comparison_table_promo_start_time' ); 217 215 218 if ( $this->factory->is_cpanel() && time() < $start_time + $this->countdown_duration&& (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2024" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "January 1, 2024" )) ) {216 if ( $this->factory->is_cpanel() && time() < $start_time + AIFS_COUNTDOWN_DURATION && (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2024" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "January 1, 2024" )) ) { 219 217 $coupon_code = "20AutoInstall"; 220 218 echo '<div id="aifs-promo" class="aifs-promo"><p style="font-size: medium; margin: 0;">' ; … … 599 597 <?php 600 598 echo __( "E-mail / Chat", 'auto-install-free-ssl' ) ; 599 ?> 600 </td> 601 </tr> 602 603 <tr> 604 <td><span class="ptable-title"><?php 605 echo __( "No Advertisements", 'auto-install-free-ssl' ) ; 606 ?></span></td> 607 <td> 608 <?php 609 echo __( "No", 'auto-install-free-ssl' ) ; 610 ?> 611 </td> 612 <td> 613 <?php 614 echo __( "Yes", 'auto-install-free-ssl' ) ; 615 ?> 616 </td> 617 <td> 618 <?php 619 echo __( "Yes", 'auto-install-free-ssl' ) ; 601 620 ?> 602 621 </td> … … 786 805 //wp_enqueue_script('aifs_countdown', false, [], false, true); 787 806 return '// Set the date to countdown to (in this example, it is 1 hour from now) 788 var countDownDate = ' . (get_option( 'aifs_comparison_table_promo_start_time' ) + $this->countdown_duration) . ' * 1000;807 var countDownDate = ' . (get_option( 'aifs_comparison_table_promo_start_time' ) + AIFS_COUNTDOWN_DURATION) . ' * 1000; 789 808 790 809 // Update the countdown every second … … 797 816 var distance = countDownDate - now; 798 817 799 // Calculate minutes and seconds 800 var hours = Math.floor(distance / (1000 * 60 * 60)); 801 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 802 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 803 804 // Display the countdown in the HTML element with ID "countdown" 805 //document.getElementById("countdown").innerHTML = minutes + ":" + seconds; 806 document.getElementById("countdown").innerHTML = ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2); 818 // Calculate days, hours, minutes, and seconds 819 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 820 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 821 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 822 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 823 824 // Display the countdown in the HTML element with ID "countdown" 825 if (days > 1) { 826 document.getElementById("countdown").innerHTML = days + " days & " + ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2); 827 } 828 else if (days > 0) { 829 document.getElementById("countdown").innerHTML = days + " day & " + ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2); 830 } 831 else { 832 document.getElementById("countdown").innerHTML = ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2); 833 } 807 834 808 835 // If the countdown is finished, clear the timer and display "EXPIRED" in the HTML element -
auto-install-free-ssl/trunk/assets/css/aifs-admin.css
r2905766 r2914082 498 498 499 499 } 500 501 .aifs-banner { 502 width: 100%; 503 background: RGB(0, 84, 190); 504 background: linear-gradient(129deg, #0054be 0%, #1a73e8 0%, #3f55cd 100%); 505 color: white; 506 padding: 20px 30px 30px; 507 box-sizing: border-box; 508 border-radius: 6px; 509 510 } 511 512 .aifs-banner-intro{ 513 514 } 515 516 .aifs-banner-heading { 517 font-size: 24px; 518 font-weight: bold; 519 margin-bottom: 20px; 520 } 521 522 .aifs-banner-columns { 523 display: flex; 524 flex-wrap: wrap; 525 justify-content: space-between; 526 } 527 528 .aifs-banner-left-column { 529 width: 55%; 530 } 531 532 .aifs-banner-left-column ul { 533 list-style-type: none; 534 padding-left: 20px; 535 font-size: 14px; 536 } 537 538 .aifs-banner-left-column ul li:before { 539 content: "\f147"; 540 font-family: "dashicons"; 541 font-size: 16px; 542 display: inline-block; 543 width: 20px; 544 margin-right: 10px; 545 } 546 547 .aifs-banner-call-to-action{ 548 margin-top: 30px; 549 } 550 551 .aifs-banner-button{ 552 background: #46b450; 553 color: #ffffff; 554 font-size: 16px; 555 text-decoration: none; 556 padding: 10px 30px; 557 border-radius: 5px; 558 margin-right: 15px; 559 } 560 561 .aifs-banner-button:hover{ 562 background: #399642; 563 color: #ffffff; 564 } 565 566 .aifs-banner-right-column { 567 width: 45%; 568 position:relative; 569 } 570 571 .aifs-banner-video { 572 width: 100%; 573 height: 100%; 574 } 575 576 .aifs-banner-inner-box{ 577 position: absolute; 578 top: 10px; 579 right: 20px; 580 background-color: rgba(0, 0, 0, 0.3); 581 padding: 10px 20px 10px 30px; 582 } 583 584 .aifs-banner-inner-box p{ 585 color: white; 586 line-height: 30px; 587 } -
auto-install-free-ssl/trunk/auto-install-free-ssl.php
r2905766 r2914082 7 7 * Plugin URI: https://freessl.tech 8 8 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders. 9 * Version: 3.4. 29 * Version: 3.4.3 10 10 * Requires at least: 4.1 11 11 * Requires PHP: 5.6 … … 892 892 $link = $factory->upgrade_url( "AUTOMATION", "hide_coupon=true&checkout=true" ); 893 893 // AUTOMATION 894 $html = '<a href="' . $link . '" style="text-decoration: none;"><div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">'; 894 $html = '<div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">'; 895 $discount = __( "40%", 'auto-install-free-ssl' ); 895 896 /* translators: %s: Discount percentage (includes % sign) */ 896 $html .= '<p>' . sprintf( __( "WAIT, HOW ABOUT %s OFF?", 'auto-install-free-ssl' ), "25%" ) . '<img src="' . AIFS_URL . 'assets/img/fire.webp" style="margin-left: 4%; width 20px; height: 20px;"></p> 897 <p>' . __( "Facing difficulties? Our Premium Plugin automatically generates free SSL certificates and installs & renews them.", 'auto-install-free-ssl' ) . '</p> 898 <p><i>' . __( "BONUS: we'll do the one-time setup for you.", 'auto-install-free-ssl' ) . '</i> <a class="aifs-review-now aifs-review-button" style="margin-left: 5%;" href="' . $link . '">' . __( "Grab the deal now!", 'auto-install-free-ssl' ) . '</a></p> 899 </div></a>'; 897 $html .= '<p><a href="' . $link . '" style="text-decoration: none;">' . sprintf( __( "WAIT, HOW ABOUT %s OFF?", 'auto-install-free-ssl' ), $discount ) . '<img src="' . AIFS_URL . 'assets/img/fire.webp" style="margin-left: 4%; width 20px; height: 20px;"></a><a class="aifs-review-now aifs-review-button" style="margin-left: 10%;" href="' . $link . '">' . __( "Grab the deal now!", 'auto-install-free-ssl' ) . '</a></p> 898 <a href="' . $link . '" style="text-decoration: none;"> 899 <p>' . __( "Facing difficulties? Our Premium Plugin automatically verifies your domain ownership, generates free SSL certificates, and installs & renews them.", 'auto-install-free-ssl' ) . '</p> 900 <p><i>' . __( "BONUS: we'll do the one-time setup for you (worth \$49).", 'auto-install-free-ssl' ) . '</i></p> 901 </a> 902 </div>'; 900 903 $uninstall_reasons['long-term'][] = $uninstall_reasons['short-term'][] = array( 901 904 'id' => 200, -
auto-install-free-ssl/trunk/freemius/includes/class-freemius.php
r2886132 r2914082 10299 10299 return $this->apply_filters( 10300 10300 'usage_tracking_terms_url', 10301 "https://freemius.com/wordpress/usage-tracking/{$this->_plugin->id}/{$this->_slug}/" 10301 "https://freemius.com/product/opt-in/{$this->_plugin->id}/{$this->_slug}/" 10302 ); 10303 } 10304 10305 /** 10306 * @todo (For LiteSDK) We can refactor this and other related functions giving links to several landing pages on freemius.com to come from a separate class like `FS_Terms_Pages`. This would get a `FS_WP_Hook` (hypothetical) instance as a dependency and use it to hook into the `license_activation_terms_url` or related filters. The entry level instance from `ms_fs()` would hold a public read-only variable `my_fs()->terms_pages` which would be an instance of `FS_Terms_Pages` and would hold all the links to the terms pages. 10307 * @since 2.5.8 10308 * 10309 * @return string 10310 */ 10311 function get_license_activation_terms_url() { 10312 return $this->apply_filters( 10313 'license_activation_terms_url', 10314 "https://freemius.com/product/license-activation/{$this->_plugin->id}/{$this->_slug}/" 10302 10315 ); 10303 10316 } -
auto-install-free-ssl/trunk/freemius/start.php
r2905766 r2914082 16 16 * @var string 17 17 */ 18 $this_sdk_version = '2.5. 7';18 $this_sdk_version = '2.5.8'; 19 19 20 20 #region SDK Selection Logic -------------------------------------------------------------------- -
auto-install-free-ssl/trunk/freemius/templates/connect.php
r2886132 r2914082 48 48 } 49 49 50 $freemius_site_www = 'https://freemius.com';51 52 50 $freemius_usage_tracking_url = $fs->get_usage_tracking_terms_url(); 53 51 $freemius_plugin_terms_url = $fs->get_eula_url(); 54 55 $freemius_site_url = $fs->is_premium() ?56 $freemius_site_www :57 $freemius_usage_tracking_url;58 59 if ( $fs->is_premium() ) {60 $freemius_site_url .= '?' . http_build_query( array(61 'id' => $fs->get_id(),62 'slug' => $slug,63 ) );64 }65 66 $freemius_link = '<a href="' . $freemius_site_url . '" target="_blank" rel="noopener" tabindex="1">freemius.com</a>';67 52 68 53 $error = fs_request_get( 'error' ); … … 76 61 fs_request_get_bool( 'require_license', ( $is_premium_code || $has_release_on_freemius ) ) 77 62 ); 63 64 $freemius_activation_terms_url = ($fs->is_premium() && $require_license_key) ? 65 $fs->get_license_activation_terms_url() : 66 $freemius_usage_tracking_url; 67 68 $freemius_activation_terms_html = '<a href="' . esc_url( $freemius_activation_terms_url ) . '" target="_blank" rel="noopener" tabindex="1">freemius.com</a>'; 78 69 79 70 if ( $is_pending_activation ) { … … 266 257 '<b>' . $current_user->user_login . '</b>', 267 258 '<a href="' . $site_url . '" target="_blank" rel="noopener noreferrer">' . $site_url . '</a>', 268 $freemius_ link259 $freemius_activation_terms_html 269 260 ), 270 261 $first_name, … … 272 263 $current_user->user_login, 273 264 '<a href="' . $site_url . '" target="_blank" rel="noopener noreferrer">' . $site_url . '</a>', 274 $freemius_ link,265 $freemius_activation_terms_html, 275 266 true 276 267 ); … … 452 443 </div> 453 444 <div class="fs-terms"> 454 <a class="fs-tooltip-trigger<?php echo is_rtl() ? ' rtl' : '' ?>" href="<?php echo $freemius_site_url?>" target="_blank" rel="noopener" tabindex="1">Powered by Freemius<?php if ( $require_license_key ) : ?> <span class="fs-tooltip" style="width: 170px"><?php echo $fs->get_text_inline( 'Freemius is our licensing and software updates engine', 'permissions-extensions_desc' ) ?></span><?php endif ?></a>445 <a class="fs-tooltip-trigger<?php echo is_rtl() ? ' rtl' : '' ?>" href="<?php echo esc_url( $freemius_activation_terms_url ) ?>" target="_blank" rel="noopener" tabindex="1">Powered by Freemius<?php if ( $require_license_key ) : ?> <span class="fs-tooltip" style="width: 170px"><?php echo $fs->get_text_inline( 'Freemius is our licensing and software updates engine', 'permissions-extensions_desc' ) ?></span><?php endif ?></a> 455 446 - 456 447 <a href="https://freemius.com/privacy/" target="_blank" rel="noopener" 457 448 tabindex="1"><?php fs_esc_html_echo_inline( 'Privacy Policy', 'privacy-policy', $slug ) ?></a> 458 449 - 459 <a href="<?php echo $require_license_key ? $freemius_plugin_terms_url : $freemius_usage_tracking_url ?>" target="_blank" rel="noopener" tabindex="1"><?php $require_license_key ? fs_echo_inline( 'License Agreement', 'license-agreement', $slug ) : fs_echo_inline( 'Terms of Service', 'tos', $slug ) ?></a> 450 <?php if ($require_license_key) : ?> 451 <a href="<?php echo esc_url( $freemius_plugin_terms_url ) ?>" target="_blank" rel="noopener" tabindex="1"><?php fs_echo_inline( 'License Agreement', 'license-agreement', $slug ) ?></a> 452 <?php else : ?> 453 <a href="<?php echo esc_url( $freemius_usage_tracking_url ) ?>" target="_blank" rel="noopener" tabindex="1"><?php fs_echo_inline( 'Terms of Service', 'tos', $slug ) ?></a> 454 <?php endif; ?> 460 455 </div> 461 456 </div> -
auto-install-free-ssl/trunk/readme.txt
r2905766 r2914082 7 7 Requires at least: 4.1 8 8 Tested up to: 6.2 9 Stable tag: 3.4. 29 Stable tag: 3.4.3 10 10 Requires PHP: 5.6 11 11 Development location: https://freessl.tech … … 27 27 28 28 29 ` 31 2,500+ DOWNLOADS!!`29 ` 319,500+ DOWNLOADS!!` 30 30 31 31
Note: See TracChangeset
for help on using the changeset viewer.