From 2fdae5bf11789fa206f18706d49713ccf440c27f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 25 Jan 2023 10:11:04 +0100 Subject: [PATCH] Perform large-scale removal of unneeded `@` symbols in templates --- docs/javascript/general-usage.md | 6 +++--- docs/migration/wsc53/javascript.md | 2 +- docs/tutorial/series/part_2.md | 2 +- docs/view/template-plugins.md | 2 +- docs/view/templates.md | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/javascript/general-usage.md b/docs/javascript/general-usage.md index 8b2b5200..5909c261 100644 --- a/docs/javascript/general-usage.md +++ b/docs/javascript/general-usage.md @@ -65,7 +65,7 @@ and thus avoid outdated caches by relying on a unique value, without invalidatin the cache more often that it needs to be. ```html - + ``` For small scripts you can simply serve the full, non-minified version to the user @@ -80,7 +80,7 @@ the minified and optimized file to the average visitor. You should use the `ENABLE_DEBUG_MODE` constant to decide which version should be loaded. ```html - + ``` ### The Accelerated Guest View ("Tiny Builds") @@ -93,7 +93,7 @@ for visitors. If you are providing a separate compiled build for this mode, you' need to include yet another switch to serve the right version to the visitor. ```html - + ``` ### The `{js}` Template Plugin diff --git a/docs/migration/wsc53/javascript.md b/docs/migration/wsc53/javascript.md index cd9f4c02..4bce6df6 100644 --- a/docs/migration/wsc53/javascript.md +++ b/docs/migration/wsc53/javascript.md @@ -88,7 +88,7 @@ Example: {foreach from=$objects item=foo} - + {objectAction action="toggle" isDisabled=$foo->isDisabled} {objectAction action="delete" objectTitle=$foo->getTitle()} diff --git a/docs/tutorial/series/part_2.md b/docs/tutorial/series/part_2.md index 047b8c61..1cc95497 100644 --- a/docs/tutorial/series/part_2.md +++ b/docs/tutorial/series/part_2.md @@ -138,7 +138,7 @@ As the relevant template codes are only one line each, we will simply put them d The code for the table head is similar to the other `th` elements: ```smarty -{lang}wcf.person.birthday{/lang} +{lang}wcf.person.birthday{/lang} ``` For the table body’s column, we need to make sure that the birthday is only show if it is actually set: diff --git a/docs/view/template-plugins.md b/docs/view/template-plugins.md index df4a0ac9..c7879b3a 100644 --- a/docs/view/template-plugins.md +++ b/docs/view/template-plugins.md @@ -32,7 +32,7 @@ This functionality makes it easy to generate links with popover support. Instead of ```smarty -{$entry->subject} +{$entry->subject} ``` using diff --git a/docs/view/templates.md b/docs/view/templates.md index 8fc29e58..a4e89395 100644 --- a/docs/view/templates.md +++ b/docs/view/templates.md @@ -126,8 +126,8 @@ More information about installing templates can be found on those pages.