Fixing style errors.
This commit is contained in:
parent
81ff493622
commit
cae9fe0e06
@ -300,8 +300,8 @@ if ($action == 'update') {
|
||||
}
|
||||
|
||||
if ($mode == 'css') {
|
||||
$data = GETPOST('CUSTOM_CSS','none');
|
||||
file_put_contents(DOL_DATA_ROOT.'/admin/customcss.css',$data);
|
||||
$data = GETPOST('CUSTOM_CSS', 'none');
|
||||
file_put_contents(DOL_DATA_ROOT.'/admin/customcss.css', $data);
|
||||
}
|
||||
|
||||
$_SESSION["mainmenu"] = ""; // The menu manager may have changed
|
||||
@ -700,13 +700,12 @@ if ($mode == 'css') {
|
||||
|
||||
$customcssValue = file_get_contents(DOL_DATA_ROOT.'/admin/customcss.css');
|
||||
|
||||
$doleditor = new DolEditor('CUSTOM_CSS', $customcssValue, '', 400, 'Basic', 'In', false, true, 'ace',80,80,0);
|
||||
$doleditor->Create(0,'',true,'css','css');
|
||||
$doleditor = new DolEditor('CUSTOM_CSS', $customcssValue, '', 400, 'Basic', 'In', false, true, 'ace', 80, 80, 0);
|
||||
$doleditor->Create(0, '', true, 'css', 'css');
|
||||
print '</td></tr>'."\n";
|
||||
|
||||
print '</table>'."\n";
|
||||
print '</div>';
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -30,6 +30,6 @@ if (empty($dolibarr_nocache)) {
|
||||
header('Cache-Control: no-cache');
|
||||
}
|
||||
|
||||
if(file_exists(DOL_DATA_ROOT.'/admin/customcss.css')) {
|
||||
if (file_exists(DOL_DATA_ROOT.'/admin/customcss.css')) {
|
||||
readfile(DOL_DATA_ROOT.'/admin/customcss.css');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user