21 Commits

Author SHA1 Message Date
Simon Wisselink
7a6cbca7e4 Merge branch 'master' into smarty5 2023-08-07 23:25:59 +02:00
Simon Wisselink
8492bf5c61 Docs on caching 2023-08-07 00:14:54 +02:00
Simon Wisselink
7a323b7345 Update code examples to use Smarty\Smarty and autoload instead of require_once calls and new Smarty 2023-02-06 15:18:47 +01:00
Simon Wisselink
cf84802072 Finished improving designers docs 2023-02-06 14:56:06 +01:00
Simon Wisselink
4c6afd6b37 Improved another chunk of the designers docs 2023-02-06 14:55:07 +01:00
Simon Wisselink
833ba57d42 WIP improving the docs 2023-02-06 14:53:25 +01:00
Simon Wisselink
badcae6e0c Finished improving designers docs 2023-02-06 14:42:31 +01:00
Simon Wisselink
694ff1b733 Improved another chunk of the designers docs 2023-02-06 10:40:00 +01:00
Simon Wisselink
1e0d25638e WIP improving the docs 2023-02-05 23:14:10 +01:00
Simon Wisselink
51ed0d6791 fixes to docs 2023-02-03 22:31:59 +01:00
Simon Wisselink
e6360694bf Add mkdocs for docs 2023-02-03 17:54:00 +01:00
Simon Wisselink
5fdcb3c6fa Fix error in docs on prepend/append. Fixes #818. 2023-01-31 11:24:20 +01:00
Simon Wisselink
9e35cce3f8 Fix error in docs on prepend/append. Fixes #818. 2023-01-31 11:23:50 +01:00
Simon Wisselink
016c9ceb17 Generated <script> tags lo longer have deprecated type="text/javascript" or language="Javascript" attributes.
Fixes #815.
2023-01-31 11:17:41 +01:00
Simon Wisselink
cdf1ed2a50 Simplified the (no)caching architecture by:
- removing support for $cache_attrs for registered plugins,
- removing the undocumented {make_nocache} tag and the deprecated {insert} tag and associated code
- removing support for a compile_id property on include tags.

Fixes a bug in extends: resources by propagating the nocache-hashes between a master template and it's subtemplates in \Smarty\Template::_subTemplateRender. This might need further improvement.
2023-01-13 15:47:57 +01:00
Simon Wisselink
22ce23b47b Made variable scoping more sensible 2023-01-11 11:22:24 +01:00
Simon Wisselink
fd64cc688a Removed PHP functions and checks for the already removed php modifiers. Re-implemented functions as regular functions. Probably should compile these directly. 2023-01-07 23:06:47 +01:00
Andrew Dawes
f81720941c Fixed several typos and grammar errors (#821) 2022-10-22 22:08:38 +02:00
Simon Wisselink
254b5cabee Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class. 2022-09-27 12:21:01 +02:00
Simon Wisselink
cb5efd04c3 Improve the documentation, bringing it up to date with PHP7/8 and Smarty 4 and providing
a more logical introduction and getting started experience.
2021-12-03 16:51:08 +01:00
Simon Wisselink
428a701b18 Feature/add docs (#689)
* Add converted docs repo

* Set theme jekyll-theme-minimal

* Removed BC docs, added TOC

* Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site

* some link fixes
2021-12-03 11:59:22 +01:00