Skip to content

Commit 71c117d

Browse files
committed
Merge branch '5.4' into 5.5
2 parents cf77a6b + 2fdae5b commit 71c117d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/javascript/general-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ and thus avoid outdated caches by relying on a unique value, without invalidatin
6565
the cache more often that it needs to be.
6666

6767
```html
68-
<script data-relocate="true" src="{@$__wcf->getPath('app')}js/App.js?t={@LAST_UPDATE_TIME}"></script>
68+
<script data-relocate="true" src="{$__wcf->getPath('app')}js/App.js?t={@LAST_UPDATE_TIME}"></script>
6969
```
7070

7171
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
8080
`ENABLE_DEBUG_MODE` constant to decide which version should be loaded.
8181

8282
```html
83-
<script data-relocate="true" src="{@$__wcf->getPath('app')}js/App{if !ENABLE_DEBUG_MODE}.min{/if}.js?t={@LAST_UPDATE_TIME}"></script>
83+
<script data-relocate="true" src="{$__wcf->getPath('app')}js/App{if !ENABLE_DEBUG_MODE}.min{/if}.js?t={@LAST_UPDATE_TIME}"></script>
8484
```
8585

8686
### The Accelerated Guest View ("Tiny Builds")
@@ -91,7 +91,7 @@ The “Accelerated Guest View” aims to decrease page size and to improve respo
9191
If you are providing a separate compiled build for this mode, you'll need to include yet another switch to serve the right version to the visitor.
9292

9393
```html
94-
<script data-relocate="true" src="{@$__wcf->getPath('app')}js/App{if !ENABLE_DEBUG_MODE}{if VISITOR_USE_TINY_BUILD}.tiny{/if}.min{/if}.js?t={@LAST_UPDATE_TIME}"></script>
94+
<script data-relocate="true" src="{$__wcf->getPath('app')}js/App{if !ENABLE_DEBUG_MODE}{if VISITOR_USE_TINY_BUILD}.tiny{/if}.min{/if}.js?t={@LAST_UPDATE_TIME}"></script>
9595
```
9696

9797
### The `{js}` Template Plugin

docs/migration/wsc53/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Example:
8888
8989
<tbody>
9090
{foreach from=$objects item=foo}
91-
<tr class="jsObjectActionObject" data-object-id="{@$foo->getObjectID()}">
91+
<tr class="jsObjectActionObject" data-object-id="{$foo->getObjectID()}">
9292
<td class="columnIcon">
9393
{objectAction action="toggle" isDisabled=$foo->isDisabled}
9494
{objectAction action="delete" objectTitle=$foo->getTitle()}

docs/tutorial/series/part_2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ As the relevant template codes are only one line each, we will simply put them d
138138
The code for the table head is similar to the other `th` elements:
139139

140140
```smarty
141-
<th class="columnDate columnBirthday{if $sortField == 'birthday'} active {@$sortOrder}{/if}"><a href="{link controller='PersonList'}pageNo={@$pageNo}&sortField=birthday&sortOrder={if $sortField == 'birthday' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.person.birthday{/lang}</a></th>
141+
<th class="columnDate columnBirthday{if $sortField == 'birthday'} active {$sortOrder}{/if}"><a href="{link controller='PersonList'}pageNo={@$pageNo}&sortField=birthday&sortOrder={if $sortField == 'birthday' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.person.birthday{/lang}</a></th>
142142
```
143143

144144
For the table body’s column, we need to make sure that the birthday is only show if it is actually set:

docs/view/template-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This functionality makes it easy to generate links with popover support.
3232
Instead of
3333

3434
```smarty
35-
<a href="{$entry->getLink()}" class="blogEntryLink" data-object-id="{@$entry->entryID}">{$entry->subject}</a>
35+
<a href="{$entry->getLink()}" class="blogEntryLink" data-object-id="{$entry->entryID}">{$entry->subject}</a>
3636
```
3737

3838
using

0 commit comments

Comments
 (0)