Add configurable stylesheet support.

git-svn-id: svn://10.0.0.236/trunk@167423 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2005-01-08 19:34:08 +00:00
parent 28b0d85158
commit a212ff9819
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ my $form = $cgi->Vars;
my $vars;
$vars->{'form'} = $form;
$vars->{'newsgroup'} = $newsgroup;
$vars->{'stylesheet'} = $form->{'stylesheet'} || "hendrix.css";
my $template = Template->new({
INCLUDE_PATH => ["template"],

View File

@@ -28,7 +28,7 @@
<html>
<head>
<title>[% title %]</title>
<link rel="stylesheet" href="hendrix.css">
<link rel="stylesheet" href="[% stylesheet FILTER html %]">
<script language="JavaScript" type="text/javascript">
[% script %]
</script>