Document missing inline implementation. Fixed #1152 (#1156)

This commit is contained in:
Simon Wisselink
2025-12-21 22:58:11 +01:00
committed by GitHub
parent 73da7e90f3
commit aa6edc3c0b
2 changed files with 8 additions and 5 deletions

1
changelog/1152.md Normal file
View File

@ -0,0 +1 @@
- Update documentation to clarify that include inline is currently not implemented in Smarty v5 [#1152](https://github.com/smarty-php/smarty/issues/1152)

View File

@ -47,11 +47,13 @@ available within the included template.
## Option Flags
| Name | Description |
|---------|--------------------------------------------------------------------------------------|
| nocache | Disables caching of this subtemplate |
| caching | Enable caching of this subtemplate |
| inline | If set, merge the compile-code of the subtemplate into the compiled calling template |
| Name | Description |
|-----------|--------------------------------------------------------------------------------------|
| nocache | Disables caching of this subtemplate |
| caching | Enable caching of this subtemplate |
| inline \* | If set, merge the compile-code of the subtemplate into the compiled calling template |
\* The `inline` option flag is currently not implemented in Smarty v5. Using it will not trigger an error, however.
## Examples
```smarty