#1485465: use common.css from skins instead of non-existent style.css

release-0.6
alecpl 16 years ago
parent aaa6ace377
commit bbeda81b19

@ -101,13 +101,14 @@ if ($OUTPUT && $OUTPUT->template_exists('error')) {
$OUTPUT->send('error'); $OUTPUT->send('error');
} }
$__skin = $CONFIG->skin ? $CONFIG->skin : 'default';
// print system error page // print system error page
print <<<EOF print <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head> <html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>RoundCube|Mail : ERROR $ERROR_CODE</title> <title>RoundCube|Mail : ERROR $ERROR_CODE</title>
<link rel="stylesheet" type="text/css" href="program/style.css" /> <link rel="stylesheet" type="text/css" href="skins/$__skin/common.css" />
</head> </head>
<body> <body>

Loading…
Cancel
Save