<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE><%$Title%></TITLE>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

%# TODO this gets called from error. but I have no idea what it might
%# be used for. can we whack it?  -jesse
% if ($Code) {
<META HTTP-EQUIV VALUE="<%$Code%> <%$Why%>">
% }
% if ($Refresh > 0) {
<META HTTP-EQUIV="REFRESH" CONTENT="<%$Refresh%>">
% }

<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
</HEAD>
<BODY BGCOLOR="<%$BgColor%>">
% if ($ShowBar) {
<TABLE BORDER=0 WIDTH=100% CELLSPACING=0 BGCOLOR="#993333">
<TR VALIGN=TOP>
<TD><IMG SRC="<%$RT::LogoURL%>" alt="RT"></TD>
<TD VALIGN=CENTER ALIGN=LEFT>
<font size=+2 color="#ffffff">
<B>
<%$Title%>
</B>
</font>
</TD>
<TD ALIGN=RIGHT>
<font color="#ffffff">
% if ($session{'CurrentUser'}) {
Signed in as <b><%$session{'CurrentUser'}->Name%></b>.<BR>
% if ($session{'CurrentUser'}->HasSystemRight('ModifySelf')) {
[<A class='inverse' HREF="<%$RT::WebPath%>/User/Prefs.html" >Preferences</A>] 
% }
% unless ($RT::WebExternalAuth) { 
[<A class='inverse' HREF="<%$RT::WebPath%>/NoAuth/Logout.html">Logout</a>]
% }
% } else {
Not logged in.
% }
</font>
</TD>
</TR>
</TABLE>

<BR>
% }
<%ARGS>
$Title => 'WebRT'
$Code => undef
$Refresh => undef
$Why => undef
$BgColor => '#ffffff'
$ShowBar => 1
</%ARGS>
<%INIT>
$Title = "RT/$RT::rtname: ".$Title;
</%INIT>

