diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 02:20:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 02:20:09 +0000 |
commit | 523809792e16fc4629b0d914cd4626754b821fb9 (patch) | |
tree | 78162f1a16fb0f41a17fbba5509485920a5a7359 | |
parent | 338ec5f4e531a21d3108f01b02279a492d4f7814 (diff) | |
download | pfsense-523809792e16fc4629b0d914cd4626754b821fb9.zip pfsense-523809792e16fc4629b0d914cd4626754b821fb9.tar.gz |
Cleanup and add rounded corners.
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 23 | ||||
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 20 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 11 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 10 | ||||
-rwxr-xr-x | usr/local/www/system_firmware.php | 10 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_auto.php | 10 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_check.php | 11 | ||||
-rwxr-xr-x | usr/local/www/system_firmware_settings.php | 11 |
8 files changed, 45 insertions, 61 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index c1a7440..9242105 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -178,14 +178,11 @@ if ($_GET['act'] == "down") { exit; } } + +$pgtitle = "Firewall: Shaper"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: Traffic shaper: Rules");?></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"); ?> @@ -200,11 +197,13 @@ if ($_GET['act'] == "down") { <?php endif; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td> - <ul id="tabnav"> - <li class="tabact">Rules</li> - <li class="tabinact"><a href="firewall_shaper_queues.php">Queues</a></li> - <li class="tabinact"><a href="wizard.php?xml=traffic_shaper_wizard.xml">EZ Shaper wizard</a></li> - </ul> +<?php + $tab_array = array(); + $tab_array[0] = array("Rules", true, "firewall_shaper.php"); + $tab_array[1] = array("Queues", false, "firewall_shaper_queues.php"); + $tab_array[2] = array("EZ Shaper wizard", false, "wizard.php?xml=traffic_shaper_wizard.xml"); + display_top_tabs($tab_array); +?> </td></tr> <tr> <td class="tabcont"> diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 0ee42b9..3f86025 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -100,14 +100,11 @@ if ($_GET['act'] == "del") { } } } + +$pgtitle = "Firewall: Shaper: Queues"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("Firewall: 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"); ?> @@ -126,6 +123,15 @@ if ($_GET['act'] == "del") { <li class="tabact">Queues</a></li> <li class="tabinact"><a href="wizard.php?xml=traffic_shaper_wizard.xml">EZ Shaper wizard</a></li> </ul> +<?php + $tab_array = array(); + $tab_array[0] = array("Inbound", true, "firewall_nat.php"); + $tab_array[1] = array("Server NAT", false, "firewall_nat_server.php"); + $tab_array[2] = array("1:1", false, "firewall_nat_1to1.php"); + $tab_array[3] = array("Outbound", false, "firewall_nat_out.php"); + $tab_array[4] = array("Outgoing Load Balancing", false, "firewall_nat_out_load_balancing.php"); + display_top_tabs($tab_array); +?> </td></tr> <tr> <td class="tabcont"> diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index a392685..6ef0dc2 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -52,14 +52,11 @@ if ($_POST) { } } + +$pgtitle = "System: Packages"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Package Manager");?></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/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 86763aa..dc8511c 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -38,14 +38,10 @@ $sendto = "output"; $todo = array(); +$pgtitle = "System: Packages: Installed"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Package Manager: Install Package");?></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/system_firmware.php b/usr/local/www/system_firmware.php index 4fcc748..0540c58 100755 --- a/usr/local/www/system_firmware.php +++ b/usr/local/www/system_firmware.php @@ -105,14 +105,10 @@ $id = rand() . '.' . time(); $mth = ini_get('upload_progress_meter.store_method'); $dir = ini_get('upload_progress_meter.file.filename_template'); +$pgtitle = "System: Firmware"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Manual Update");?></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="gui.css" rel="stylesheet" type="text/css"> -</head> <!-- generated new UPLOAD_IDENTIFIER = <?=$id?> php-config.upload_progress_meter.store_method = <?=$mth?> diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index f9dd158..c766487 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -37,14 +37,10 @@ require_once("guiconfig.inc"); require_once("xmlrpc.inc"); +$pgtitle = "System: Firmware: Auto Update"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Firmware: Firmware Updater");?></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/system_firmware_check.php b/usr/local/www/system_firmware_check.php index 9517707..65b486a 100755 --- a/usr/local/www/system_firmware_check.php +++ b/usr/local/www/system_firmware_check.php @@ -33,14 +33,11 @@ require_once("xmlrpc.inc"); if(isset($config['system']['disablefirmwarecheck'])) Header("Location: system_firmware.php"); + +$pgtitle = "System: Auto Update"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> - <head> - <title><?=gentitle("System: Auto Update");?></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"> <SCRIPT> <!-- diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php index 13895b7..913de3c 100755 --- a/usr/local/www/system_firmware_settings.php +++ b/usr/local/www/system_firmware_settings.php @@ -41,13 +41,11 @@ if ($_POST) { $curcfg = $config['system']['firmware']; +$pgtitle = "System: Firmware: Settings"; +include("head.inc"); + ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title><?=gentitle("System: Firmware Settings");?></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"> <!-- var systemdescs=new Array(4); @@ -66,7 +64,6 @@ function update_description(itemnum) { // --> </script> -</head> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <form action="system_firmware_settings.php" method="post" name="iform" id="iform"> |