|
@@ -87,6 +87,8 @@ function logout_error( $errString, $errTitle = '' ) {
|
|
|
$color[8] = '#000000'; /* black Normal text */
|
|
|
}
|
|
|
|
|
|
+ list($junk, $errString, $errTitle) = do_hook('logout_error', $errString, $errTitle);
|
|
|
+
|
|
|
if ( $errTitle == '' ) {
|
|
|
$errTitle = $errString;
|
|
|
}
|
|
@@ -124,6 +126,8 @@ function error_box($string, $color) {
|
|
|
|
|
|
$err = _("ERROR");
|
|
|
|
|
|
+ $string = concat_hook_function('error_box', $string);
|
|
|
+
|
|
|
/* check if the page header has been sent; if not, send it! */
|
|
|
if(!isset($pageheader_sent) && !$pageheader_sent) {
|
|
|
/* include this just to be sure */
|