aboutsummaryrefslogtreecommitdiff
path: root/html/fileshow.phtml
diff options
context:
space:
mode:
authorDavid Aspinall2000-09-28 15:01:50 +0000
committerDavid Aspinall2000-09-28 15:01:50 +0000
commitbd7aa7923a25d16207842f9f3d6b773c2fc6fa58 (patch)
tree8f5733bf63e8c880e65472b3ebf745b1026698e3 /html/fileshow.phtml
parent2c253444d0b93cf7628ab030e6a5f1ad24fa20fd (diff)
Renamed file
Diffstat (limited to 'html/fileshow.phtml')
-rw-r--r--html/fileshow.phtml24
1 files changed, 0 insertions, 24 deletions
diff --git a/html/fileshow.phtml b/html/fileshow.phtml
deleted file mode 100644
index a13857e7..00000000
--- a/html/fileshow.phtml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
- require('functions.php3');
- require('elispmarkup.php3');
- $filename=$HTTP_GET_VARS["file"];
- $title=$HTTP_GET_VARS["title"];
- $expanded=$HTTP_GET_VARS["expanded"];
- if ($title=="") { $title = $filename; };
- small_header($title);
- print "<pre>\n";
- /* I hope this is enough to prevent access outside cwd */
- if (substr($filename,0,1)=="." or
- substr($filename,0,1)=="/" or
- substr($filename,0,1)=="~") {
- print "Sorry, can't show you that file!\n";
- } elseif (substr($filename,-3)==".el") {
- elisp_markup($filename,"fileshow.phtml");
- } else {
- outline_markup($filename,"fileshow.phtml",$expanded);
- }
- print "</pre>\n";
- print "<hr>";
- click_to_go_back();
- footer();
-?>