diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:55:51 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:55:51 +0000 |
commit | 74f446e877ad9bcf0a953de2007acaa2595f7cc7 (patch) | |
tree | e8008becc6432e99f9e75f6a0d35daf15f7ae284 /usr/local/www/services_captiveportal_ip_edit.php | |
parent | cc430b65ca453a356693af20caf1c79bcd894933 (diff) | |
download | pfsense-74f446e877ad9bcf0a953de2007acaa2595f7cc7.zip pfsense-74f446e877ad9bcf0a953de2007acaa2595f7cc7.tar.gz |
Use $pgtitle
small code cleanups
Diffstat (limited to 'usr/local/www/services_captiveportal_ip_edit.php')
-rwxr-xr-x | usr/local/www/services_captiveportal_ip_edit.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php index 0e33523..1eb8a05 100755 --- a/usr/local/www/services_captiveportal_ip_edit.php +++ b/usr/local/www/services_captiveportal_ip_edit.php @@ -30,7 +30,6 @@ POSSIBILITY OF SUCH DAMAGE. */ -$pgtitle = array("Services", "Captive portal", "Edit allowed IP address"); require("guiconfig.inc"); if (!is_array($config['captiveportal']['allowedip'])) @@ -93,19 +92,14 @@ if ($_POST) { exit; } } -?> -<!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 method="post"> +$pgtitle = "Services: Captive Portal: Allowed IP's: Edit"; +include("head.inc"); +?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> +<p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="services_captiveportal_ip_edit.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> |