From bf3c9934d2dc02cead5995570239c5c6230ed5e5 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 29 Jul 2018 17:40:05 +0200 Subject: Fix fatal error on daily page: use new thumbnail system Also fix: * include the login manager in the daily RSS feed function * remove redirector setting in the vintage theme Fixes #1190 --- tpl/vintage/configure.html | 8 -------- tpl/vintage/daily.html | 9 +++++++-- tpl/vintage/dailyrss.html | 4 ++-- 3 files changed, 9 insertions(+), 12 deletions(-) (limited to 'tpl/vintage') diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index 9466c235..f1892fa1 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html @@ -58,14 +58,6 @@ - - Redirector - -
- (e.g. http://anonym.to/? will mask the HTTP_REFERER) - - - Security: diff --git a/tpl/vintage/daily.html b/tpl/vintage/daily.html index ede35910..00148a58 100644 --- a/tpl/vintage/daily.html +++ b/tpl/vintage/daily.html @@ -68,8 +68,12 @@
{$link.title}
- {if="$link.thumbnail"} -
{$link.thumbnail}
+ {if="$thumbnails_enabled && !empty($link.thumbnail)"} +
+ thumbnail +
{/if}
{$link.formatedDescription}
@@ -97,5 +101,6 @@
-
{include="page.footer"} + diff --git a/tpl/vintage/dailyrss.html b/tpl/vintage/dailyrss.html index ddbd6c5e..f589b06e 100644 --- a/tpl/vintage/dailyrss.html +++ b/tpl/vintage/dailyrss.html @@ -4,11 +4,11 @@ {$absurl} {$rssdate} {$value.title} {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.thumbnail"}thumbnail{/if}
{if="$value.description"}{$value.formatedDescription}{/if}


{/loop} -- cgit v1.2.3