diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:05:55 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 16:05:55 +0000 |
commit | 998abf60ac27b7f057c8e4e179b69855c3486732 (patch) | |
tree | 49b46ca0b9b7bf47287447edf9ffb55b19f8655a /usr | |
parent | 6f4a312a387df10bc38d1e058100ae43f2e8effd (diff) | |
download | pfsense-998abf60ac27b7f057c8e4e179b69855c3486732.zip pfsense-998abf60ac27b7f057c8e4e179b69855c3486732.tar.gz |
use pgtitle for standardization
make exec.php look like a "normal" page
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/edit.php | 3 | ||||
-rwxr-xr-x | usr/local/www/exec.php | 22 |
2 files changed, 9 insertions, 16 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 48a1431..5a32a30 100755 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -103,7 +103,6 @@ function puts( $arg ) { echo "$arg\n"; } $Version = ''; $ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME']; -$Title = gentitle("edit file"); // Get year. @@ -140,7 +139,7 @@ $pgtitle = "Diagnostics: Edit File"; function sf() { document.forms[0].savetopath.focus(); } </script> <body onLoad="sf();"> -<p><span class="pgtitle"><?=$Title ?></span> +<p><span class="pgtitle"><?=$pgtitle?></span> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if ($loadmsg) echo "<p><b><div style=\"background:#eeeeee\" id=\"shapeme\"> {$loadmsg}</div><br>"; ?> <form action="edit.php" method="POST"> 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 +?> |