summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-07-03 16:05:55 +0000
committerBill Marquette <billm@pfsense.org>2005-07-03 16:05:55 +0000
commit998abf60ac27b7f057c8e4e179b69855c3486732 (patch)
tree49b46ca0b9b7bf47287447edf9ffb55b19f8655a /usr/local/www/exec.php
parent6f4a312a387df10bc38d1e058100ae43f2e8effd (diff)
downloadpfsense-998abf60ac27b7f057c8e4e179b69855c3486732.zip
pfsense-998abf60ac27b7f057c8e4e179b69855c3486732.tar.gz
use pgtitle for standardization
make exec.php look like a "normal" page
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php22
1 files changed, 8 insertions, 14 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index e8ae56d..f8abad9 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -28,14 +28,6 @@ require("guiconfig.inc");
conf_mount_rw();
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<?php
-
-include("fbegin.inc");
-
// Function: is Blank
// Returns true or false depending on blankness of argument.
@@ -52,16 +44,17 @@ function puts( $arg ) { echo "$arg\n"; }
$Version = '';
$ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME'];
-$Title = 'pfSense: execute command';
// Get year.
$arrDT = localtime();
$intYear = $arrDT[5] + 1900;
+$pgtitle = "Diagnostics: Execute command";
+$closehead = false;
+include("head.inc");
?>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title><?=$Title ?></title>
+
<script language="javascript">
<!--
@@ -187,8 +180,9 @@ pre {
-->
</style>
</head>
-<body>
-<p><span class="pgtitle"><?=$Title ?></span>
+<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
+<?php include("fbegin.inc"); ?>
+<p class="pgtitle"><?=$pgtitle?></p>
<?php if (isBlank($_POST['txtCommand'])): ?>
<p class="red"><strong>Note: this function is unsupported. Use it
on your own risk!</strong></p>
@@ -255,4 +249,4 @@ document.forms[0].txtCommand.focus();
conf_mount_ro();
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud