Skip to content

Commit

Permalink
2.17 legacy release
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Dec 9, 2021
1 parent 3102a17 commit c8b1b41
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions content/smartTemplate-fileTemplates.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<em:version>2.17pre104</em:version>
<em:version>2.17</em:version>
<em:homepageURL>https://smarttemplates.quickfolders.org/index.html</em:homepageURL>
<em:type>2</em:type>
<em:targetApplication RDF:resource="rdf:#$Vsomz2"/>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<b>Enhancements</b>
<ul>
<li><a href="https://github.com/RealRaven2000/SmartTemplates/issues/142">[issue 142]</a> New feature to insert html Smart snippets within Composer.</li>
<li><a href="https://github.com/RealRaven2000/SmartTemplates/issues/164">[issue 164]</a> Feature: Added *selection* placeholder for inserting HTML snippets (fragments).</li>
<li><a href="https://github.com/RealRaven2000/SmartTemplates/issues/164">[issue 164]</a> Feature: Added *selection* placeholder for inserting HTML snippets (fragments). This is a SmartTemplates Pro feature.</li>
<li><a href="https://github.com/RealRaven2000/SmartTemplate4/issues/147">[issue 147]</a> Added categories / folders to structure template menus</li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion revision.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
104
107

0 comments on commit c8b1b41

Please sign in to comment.