summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-09-20 06:44:03 +0200
committerczaks <marcin@6irc.net>2014-09-20 06:44:03 +0200
commitea3c571d6c92af61540af32d15bf433cfc53879c (patch)
tree8fae78e9658af97fd5108dadfb7cbeae88bc0120 /templates
parent3919ad911c44492545823840541ffcd9f81bb2c4 (diff)
parent14cd12ff2a52afcbf84d15816b21cc828c7fef00 (diff)
Merge branch 'catalog-spoiler-fix' of https://github.com/marlencrabapple/vichan
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/catalog/theme.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 78c70d90..357870e4 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -65,6 +65,9 @@
$post['file'] = $config['image_deleted'];
}
}
+ else if($files[0]->thumb == 'spoiler') {
+ $post['file'] = '/' . $config['spoiler_image'];
+ }
else {
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
}