|
|
@ -85,8 +85,13 @@ else {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// compose page content
|
|
|
|
// Ajax request
|
|
|
|
|
|
|
|
if ($OUTPUT && ($OUTPUT instanceof rcube_json_output)) {
|
|
|
|
|
|
|
|
header("HTTP/1.0 $ERROR_CODE $__error_title");
|
|
|
|
|
|
|
|
die;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// compose page content
|
|
|
|
$__page_content = <<<EOF
|
|
|
|
$__page_content = <<<EOF
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<h3 class="error-title">$__error_title</h3>
|
|
|
|
<h3 class="error-title">$__error_title</h3>
|
|
|
@ -94,8 +99,6 @@ $__page_content = <<<EOF
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
EOF;
|
|
|
|
EOF;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($OUTPUT && $OUTPUT->template_exists('error')) {
|
|
|
|
if ($OUTPUT && $OUTPUT->template_exists('error')) {
|
|
|
|
$OUTPUT->reset();
|
|
|
|
$OUTPUT->reset();
|
|
|
|
$OUTPUT->send('error');
|
|
|
|
$OUTPUT->send('error');
|
|
|
|