diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2016-10-17 10:20:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-17 10:20:50 +0200 |
commit | 209aa96e7e32d810db30d2eb437cef2280c5cad6 (patch) | |
tree | d7bde9c9a66fd2049b4ddb7b02f3c7351504166b /tpl/daily.html | |
parent | 06eec9bf764662cd328627247a1f43e4abd3c5ad (diff) | |
parent | dec5fe9c6973054a1301982f910de86a19502b55 (diff) | |
download | Shaarli-209aa96e7e32d810db30d2eb437cef2280c5cad6.tar.gz Shaarli-209aa96e7e32d810db30d2eb437cef2280c5cad6.tar.zst Shaarli-209aa96e7e32d810db30d2eb437cef2280c5cad6.zip |
Merge pull request #660 from virtualtam/fix/template/loop
Cleanup: explicitely loop over PHP variables in templates
Diffstat (limited to 'tpl/daily.html')
-rw-r--r-- | tpl/daily.html | 6 |
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> |