Archived
1
0

Add ability to preview demo themes in spartacus.

This commit is contained in:
garvinhicking
2015-03-16 14:31:34 +01:00
parent 9278c9e40c
commit 0cce92d4d7
68 changed files with 108 additions and 109 deletions
@@ -878,6 +878,7 @@ class serendipity_event_spartacus extends serendipity_event
}
$plugname = $pluginstack[$i]['template'];
$pluginstack[$i]['demoURL'] = 'http://blog.s9y.org?user_template=additional_themes/' . $plugname;
$pluginstack[$i]['previewURL'] = $this->fixUrl($mirror . '/additional_themes/' . $gitloc . $plugname . '/preview.png?revision=1.9999');
$preview_fullsizeURL = $this->fixUrl($mirror . '/additional_themes/' . $gitloc . $plugname . '/preview_fullsize.jpg?revision=1.9999');
if (file_exists($serendipity['serendipityPath'] . '/templates_c/template_cache/'. $plugname .'.jpg')) {