Revision 794
Added by doc over 17 years ago
| edit_css.php | ||
|---|---|---|
| 85 | 85 |
/** |
| 86 | 86 |
MODIFY CONTENTS OF THE CSS FILE VIA TEXT AREA |
| 87 | 87 |
*/ |
| 88 |
// include the backend.css file if exists |
|
| 89 |
if(file_exists(WB_PATH .'/modules/' .$mod_dir .'/backend.css')) {
|
|
| 88 |
// check if module backend.css file needs to be included into the <body> |
|
| 89 |
if((!method_exists($admin, 'register_backend_modfiles') || !isset($_GET['page_id'])) |
|
| 90 |
&& file_exists(WB_PATH .'/modules/'.$mod_dir.'/backend.css')) {
|
|
| 90 | 91 |
echo '<style type="text/css">'; |
| 91 | 92 |
include(WB_PATH .'/modules/' .$mod_dir .'/backend.css'); |
| 92 | 93 |
echo "\n</style>\n"; |
Also available in: Unified diff
updated edit module CSS functions to include backend.css into head if possible