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/dailyrss.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/dailyrss.html')
-rw-r--r-- | tpl/dailyrss.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html index b14a3859..ddbd6c5e 100644 --- a/tpl/dailyrss.html +++ b/tpl/dailyrss.html | |||
@@ -4,7 +4,7 @@ | |||
4 | <link>{$absurl}</link> | 4 | <link>{$absurl}</link> |
5 | <pubDate>{$rssdate}</pubDate> | 5 | <pubDate>{$rssdate}</pubDate> |
6 | <description><![CDATA[ | 6 | <description><![CDATA[ |
7 | {loop="links"} | 7 | {loop="$links"} |
8 | <h3><a href="{$value.url}">{$value.title}</a></h3> | 8 | <h3><a href="{$value.url}">{$value.title}</a></h3> |
9 | <small>{if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br> | 9 | <small>{if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br> |
10 | {$value.url}</small><br> | 10 | {$value.url}</small><br> |