1
This is probably more a core issue than a theme/template issue, but I will start here.
I've been trying to locate where this is being set, but I have not been able to find it.
I have customized the system_redirect.html file for a theme and it works great on the user side. But, on the admin side it displays incorrectly because the $xoops_theme variable is always = 'default'.
XOOPS 2.0.16
Here is the header for the redirect page -
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" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<title><{$xoops_sitename}>title>
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>layout-soup.css" />
<link rel="stylesheet" type="text/css" media="all" title="Blue" href="<{$xoops_imageurl}>style.css" />
head>
The behavior occurs on any redirect that displays when in the administration menu.