aboutsummaryrefslogtreecommitdiffhomepage
path: root/html
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2001-05-01 14:19:09 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2001-05-01 14:19:09 +0000
commit831fd147d87b71fbe3d17098e00e6ed59ba4fab8 (patch)
treebef36c908746aba2ab802c8a3c3383a138f0b21d /html
parentdabe19b881590a70815551326c7ef390e0248200 (diff)
Link to php files instead of html
Diffstat (limited to 'html')
-rw-r--r--html/functions.php36
1 files changed, 3 insertions, 3 deletions
diff --git a/html/functions.php3 b/html/functions.php3
index 39b6b266..465d4668 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -168,7 +168,7 @@ function fileshow($filename,$text="",$title="") {
$message=$title;
if ( $message == "") { $message=$filename; };
$titlecode = ($title == "" ? "" : "&title=" . urlencode($title));
- hlink("fileshow.html?file=" . urlencode($filename) . $titlecode,
+ hlink("fileshow.php?file=" . urlencode($filename) . $titlecode,
$text, $message);
}
@@ -180,7 +180,7 @@ function htmlshow($filename,$text="",$title="") {
$message=$title;
if ( $message == "") { $message=$filename; };
$urlbits = parse_url($filename);
- hlink("htmlshow.html"
+ hlink("htmlshow.php"
. "?title=" . urlencode($title)
. "&file=" . urlencode($urlbits["path"])
. ($urlbits["fragment"]=="" ? "" : "#" . $urlbits["fragment"]),
@@ -279,7 +279,7 @@ function smallpage($filename,$text="",$title="",$message="") {
if ( $message == "") { $message=$title; };
if ( $message == "") { $message=$filename; };
$urlbits = parse_url($filename);
- hlink("smallpage.html"
+ hlink("smallpage.php"
. "?title=" . urlencode($title)
. "&file=" . urlencode($urlbits["path"])
. ($urlbits["fragment"]=="" ? "" : "#" . $urlbits["fragment"]),