diff --git a/content/smartTemplate-fileTemplates.js b/content/smartTemplate-fileTemplates.js index b0c140263..d669d1b08 100644 --- a/content/smartTemplate-fileTemplates.js +++ b/content/smartTemplate-fileTemplates.js @@ -1345,6 +1345,14 @@ SmartTemplate4.fileTemplates = { } else html = html.replace("*selection*", "%cursor%"); + + if (!SmartTemplate4.Util.hasProLicense) { + SmartTemplate4.Util.addUsedPremiumFunction("snippetSelection"); + if (!SmartTemplate4.Util.hasLicense() || SmartTemplate4.Util.licenseInfo.keyType==2) { + SmartTemplate4.Util.popupLicenseNotification(SmartTemplate4.Util.premiumFeatures, true, true); + } + SmartTemplate4.Util.clearUsedPremiumFunctions(); + } } let flags = SmartTemplate4.PreprocessingFlags; diff --git a/install.rdf b/install.rdf index 6ca05df34..018d07f88 100644 --- a/install.rdf +++ b/install.rdf @@ -14,7 +14,7 @@ em:icon64URL="chrome://smartTemplate4/skin/icon64x64.png" em:optionsURL="chrome://smartTemplate4/content/settings.xul" em:aboutURL="chrome://smartTemplate4/content/about.xul"> - 2.17pre104 + 2.17 https://smarttemplates.quickfolders.org/index.html 2 diff --git a/manifest.json b/manifest.json index baa59907e..83de90cf9 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "manifest_version": 2, "name": "SmartTemplate4", "description": "SmartTemplates customizes quote headers and mail template per account. It also replaces Stationery in Tb 68.", - "version": "2.17pre104", + "version": "2.17", "developer": { "name": "Axel Grude", "url": "https://smarttemplates.quickfolders.org/index.html" diff --git a/release-notes.html b/release-notes.html index 1bf64729d..729dc91e7 100644 --- a/release-notes.html +++ b/release-notes.html @@ -17,7 +17,7 @@ Enhancements diff --git a/revision.txt b/revision.txt index 22c2a8ea4..4625b853f 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -104 +107