use "user.css" instead

This commit is contained in:
Garvin Hicking 2015-02-11 15:13:26 +01:00
parent ec70101415
commit bb92f86148
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Version 2.0.1 ()
------------------------------------------------------------------------
* Issue 280: Allow every theme to utilize a "style_user.css" file
* Issue 280: Allow every theme to utilize a "user.css" file
that gets loaded on top of the frontend (or backend, if in admin/
subdirectory) theme. This file can be used for customized CSS
of a blog-admin which carries over to future Serendipity updates

View File

@ -20,13 +20,12 @@ if (!isset($css_mode)) {
}
}
$usercss_file = 'style_user.css';
switch($css_mode) {
case 'serendipity.css':
default:
$css_hook = 'css';
$css_file = 'style.css';
$css_userfile = 'style_user.css';
$css_userfile = 'user.css';
break;
case 'serendipity_admin.css':
@ -34,7 +33,7 @@ switch($css_mode) {
@define('IN_serendipity_admin', true);
$css_hook = 'css_backend';
$css_file = 'admin/style.css';
$css_userfile = 'admin/style_user.css';
$css_userfile = 'admin/user.css';
break;
}