diff options
| author | czaks <marcin@6irc.net> | 2014-09-20 06:44:03 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-09-20 06:44:03 +0200 |
| commit | ea3c571d6c92af61540af32d15bf433cfc53879c (patch) | |
| tree | 8fae78e9658af97fd5108dadfb7cbeae88bc0120 /templates/themes/catalog/theme.php | |
| parent | 3919ad911c44492545823840541ffcd9f81bb2c4 (diff) | |
| parent | 14cd12ff2a52afcbf84d15816b21cc828c7fef00 (diff) | |
Merge branch 'catalog-spoiler-fix' of https://github.com/marlencrabapple/vichan
Diffstat (limited to 'templates/themes/catalog/theme.php')
| -rw-r--r-- | templates/themes/catalog/theme.php | 3 |
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; } |
