summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wisselink <wisskid@users.noreply.github.com>2025-12-21 22:58:11 +0100
committerGitHub <noreply@github.com>2025-12-21 22:58:11 +0100
commitaa6edc3c0bf8fc77cda9a06320021328c924cd68 (patch)
tree6a39e56306cb53bbc0b85d808117a4b0c84b0ddc
parent73da7e90f302175a570662fcb0ba41f57b7a92ab (diff)
downloadsmarty-aa6edc3c0bf8fc77cda9a06320021328c924cd68.tar.gz
smarty-aa6edc3c0bf8fc77cda9a06320021328c924cd68.tar.bz2
smarty-aa6edc3c0bf8fc77cda9a06320021328c924cd68.zip
Document missing inline implementation. Fixed #1152 (#1156)
-rw-r--r--changelog/1152.md1
-rw-r--r--docs/designers/language-builtin-functions/language-function-include.md12
2 files changed, 8 insertions, 5 deletions
diff --git a/changelog/1152.md b/changelog/1152.md
new file mode 100644
index 00000000..42b6c0c9
--- /dev/null
+++ b/changelog/1152.md
@@ -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) \ No newline at end of file
diff --git a/docs/designers/language-builtin-functions/language-function-include.md b/docs/designers/language-builtin-functions/language-function-include.md
index 0710db7d..28d208e4 100644
--- a/docs/designers/language-builtin-functions/language-function-include.md
+++ b/docs/designers/language-builtin-functions/language-function-include.md
@@ -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