From 977fa4e1c71253525fd2a3d325bad5d36c7111f0 Mon Sep 17 00:00:00 2001 From: John Fieber Date: Tue, 10 Jun 1997 12:47:11 +0000 Subject: [PATCH] Make cgi scripts inherit the new "look and feel". --- data/cgi/cgi-style.pl | 22 ++++++++++++++++------ en/cgi/cgi-style.pl | 22 ++++++++++++++++------ 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/data/cgi/cgi-style.pl b/data/cgi/cgi-style.pl index 023ee32856..82f996d8d4 100644 --- a/data/cgi/cgi-style.pl +++ b/data/cgi/cgi-style.pl @@ -1,4 +1,4 @@ -# $Id: cgi-style.pl,v 1.7 1996-10-26 17:32:43 jfieber Exp $ +# $Id: cgi-style.pl,v 1.8 1997-06-10 12:47:11 jfieber Exp $ # # Perl routines to encapsulate various elements of HTML page style. @@ -18,7 +18,18 @@ if (!defined($hsty_author)) { $hsty_author = "www\@freebsd.org"; } -$i_daemon = "\"\""; +$i_topbar = "\"\" + +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +"; if ($hsty_home eq "") { $hsty_home = "\n$title\n\n$t_body\n" . - "
\"\"
" . - "$i_daemon

$title



\n"; + "$i_topbar

$title

\n"; } sub short_html_header { @@ -39,9 +49,9 @@ sub short_html_header { return "Content-type: text/html\n\n" . "\n$title\n\n$t_body\n" . - "\"\""; + "$i_topbar"; } sub html_footer { - return "
$hsty_home
$hsty_author
$hsty_date
\n"; + return "
$hsty_author
$hsty_date
\n"; } diff --git a/en/cgi/cgi-style.pl b/en/cgi/cgi-style.pl index 023ee32856..82f996d8d4 100644 --- a/en/cgi/cgi-style.pl +++ b/en/cgi/cgi-style.pl @@ -1,4 +1,4 @@ -# $Id: cgi-style.pl,v 1.7 1996-10-26 17:32:43 jfieber Exp $ +# $Id: cgi-style.pl,v 1.8 1997-06-10 12:47:11 jfieber Exp $ # # Perl routines to encapsulate various elements of HTML page style. @@ -18,7 +18,18 @@ if (!defined($hsty_author)) { $hsty_author = "
www\@freebsd.org"; } -$i_daemon = "\"\""; +$i_topbar = "\"\" + +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +\"\" +"; if ($hsty_home eq "") { $hsty_home = "\n$title\n\n$t_body\n" . - "
\"\"
" . - "$i_daemon

$title



\n"; + "$i_topbar

$title

\n"; } sub short_html_header { @@ -39,9 +49,9 @@ sub short_html_header { return "Content-type: text/html\n\n" . "\n$title\n\n$t_body\n" . - "\"\""; + "$i_topbar"; } sub html_footer { - return "
$hsty_home
$hsty_author
$hsty_date
\n"; + return "
$hsty_author
$hsty_date
\n"; }