diff --git a/system/typemill/Models/License.php b/system/typemill/Models/License.php index 3230b7f..70c3a3f 100644 --- a/system/typemill/Models/License.php +++ b/system/typemill/Models/License.php @@ -14,7 +14,7 @@ class License 'name' => 'MAKER', 'scope' => ['MAKER' => true] ], - '33334' => [ + '44700' => [ 'name' => 'BUSINESS', 'scope' => ['MAKER' => true, 'BUSINESS' => true] ] @@ -55,7 +55,7 @@ class License $domain = $this->checkLicenseDomain($licensedata['domain'], $urlinfo); $date = $this->checkLicenseDate($licensedata['payed_until']); - $domain = true; +# $domain = true; if($domain && $date) { @@ -203,7 +203,13 @@ class License $signedLicense['license']['email'] = trim($params['email']); $storage = new StorageWrapper('\Typemill\Models\Storage'); - $storage->updateYaml('basepath', 'settings', 'license.yaml', $signedLicense['license']); + $result = $storage->updateYaml('settingsFolder', '', 'license.yaml', $signedLicense['license']); + + if(!$result) + { + $this->message = $storage->getError(); + return false; + } return true; } diff --git a/system/typemill/author/css/custom.css b/system/typemill/author/css/custom.css index bbbd441..cacd323 100644 --- a/system/typemill/author/css/custom.css +++ b/system/typemill/author/css/custom.css @@ -572,4 +572,13 @@ } .pl-21{ padding-left: 5rem; +} + + +/**************** +** Checkmark List ** +****************/ + +ul.list-check { + list-style-type: '\2713'; } \ No newline at end of file diff --git a/system/typemill/author/js/vue-license.js b/system/typemill/author/js/vue-license.js index 68df200..1d54fba 100644 --- a/system/typemill/author/js/vue-license.js +++ b/system/typemill/author/js/vue-license.js @@ -4,15 +4,19 @@ const app = Vue.createApp({
Your license is out of date. Please check if the payments for your subscription were successfull.
Your license is only valid for the domain listed in your license data below.
-Congratulations! Your license is ok and you can enjoy all features.
+Congratulations! Your license is active and you can enjoy all features until you cancel your subscription. You can manage your subscription at paddle.net
{{ licenseData.plan }}-LICENSE
+122 € + VAT per year. Perfect for companies.
+{{ licenseData.payed_until }}
The subscription extends automatically for 12 month every time until you cancel your subscription.
+For testing, you can also use the domains 'localhost', '127.0.0.1', and the subdomain 'typemilltest.'.
{{ licenseData.plan }}-LICENSE
+