use "user.css" instead
This commit is contained in:
@ -25,7 +25,7 @@ Version 2.1 ()
|
|||||||
Version 2.0.1 ()
|
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/
|
that gets loaded on top of the frontend (or backend, if in admin/
|
||||||
subdirectory) theme. This file can be used for customized CSS
|
subdirectory) theme. This file can be used for customized CSS
|
||||||
of a blog-admin which carries over to future Serendipity updates
|
of a blog-admin which carries over to future Serendipity updates
|
||||||
|
@ -20,13 +20,12 @@ if (!isset($css_mode)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$usercss_file = 'style_user.css';
|
|
||||||
switch($css_mode) {
|
switch($css_mode) {
|
||||||
case 'serendipity.css':
|
case 'serendipity.css':
|
||||||
default:
|
default:
|
||||||
$css_hook = 'css';
|
$css_hook = 'css';
|
||||||
$css_file = 'style.css';
|
$css_file = 'style.css';
|
||||||
$css_userfile = 'style_user.css';
|
$css_userfile = 'user.css';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'serendipity_admin.css':
|
case 'serendipity_admin.css':
|
||||||
@ -34,7 +33,7 @@ switch($css_mode) {
|
|||||||
@define('IN_serendipity_admin', true);
|
@define('IN_serendipity_admin', true);
|
||||||
$css_hook = 'css_backend';
|
$css_hook = 'css_backend';
|
||||||
$css_file = 'admin/style.css';
|
$css_file = 'admin/style.css';
|
||||||
$css_userfile = 'admin/style_user.css';
|
$css_userfile = 'admin/user.css';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user