diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-10-16 17:41:08 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2016-10-16 17:41:08 +0200 |
commit | dec5fe9c6973054a1301982f910de86a19502b55 (patch) | |
tree | b78d43b5692ee6d80ea4e1bb4ac5345c22b880a6 /tpl/page.header.html | |
parent | bb70e690598d270951148e003a4dc253b05868b4 (diff) | |
download | Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.tar.gz Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.tar.zst Shaarli-dec5fe9c6973054a1301982f910de86a19502b55.zip |
Cleanup: explicitely loop over PHP variables in templates
Relates to https://github.com/shaarli/Shaarli/issues/613
Before: {loop="someVariable"}
After: {loop="$someVariable"}
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl/page.header.html')
-rw-r--r-- | tpl/page.header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/page.header.html b/tpl/page.header.html index 0012c689..eac2ed4a 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html | |||
@@ -43,7 +43,7 @@ | |||
43 | 43 | ||
44 | {if="!empty($plugin_errors) && isLoggedIn()"} | 44 | {if="!empty($plugin_errors) && isLoggedIn()"} |
45 | <ul class="errors"> | 45 | <ul class="errors"> |
46 | {loop="plugin_errors"} | 46 | {loop="$plugin_errors"} |
47 | <li>{$value}</li> | 47 | <li>{$value}</li> |
48 | {/loop} | 48 | {/loop} |
49 | </ul> | 49 | </ul> |