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

+
+
+

BUSINESS License

+

122 € + VAT per year. Perfect for companies.

+
    +
  • Use all MAKER and BUSINESS products.
  • +
  • For one domain.
  • +
  • For one year.
  • +
  • Until you cancel.
  • +
@@ -26,6 +30,8 @@ const app = Vue.createApp({

{{ 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.'.

@@ -44,8 +50,6 @@ const app = Vue.createApp({
- -
{{ fieldDefinition.legend }} @@ -74,11 +78,19 @@ const app = Vue.createApp({
- - - `, +/* + +
+ +
+
+

{{ licenseData.plan }}-LICENSE

+
+*/ + + data() { return { licenseData: data.licensedata, @@ -87,7 +99,7 @@ const app = Vue.createApp({ message: '', messageClass: '', errors: {}, - src: tmaxios.defaults.baseURL + "/system/author/img/favicon-144.png" + src: data.urlinfo.baseurl + "/system/typemill/author/img/typemill-icon.png" } }, mounted() {