aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/page.header.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-10-16 17:41:08 +0200
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:30:13 +0100
commit4e4479ddc561abaf3564359bdb663dd954c4215b (patch)
tree5e530d054da58789163b1f936ecd4f27bc2eb37d /tpl/page.header.html
parentbaec9c402873a716497b591b9756bf5b2c46ed9b (diff)
downloadShaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.tar.gz
Shaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.tar.zst
Shaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.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.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/page.header.html b/tpl/page.header.html
index b9fc5275..89879678 100644
--- a/tpl/page.header.html
+++ b/tpl/page.header.html
@@ -50,7 +50,7 @@
50 50
51{if="!empty($plugin_errors) && isLoggedIn()"} 51{if="!empty($plugin_errors) && isLoggedIn()"}
52 <ul class="errors"> 52 <ul class="errors">
53 {loop="plugin_errors"} 53 {loop="$plugin_errors"}
54 <li>{$value}</li> 54 <li>{$value}</li>
55 {/loop} 55 {/loop}
56 </ul> 56 </ul>