From e78648b8c740b7e1a4de04841958d526062735bb Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 3 Jun 2015 10:40:18 +0200 Subject: [PATCH] document 3b6d12c --- docs/NEWS | 13 +++++++++++++ serendipity.css.php | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index dd16f8d3..25623dea 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -64,6 +64,19 @@ Version 2.1 () Version 2.0.2 () ------------------------------------------------------------------------ + * Fix auto include of a User theme /admin/user.css backend file. + PLEASE NOTE: + 2.0.1 brought in an automatted include of a themes "user.css" file. + If you don't want to use such file any more (and you have one), you + will have to delete or rename it by hand! + Also please note, that user stylesheet selectors like + .selector { background-image: url(img/example.jpg); } + now need to use the {TEMPLATE_PATH} like + .selector { background-image: url({TEMPLATE_PATH}img/example.jpg); } + since the content will be appended (sig!) to the streamed serendipity + dynamic stylesheet. (Issue #280, down below, talks about the user + styles "being prepended on top"). + * Use https URLs for Atom feed, if called through HTTPS (hboeck) * Restore the "Show toolbar within media selector popup?" option, diff --git a/serendipity.css.php b/serendipity.css.php index ea04046e..a8f5f525 100644 --- a/serendipity.css.php +++ b/serendipity.css.php @@ -39,7 +39,7 @@ switch($css_mode) { function serendipity_printStylesheet($file, $dir = '') { global $serendipity; - return "\n\n/* auto include $dir */\n\n" . str_replace( + return "\n/* auto include $dir */\n\n" . str_replace( array( '{TEMPLATE_PATH}', '{LANG_DIRECTION}'