aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/daily.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-10-16 17:41:08 +0200
committerVirtualTam <virtualtam@flibidi.net>2016-10-16 17:41:08 +0200
commitdec5fe9c6973054a1301982f910de86a19502b55 (patch)
treeb78d43b5692ee6d80ea4e1bb4ac5345c22b880a6 /tpl/daily.html
parentbb70e690598d270951148e003a4dc253b05868b4 (diff)
downloadShaarli-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/daily.html')
-rw-r--r--tpl/daily.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/daily.html b/tpl/daily.html
index dde1f376..b82ad483 100644
--- a/tpl/daily.html
+++ b/tpl/daily.html
@@ -42,10 +42,10 @@
42 <div class="clear"></div> 42 <div class="clear"></div>
43 43
44 {if="$linksToDisplay"} 44 {if="$linksToDisplay"}
45 {loop="cols"} 45 {loop="$cols"}
46 {if="isset($value[0])"} 46 {if="isset($value[0])"}
47 <div id="daily_col{$counter+1}"> 47 <div id="daily_col{$counter+1}">
48 {loop="value"} 48 {loop="$value"}
49 {$link=$value} 49 {$link=$value}
50 <div class="dailyEntry"> 50 <div class="dailyEntry">
51 <div class="dailyEntryPermalink"> 51 <div class="dailyEntryPermalink">
@@ -60,7 +60,7 @@
60 {/if} 60 {/if}
61 {if="$link.tags"} 61 {if="$link.tags"}
62 <div class="dailyEntryTags"> 62 <div class="dailyEntryTags">
63 {loop="link.taglist"} 63 {loop="$link.taglist"}
64 {$value} - 64 {$value} -
65 {/loop} 65 {/loop}
66 </div> 66 </div>