More design work and bugfixes

This commit is contained in:
genuineparts 2025-06-17 21:55:44 +02:00
parent 3a10acd9d6
commit b6704ccee4
17 changed files with 244 additions and 143 deletions

View file

@ -251,7 +251,9 @@ class Core{
}
$tpl->assign('messagetitle', $title);
if($redirect && $url!=''){
$url = '//'.$config['domain'].$config['path'].$url;
if(substr( $url, 0, 4 ) != "http") {
$url = '//'.$config['domain'].$config['path'].$url;
}
$meta.='<meta http-equiv="refresh" content="'.$time.';URL='.$url.'" />';
}
$this->make_page($tpl->fetch('message.tpl'),$minimal);
@ -454,8 +456,7 @@ class Core{
$this->log->write('Modul '.$task.' not found!',2);
return $error->http_error('404');
}
}
$this->make_page($content);
}