]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/dailyrss.html
Cleanup: explicitely loop over PHP variables in templates
[github/shaarli/Shaarli.git] / tpl / dailyrss.html
index 4133ca3e44dc637d5d603abfe7da7f3e64c0abac..ddbd6c5ea49ba5a0d3b68238471a7c06d3f42e41 100644 (file)
@@ -4,9 +4,9 @@
     <link>{$absurl}</link>
     <pubDate>{$rssdate}</pubDate>
     <description><![CDATA[
-        {loop="links"}
+        {loop="$links"}
                <h3><a href="{$value.url}">{$value.title}</a></h3>
-               <small>{if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br>
+               <small>{if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}<br>
                {$value.url}</small><br>
                {if="$value.thumbnail"}{$value.thumbnail}{/if}<br>
                {if="$value.description"}{$value.formatedDescription}{/if}