diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-13 00:12:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-13 00:12:19 +0000 |
commit | 2900e518b76ea7815e03041bb42da3e0d2217eee (patch) | |
tree | 42246503c65b2ef291cb28378720c8efedbc54aa /usr/local/www/exec.php | |
parent | be4b8e72a6f02f924301aefdfdf73e775827c0bf (diff) | |
download | pfsense-2900e518b76ea7815e03041bb42da3e0d2217eee.zip pfsense-2900e518b76ea7815e03041bb42da3e0d2217eee.tar.gz |
* Modify exec to look like the rest of pfSense
* Add the ending fend.inc
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-x | usr/local/www/exec.php | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 03a9b2b..3194f13 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -1,5 +1,12 @@ #!/usr/local/bin/php <?php +/* + Exec+ v1.02-000 - Copyright 2001-2003, All rights reserved + Created by technologEase (http://www.technologEase.com). + + (modified for m0n0wall by Manuel Kasper <mk@neon1.net>) +*/ + if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { session_cache_limiter('public'); $fd = fopen($_POST['dlPath'], "rb"); @@ -15,18 +22,16 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { $ulmsg = "Uploaded file to /tmp/" . htmlentities($_FILES['ulfile']['name']); unset($_POST['txtCommand']); } + +require("guiconfig.inc"); + ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <?php -/* - Exec+ v1.02-000 - Copyright 2001-2003, All rights reserved - Created by technologEase (http://www.technologEase.com). - - (modified for m0n0wall by Manuel Kasper <mk@neon1.net>) -*/ +include("fbegin.inc"); // Function: is Blank // Returns true or false depending on blankness of argument. @@ -235,6 +240,7 @@ if (!isBlank($_POST['txtCommand'])) { <input name="submit" type="submit" class="button" id="upload" value="Upload"></td> </tr> </table> +<?php include("fend.inc"); ?> </form> <script language="Javascript"> document.forms[0].txtCommand.focus(); |