From da10377b3c263d96a46cf9101c202554343d2cd0 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 29 May 2016 16:10:32 +0200 Subject: Rename configuration keys and fix GLOBALS in templates --- tpl/dailyrss.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/dailyrss.html') diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html index 4133ca3e..b14a3859 100644 --- a/tpl/dailyrss.html +++ b/tpl/dailyrss.html @@ -6,7 +6,7 @@ {$value.title} - {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}
+ {if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}
{$value.url}

{if="$value.thumbnail"}{$value.thumbnail}{/if}
{if="$value.description"}{$value.formatedDescription}{/if} -- cgit v1.2.3 From dec5fe9c6973054a1301982f910de86a19502b55 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Sun, 16 Oct 2016 17:41:08 +0200 Subject: 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 --- tpl/dailyrss.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/dailyrss.html') 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 @@ {$absurl} {$rssdate} {$value.title} {if="!$hide_timestamps"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}
{$value.url}

-- cgit v1.2.3