From 509ce44efbe0d8793478c579c06b782eb169e2df Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Sat, 8 Jan 2005 19:34:08 +0000 Subject: [PATCH] Add configurable stylesheet support. --- webtools/hendrix/index.cgi | 1 + webtools/hendrix/template/header.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webtools/hendrix/index.cgi b/webtools/hendrix/index.cgi index 554a948c18c..d02a1a16bfc 100755 --- a/webtools/hendrix/index.cgi +++ b/webtools/hendrix/index.cgi @@ -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"], diff --git a/webtools/hendrix/template/header.html.tmpl b/webtools/hendrix/template/header.html.tmpl index f6a5d7a5325..5ec7df535ba 100644 --- a/webtools/hendrix/template/header.html.tmpl +++ b/webtools/hendrix/template/header.html.tmpl @@ -28,7 +28,7 @@ [% title %] - +