ERROR PROCESSING TEMPLATE
There was an error in your template file. Below is the template file and also the perl code generated from it to help you with debugging.

Undefined subroutine &Template::getPreference called at (eval 1) line 5.

<HTML>
<HEAD><TITLE>Error</TITLE>
<META HTTP-EQUIV="expires" CONTENT="now">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<%
# Color Options
# -------------
$_SHOW_COMMAND_LIST=&getPreference("showcommandlist");
$_FONT=&getPreference("font");
$_HEADER=&getPreference("header");
$_FOOTER=&getPreference("footer");
$_BGCOLOR=&getPreference("bgcolor");
$_LINK=&getPreference("linkcolor");
$_VLINK=&getPreference("vlinkcolor");
$_ALINK=&getPreference("alinkcolor");
$_TEXT_COLOR=&getPreference("textcolor");
$_COLUMN_HEADER_BGCOLOR=&getPreference("columnheaderbgcolor");
$_COLUMN_HEADER_TEXT_COLOR=&getPreference("columnheadertextcolor");
$_HEADER_SIZE=&getPreference("headertextsize");
$_NAVIGATION_BGCOLOR=&getPreference("navigationbgcolor");
$_NAVIGATION_TEXT_COLOR=&getPreference("navigationtextcolor");
$_NAVIGATION_SELECTED_BGCOLOR=&getPreference("navigationselectedbgcolor");
$_NAVIGATION_SELECTED_TEXT_COLOR=&getPreference("navigationselectedtextcolor");
$_COMMAND_BGCOLOR=&getPreference("commandbgcolor");
$_COMMAND_OPTION_BGCOLOR=&getPreference("commandoptionbgcolor");
$_COMMAND_OPTION_TEXT_COLOR=&getPreference("commandoptiontextcolor");
$_COMMAND_OPTION_SELECTED_BGCOLOR=&getPreference("commandoptionselectedbgcolor");
$_COMMAND_OPTION_SELECTED_TEXT_COLOR=&getPreference("commandoptionselectedtextcolor");
$_GRID_CELL_BGCOLOR=&getPreference("gridcellbgcolor");
$_GRID_CELL_SELECTED_BGCOLOR=&getPreference("gridcellselectedbgcolor");
$_GRID_CELL_TEXT_COLOR=&getPreference("gridcelltextcolor");
$_GRID_CELL_TEXT_FONT=&getPreference("gridcelltextfont");
$_GRID_CELL_TEXT_SIZE=&getPreference("gridcelltextsize");
$_GRID_DATE_BGCOLOR=&getPreference("griddatebgcolor");
$_GRID_DATE_TEXT_COLOR=&getPreference("griddatetextcolor");
$_FOOTER_BGCOLOR=&getPreference("footerbgcolor");
$_FOOTER_TEXT_COLOR=&getPreference("footertextcolor");

$_DEFAULT_LIST_GRID=&getPreference("defaultlistgrid");
$_DEFAULT_VIEW=&getPreference("defaultview");
$_SHOW_LOGGED_IN=&getPreference("showloggedin");
$_SHOW_GRID_LIST=&getPreference("showgridlist");
$_SHOW_VIEW=&getPreference("showview");
$_PAGE_TITLE=&getPreference("pagetitle");
$_SHOW_EVENT_TIMES=&getPreference("showeventtimes");
$_SHOW_GRID_EVENT_BULLET=&getPreference("showgrideventbullet");
$_NO_EVENTS_LABEL=&getPreference("noeventslabel");

%>

<STYLE>
A { text-decoration:none; }
A:hover { text-decoration:underline; }
.thinborder { border-color:#666666; border-style:solid; border-width:1px; }
.columnheader { color:<%=$_COLUMN_HEADER_TEXT_COLOR%>; }
.navigationtext { color:<%=$_NAVIGATION_TEXT_COLOR%>; }
.navigationselectedtext { color:<%=$_NAVIGATION_SELECTED_TEXT_COLOR%>; }
.commandtext { color:<%=$_COMMAND_OPTION_TEXT_COLOR%>; font-weight:bold; }
.selectedcommandtext { color:<%=$_COMMAND_OPTION_SELECTED_TEXT_COLOR%>; font-weight:bold; }
.gridtext { color:<%=$_GRID_CELL_TEXT_COLOR%>; font-family:<%=$_GRID_CELL_TEXT_FONT%>; }
.griddatetext { color:<%=$_GRID_DATE_TEXT_COLOR%>; background-color:<%=$_GRID_DATE_BGCOLOR%>; font-weight:bold; }
.footertext { color:<%=$_FOOTER_TEXT_COLOR%>; }
.text { color:<%=$_TEXT_COLOR%>; }

.messagetext { color: red; }
.headertext { }


<% if ($_FONT) { %>BODY { font-family:"<%=$_FONT%>" }<% } %>
</STYLE>

</HEAD>
<BODY BGCOLOR="white">

<CENTER>
<TABLE BORDER="1" WIDTH="500">
<TR>
	<TD ALIGN="center">
	<BR><BR>
	<B>ERROR:</B> <BR><BR>
	<FONT COLOR="red">
	<%= $errorMessage %>
	<% if ($userMessage ne "") { %>
		<%= $userMessage %>
	<% } %>
	</FONT>
	<BR><BR>
	</TD>
</TR>
</TABLE>
</CENTER>

</BODY>
</HTML>

package Template;
print "<HTML>\n<HEAD><TITLE>Error</TITLE>\n<META HTTP-EQUIV=\"expires\" CONTENT=\"now\">\n<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n";
# Color Options
# -------------
$_SHOW_COMMAND_LIST=&getPreference("showcommandlist");
$_FONT=&getPreference("font"); $_HEADER=&getPreference("header"); $_FOOTER=&getPreference("footer"); $_BGCOLOR=&getPreference("bgcolor"); $_LINK=&getPreference("linkcolor"); $_VLINK=&getPreference("vlinkcolor"); $_ALINK=&getPreference("alinkcolor"); $_TEXT_COLOR=&getPreference("textcolor"); $_COLUMN_HEADER_BGCOLOR=&getPreference("columnheaderbgcolor"); $_COLUMN_HEADER_TEXT_COLOR=&getPreference("columnheadertextcolor"); $_HEADER_SIZE=&getPreference("headertextsize"); $_NAVIGATION_BGCOLOR=&getPreference("navigationbgcolor"); $_NAVIGATION_TEXT_COLOR=&getPreference("navigationtextcolor"); $_NAVIGATION_SELECTED_BGCOLOR=&getPreference("navigationselectedbgcolor"); $_NAVIGATION_SELECTED_TEXT_COLOR=&getPreference("navigationselectedtextcolor"); $_COMMAND_BGCOLOR=&getPreference("commandbgcolor"); $_COMMAND_OPTION_BGCOLOR=&getPreference("commandoptionbgcolor"); $_COMMAND_OPTION_TEXT_COLOR=&getPreference("commandoptiontextcolor"); $_COMMAND_OPTION_SELECTED_BGCOLOR=&getPreference("commandoptionselectedbgcolor"); $_COMMAND_OPTION_SELECTED_TEXT_COLOR=&getPreference("commandoptionselectedtextcolor"); $_GRID_CELL_BGCOLOR=&getPreference("gridcellbgcolor"); $_GRID_CELL_SELECTED_BGCOLOR=&getPreference("gridcellselectedbgcolor"); $_GRID_CELL_TEXT_COLOR=&getPreference("gridcelltextcolor"); $_GRID_CELL_TEXT_FONT=&getPreference("gridcelltextfont"); $_GRID_CELL_TEXT_SIZE=&getPreference("gridcelltextsize"); $_GRID_DATE_BGCOLOR=&getPreference("griddatebgcolor"); $_GRID_DATE_TEXT_COLOR=&getPreference("griddatetextcolor"); $_FOOTER_BGCOLOR=&getPreference("footerbgcolor"); $_FOOTER_TEXT_COLOR=&getPreference("footertextcolor"); $_DEFAULT_LIST_GRID=&getPreference("defaultlistgrid"); $_DEFAULT_VIEW=&getPreference("defaultview"); $_SHOW_LOGGED_IN=&getPreference("showloggedin"); $_SHOW_GRID_LIST=&getPreference("showgridlist"); $_SHOW_VIEW=&getPreference("showview"); $_PAGE_TITLE=&getPreference("pagetitle"); $_SHOW_EVENT_TIMES=&getPreference("showeventtimes"); $_SHOW_GRID_EVENT_BULLET=&getPreference("showgrideventbullet"); $_NO_EVENTS_LABEL=&getPreference("noeventslabel"); print " \n\n<STYLE>\nA { text-decoration:none; }\nA:hover { text-decoration:underline; }\n.thinborder { border-color:#666666; border-style:solid; border-width:1px; }\n.columnheader { color:";print $_COLUMN_HEADER_TEXT_COLOR;print "; }\n.navigationtext { color:";print $_NAVIGATION_TEXT_COLOR;print "; }\n.navigationselectedtext { color:";print $_NAVIGATION_SELECTED_TEXT_COLOR;print "; }\n.commandtext { color:";print $_COMMAND_OPTION_TEXT_COLOR;print "; font-weight:bold; }\n.selectedcommandtext { color:";print $_COMMAND_OPTION_SELECTED_TEXT_COLOR;print "; font-weight:bold; }\n.gridtext { color:";print $_GRID_CELL_TEXT_COLOR;print "; font-family:";print $_GRID_CELL_TEXT_FONT;print "; }\n.griddatetext { color:";print $_GRID_DATE_TEXT_COLOR;print "; background-color:";print $_GRID_DATE_BGCOLOR;print "; font-weight:bold; }\n.footertext { color:";print $_FOOTER_TEXT_COLOR;print "; }\n.text { color:";print $_TEXT_COLOR;print "; }\n\n.messagetext { color: red; }\n.headertext { }\n\n\n"; if ($_FONT) {print "BODY { font-family:\"";print $_FONT;print "\" }";} print "\n</STYLE>\n\n</HEAD>\n<BODY BGCOLOR=\"white\">\n\n<CENTER>\n<TABLE BORDER=\"1\" WIDTH=\"500\">\n<TR>\n <TD ALIGN=\"center\">\n <BR><BR>\n <B>ERROR:</B> <BR><BR>\n <FONT COLOR=\"red\">\n "; print $errorMessage; print "\n ";if ($userMessage ne "") { print "\n ";print $userMessage; print "\n ";} print "\n </FONT>\n <BR><BR>\n </TD>\n</TR>\n</TABLE>\n</CENTER>\n\n</BODY>\n</HTML>\n"; package main;