From bd6fd1d103c523b70a74665538e649a16f8d97de Mon Sep 17 00:00:00 2001 From: onli Date: Fri, 4 Oct 2013 17:14:09 +0200 Subject: [PATCH] Use frontend-css in preview (#60) preview_iframe.tpl used head_link_stylesheet, which contains the link to the backend-css while in the backend, like when the preview is generated. This workaround constructs the path to the frontend-css manually - which should work as long as it follows the convention fo being called serendipity.css, which is hardcoded everywhere anyway --- templates/2k11/preview_iframe.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/2k11/preview_iframe.tpl b/templates/2k11/preview_iframe.tpl index 1fae5e29..6a80a60f 100644 --- a/templates/2k11/preview_iframe.tpl +++ b/templates/2k11/preview_iframe.tpl @@ -21,7 +21,7 @@ {elseif $template_option.webfonts == 'dserif'} {/if} - + {if $template_option.userstyles == true} {/if}