summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 04:38:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 04:38:35 +0000
commit4df96eff4de29e4d5c22dd881cd4599f0dd72344 (patch)
tree38267b8ff9d3a8f04cfb2e127be74b677390dedf /usr/local/www
parent1d819396d402ca09fa0e0871fec2c0cf97289e78 (diff)
downloadpfsense-4df96eff4de29e4d5c22dd881cd4599f0dd72344.zip
pfsense-4df96eff4de29e4d5c22dd881cd4599f0dd72344.tar.gz
include head.inc and round corners on tabs
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/reboot.php12
-rwxr-xr-xusr/local/www/services_dhcp.php12
-rwxr-xr-xusr/local/www/services_dhcp_edit.php11
-rwxr-xr-xusr/local/www/services_dhcp_relay.php12
-rwxr-xr-xusr/local/www/services_dyndns.php12
-rwxr-xr-xusr/local/www/services_proxyarp.php11
-rwxr-xr-xusr/local/www/services_proxyarp_edit.php12
-rwxr-xr-xusr/local/www/services_snmp.php12
-rwxr-xr-xusr/local/www/services_usermanager.php11
-rwxr-xr-xusr/local/www/services_wol.php11
-rwxr-xr-xusr/local/www/services_wol_edit.php11
-rwxr-xr-xusr/local/www/status.php10
-rwxr-xr-xusr/local/www/status_captiveportal.php11
-rwxr-xr-xusr/local/www/status_graph.php10
-rwxr-xr-xusr/local/www/status_interfaces.php10
-rwxr-xr-xusr/local/www/status_queues.php10
-rwxr-xr-xusr/local/www/status_services.php11
-rwxr-xr-xusr/local/www/status_wireless.php10
-rwxr-xr-xusr/local/www/system.php14
-rwxr-xr-xusr/local/www/system_advanced_create_certs.php9
-rwxr-xr-xusr/local/www/system_routes_edit.php12
-rwxr-xr-xusr/local/www/vpn_ipsec.php11
-rwxr-xr-xusr/local/www/vpn_ipsec_ca.php10
-rwxr-xr-xusr/local/www/vpn_ipsec_ca_edit.php11
-rwxr-xr-xusr/local/www/vpn_ipsec_ca_edit_create_cert.php10
-rwxr-xr-xusr/local/www/vpn_ipsec_edit.php10
-rwxr-xr-xusr/local/www/vpn_ipsec_keys.php9
-rwxr-xr-xusr/local/www/vpn_ipsec_keys_edit.php10
-rwxr-xr-xusr/local/www/vpn_ipsec_mobile.php11
-rwxr-xr-xusr/local/www/vpn_openvpn.php10
-rwxr-xr-xusr/local/www/vpn_openvpn_cli.php11
-rwxr-xr-xusr/local/www/vpn_openvpn_cli_edit.php10
-rwxr-xr-xusr/local/www/vpn_openvpn_create_certs.php14
-rwxr-xr-xusr/local/www/vpn_pptp.php10
-rwxr-xr-xusr/local/www/vpn_pptp_users.php10
-rwxr-xr-xusr/local/www/vpn_pptp_users_edit.php11
-rwxr-xr-xusr/local/www/wizard.php11
37 files changed, 134 insertions, 269 deletions
diff --git a/usr/local/www/reboot.php b/usr/local/www/reboot.php
index ccd1b36..1bbb13b 100755
--- a/usr/local/www/reboot.php
+++ b/usr/local/www/reboot.php
@@ -41,15 +41,11 @@ if ($_POST) {
exit;
}
}
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Reboot system");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+$pgtitle = "Diagnostics: Reboot System";
+include("head.inc");
+
+?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle">Reboot system</p>
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 590d697..218158d 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -168,13 +168,12 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = "Services: DHCP server";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: DHCP server");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
+
<script language="JavaScript">
<!--
function enable_change(enable_over) {
@@ -191,7 +190,6 @@ function enable_change(enable_over) {
}
//-->
</script>
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 878f2cb..e267af5 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -126,14 +126,11 @@ if ($_POST) {
exit;
}
}
+
+$pgtitle = "Services: DHCP: Edit static mapping";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: DHCP: Edit static mapping");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php
index 4cc50f8..b4e6281 100755
--- a/usr/local/www/services_dhcp_relay.php
+++ b/usr/local/www/services_dhcp_relay.php
@@ -136,13 +136,11 @@ if ($_POST) {
}
}
+$pgtitle = "Services: DHCP Relay";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: DHCP relay");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
+
<script language="JavaScript">
<!--
function enable_change(enable_over) {
@@ -161,7 +159,7 @@ function enable_change(enable_over) {
}
//-->
</script>
-</head>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php
index be67cfa..4797037 100755
--- a/usr/local/www/services_dyndns.php
+++ b/usr/local/www/services_dyndns.php
@@ -125,13 +125,12 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
}
}
+
+$pgtitle = "Services: Dynamic DNS client";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: Dynamic DNS client");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
+
<script language="JavaScript">
<!--
function enable_change(enable_change) {
@@ -157,7 +156,6 @@ function enable_change(enable_change) {
}
//-->
</script>
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_proxyarp.php b/usr/local/www/services_proxyarp.php
index dc71439..1cd638b 100755
--- a/usr/local/www/services_proxyarp.php
+++ b/usr/local/www/services_proxyarp.php
@@ -66,14 +66,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = "Services: Proxy ARP";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: Proxy ARP");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_proxyarp_edit.php b/usr/local/www/services_proxyarp_edit.php
index aea9332..14534fe 100755
--- a/usr/local/www/services_proxyarp_edit.php
+++ b/usr/local/www/services_proxyarp_edit.php
@@ -131,13 +131,12 @@ if ($_POST) {
exit;
}
}
+
+$pgtitle = "Services: Proxy ARP: Edit";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: Proxy ARP: Edit");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
+
<script language="JavaScript">
<!--
function typesel_change() {
@@ -164,7 +163,6 @@ function typesel_change() {
}
//-->
</script>
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php
index 6d68813..30a0b28 100755
--- a/usr/local/www/services_snmp.php
+++ b/usr/local/www/services_snmp.php
@@ -112,13 +112,11 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
}
}
+
+$pgtitle = "Services: SNMP";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: SNMP");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function enable_change(whichone) {
@@ -200,8 +198,6 @@ function enable_change(whichone) {
}
//-->
</script>
-</head>
-
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle">Services: SNMP</p>
diff --git a/usr/local/www/services_usermanager.php b/usr/local/www/services_usermanager.php
index 749fd52..e424b92 100755
--- a/usr/local/www/services_usermanager.php
+++ b/usr/local/www/services_usermanager.php
@@ -77,14 +77,11 @@ if(is_array($config['users'])){
}
}
+$pgtitle = "Services: User Manager";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("pfSense webGUI");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<script language="javascript" type="text/javascript" src="datetimepicker.js">
diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php
index 19164dc..1ed9c8b 100755
--- a/usr/local/www/services_wol.php
+++ b/usr/local/www/services_wol.php
@@ -77,14 +77,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = "Services: Wake on LAN";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: Wake on LAN");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/services_wol_edit.php b/usr/local/www/services_wol_edit.php
index cdeec3e..26e45e4 100755
--- a/usr/local/www/services_wol_edit.php
+++ b/usr/local/www/services_wol_edit.php
@@ -83,14 +83,11 @@ if ($_POST) {
exit;
}
}
+
+$pgtitle = "Services: Wake on LAN: Edit entry";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Services: Wake on LAN: Edit entry");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index a13edbd..84681db 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -140,13 +140,10 @@ $pageTitle = "pfSense: status";
exec("/bin/date", $dateOutput, $dateStatus);
$currentDate = $dateOutput[0];
+$pgtitle = $pageTitle;
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=$pageTitle;?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
pre {
@@ -157,7 +154,6 @@ pre {
}
-->
</style>
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<p><span class="pgtitle"><?=$pageTitle;?></span><br>
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index b92f12f..e8a348a 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -31,14 +31,11 @@
*/
require("guiconfig.inc");
+
+$pgtitle = "Status: Captive portal";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Status: Captive portal");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index caf57d8..d99435a 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -53,14 +53,10 @@ if ($_GET['if']) {
$ifnum = get_real_wan_interface();
}
+$pgtitle = "Status: Traffic Graph";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Status: Traffic graph");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 3eeef53..e30567e 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -208,14 +208,10 @@ function get_interface_info($ifdescr) {
return $ifinfo;
}
+$pgtitle = "Status: Interfaces";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("pfSense webGUI");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 2edf1d3..7fd1eff 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -51,14 +51,10 @@ foreach($pfctl_vsq_array as $pfctl) {
$a_queues[] = $match_array[1][0];
}
+$pgtitle = "Status: Traffic shaper: Queues";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("Status: Traffic shaper: Queues");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index 4c155ec..16a010e 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -52,15 +52,10 @@ if($_GET['mode'] == "stopservice" and $_GET['service']) {
/* batch mode, allow other scripts to call this script */
if($_GET['batch']) exit;
+$pgtitle = "Status: Services";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<?php $title = "Status: Services"; ?>
-<title><?=gentitle_pkg($title);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index b11929b..474f5c6 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -84,14 +84,10 @@ function get_wireless_info($ifdescr) {
return $ifinfo;
}
+$pgtitle = "Status: Wireless";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("pfSense webGUI");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<form>
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index b27882e..9ef2af8 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -176,18 +176,16 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
}
}
+
+$pgtitle = "System: General Setup";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("System: General setup");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+
+System: General setup
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
- <p class="pgtitle">System: General setup</p>
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<form action="system.php" method="post">
diff --git a/usr/local/www/system_advanced_create_certs.php b/usr/local/www/system_advanced_create_certs.php
index 5c18aba..7a6f8ca 100755
--- a/usr/local/www/system_advanced_create_certs.php
+++ b/usr/local/www/system_advanced_create_certs.php
@@ -138,14 +138,11 @@ if ($_POST) {
fwrite($fd, "authorityKeyIdentifier=keyid:always,issuer:always\n");
fclose($fd);
+$pgtitle = "System: Advanced functions";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("System: Advanced functions");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form action="system_advanced_create_certs.php" method="post" name="iform" id="iform">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index 5403adf..477623b 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -103,14 +103,12 @@ if ($_POST) {
exit;
}
}
+
+$pgtitle = "System: Static routes: Edit route";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("System: Static routes: Edit route");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index e758651..a81c6a7 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -81,14 +81,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_ca.php b/usr/local/www/vpn_ipsec_ca.php
index 3333b22..b062ba1 100755
--- a/usr/local/www/vpn_ipsec_ca.php
+++ b/usr/local/www/vpn_ipsec_ca.php
@@ -48,14 +48,10 @@ if ($_GET['act'] == "del") {
}
}
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_ca_edit.php b/usr/local/www/vpn_ipsec_ca_edit.php
index fd149e0..c50f64e 100755
--- a/usr/local/www/vpn_ipsec_ca_edit.php
+++ b/usr/local/www/vpn_ipsec_ca_edit.php
@@ -93,14 +93,11 @@ if ($_POST) {
exit;
}
}
+
+$pgtitle = "VPN: Ipsec: CA: Edit";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle("VPN: Ipsec");?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_ca_edit_create_cert.php b/usr/local/www/vpn_ipsec_ca_edit_create_cert.php
index 6eb16ce..6e1acef 100755
--- a/usr/local/www/vpn_ipsec_ca_edit_create_cert.php
+++ b/usr/local/www/vpn_ipsec_ca_edit_create_cert.php
@@ -141,14 +141,10 @@ if($_POST) {
fwrite($fd, "authorityKeyIdentifier = keyid:always,issuer:always\n");
fclose($fd);
conf_mount_ro();
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title><?=gentitle('');?></title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <link href="gui.css" rel="stylesheet" type="text/css">
- </head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<form action="vpn_ipsec_ca_edit_create_cert.php" method="post" name="iform" id="iform">
<?
diff --git a/usr/local/www/vpn_ipsec_edit.php b/usr/local/www/vpn_ipsec_edit.php
index 86bd50b..23f87f0 100755
--- a/usr/local/www/vpn_ipsec_edit.php
+++ b/usr/local/www/vpn_ipsec_edit.php
@@ -227,14 +227,10 @@ if ($_POST) {
exit;
}
}
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php
index bcdd491..c93fab9 100755
--- a/usr/local/www/vpn_ipsec_keys.php
+++ b/usr/local/www/vpn_ipsec_keys.php
@@ -48,14 +48,9 @@ if ($_GET['act'] == "del") {
}
}
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_keys_edit.php b/usr/local/www/vpn_ipsec_keys_edit.php
index 0631e6e..65d62aa 100755
--- a/usr/local/www/vpn_ipsec_keys_edit.php
+++ b/usr/local/www/vpn_ipsec_keys_edit.php
@@ -91,14 +91,10 @@ if ($_POST) {
exit;
}
}
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php
index fe2c76b..26377f8 100755
--- a/usr/local/www/vpn_ipsec_mobile.php
+++ b/usr/local/www/vpn_ipsec_mobile.php
@@ -161,15 +161,10 @@ if ($_POST) {
exit;
}
}
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+include("head.inc");
+
+?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?php echo $pgtitle; ?></p>
diff --git a/usr/local/www/vpn_openvpn.php b/usr/local/www/vpn_openvpn.php
index 1f59d82..d2596f2 100755
--- a/usr/local/www/vpn_openvpn.php
+++ b/usr/local/www/vpn_openvpn.php
@@ -147,14 +147,10 @@ if ($_POST) {
/* Simply take a copy of the array */
$pconfig = $config['ovpn']['server'];
+$pgtitle = "Firewall: NAT: Inbound";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_openvpn_cli.php b/usr/local/www/vpn_openvpn_cli.php
index 23c5752..ddfe9fc 100755
--- a/usr/local/www/vpn_openvpn_cli.php
+++ b/usr/local/www/vpn_openvpn_cli.php
@@ -67,14 +67,11 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+$pgtitle = $pgtitle;
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_openvpn_cli_edit.php b/usr/local/www/vpn_openvpn_cli_edit.php
index 4b739cf..279e428 100755
--- a/usr/local/www/vpn_openvpn_cli_edit.php
+++ b/usr/local/www/vpn_openvpn_cli_edit.php
@@ -187,14 +187,10 @@ if (isset($_POST['pull'])) {
}
}
+$pgtitle = $pgtitle;
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_openvpn_create_certs.php b/usr/local/www/vpn_openvpn_create_certs.php
index 1ac1eea..fe363e3 100755
--- a/usr/local/www/vpn_openvpn_create_certs.php
+++ b/usr/local/www/vpn_openvpn_create_certs.php
@@ -150,11 +150,11 @@ if ($_POST) {
fwrite($fd, "authorityKeyIdentifier=keyid:always,issuer:always\n");
fclose($fd);
+$pgtitle = "VPN: OpenVPN: Create Certs";
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
<script language="JavaScript">
<!--
function f(ta_id){
@@ -174,14 +174,6 @@ function f(ta_id){
}
-->
</script>
-<title><?=gentitle("System: Advanced functions");?></title>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index f2fed9d..39966ed 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -121,14 +121,10 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
}
}
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_pptp_users.php b/usr/local/www/vpn_pptp_users.php
index e2c0316..982f3f8 100755
--- a/usr/local/www/vpn_pptp_users.php
+++ b/usr/local/www/vpn_pptp_users.php
@@ -66,14 +66,10 @@ if ($_GET['act'] == "del") {
exit;
}
}
+
+include("head.inc");
+
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/vpn_pptp_users_edit.php b/usr/local/www/vpn_pptp_users_edit.php
index 23d4d56..1cb5db1 100755
--- a/usr/local/www/vpn_pptp_users_edit.php
+++ b/usr/local/www/vpn_pptp_users_edit.php
@@ -109,15 +109,10 @@ if ($_POST) {
exit;
}
}
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle($pgtitle);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+include("head.inc");
+
+?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<?php if ($input_errors) print_input_errors($input_errors); ?>
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index c5cefbc..02afa97 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -131,15 +131,10 @@ if($pkg['step'][$stepid]['stepbeforeformdisplay'] <> "") {
eval($pkg['step'][$stepid]['stepbeforeformdisplay']);
}
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title><?=gentitle_pkg($title);?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<link href="gui.css" rel="stylesheet" type="text/css">
-</head>
+$pgtitle = $title;
+include("head.inc");
+?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onLoad="enablechange();">
<?php if($pkg['step'][$stepid]['fields']['field'] <> "") { ?>
<script language="JavaScript">
OpenPOWER on IntegriCloud