aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1999-06-24 14:42:20 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1999-06-24 14:42:20 +0000
commit08ab36ffac1ca711b5630dfc7e1d8a6cc8486381 (patch)
tree83d651a0f3a3ccfe2da554b7dde44092cb6174bd
parenta2159d6d38ea62e27cb596f4860b15bbdae1ef6d (diff)
Support for version 3 browsers added.
-rw-r--r--html/functions.php315
-rw-r--r--html/head.phtml13
-rw-r--r--html/index.phtml2
-rw-r--r--html/links.phtml2
-rw-r--r--html/notes.txt6
-rw-r--r--html/smallheader.phtml1
6 files changed, 29 insertions, 10 deletions
diff --git a/html/functions.php3 b/html/functions.php3
index 4a019784..abba6128 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -32,14 +32,11 @@ function dt($string) {
print "</div></dt>";
}
-/* Automatic footnotes! */
-
-/* FIXME: for now, do nothing. */
+/* Automatic footnotes? */
+/* FIXME: for now, just inline them. */
function footnote ($text) {
- print "<div style=\"font-style:italic; font-size: smaller\"><p>["
- . $text . "]</p></div>";
-
+ print "<small><i><p>[" . $text . "]</p></small></i>";
}
/* A hyper-link with optional mouse over text.
@@ -107,11 +104,15 @@ function small_header($title) {
print "<h1>" . $title . "</h1>\n</td>\n</table>\n";
}
+/* FIXME: improve this function */
+
function footer($filemodified=".") {
include('footer.phtml');
date_modified($filemodified);
print "</address>\n";
- print "</body>\n</html>\n";
+ print "</body>\n";
+ print "</font>\n"; /* Naughty stuff for older browsers, shouldn't do if V4 */
+ print "</html>\n";
}
function click_to_go_back() {
diff --git a/html/head.phtml b/html/head.phtml
index 8a583feb..9ba5ca24 100644
--- a/html/head.phtml
+++ b/html/head.phtml
@@ -15,3 +15,16 @@
print "-->\n</style>\n";
?>
</head>
+ <!-- Duplicate some style entries in body elt to support Version 3 browsers.
+ FIXME: Shouldn't serve this mess up to V4s and later. -->
+<font face="Verdana, Arial, LucidaSans, sans-serif;">
+<body
+ bgcolor="#2D1D03"
+ background="images/canvaswallpaper.jpg"
+ text="#FFFFFF"
+ link=#FFD820
+ vlink=#FFD820
+ alink=#FFF030
+ >
+
+
diff --git a/html/index.phtml b/html/index.phtml
index a0c79c61..dad1cc39 100644
--- a/html/index.phtml
+++ b/html/index.phtml
@@ -2,9 +2,9 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<?php include('head.phtml'); ?>
-<body>
<?php
include('header.phtml');
include($WANTED . '.phtml');
footer();
?>
+
diff --git a/html/links.phtml b/html/links.phtml
index 6ac723f4..32be2894 100644
--- a/html/links.phtml
+++ b/html/links.phtml
@@ -11,5 +11,5 @@ for links to include here, or find broken links, please
script management is not supported, but there are extensive
menus and shortcuts provided for common Isabelle
commands.
+</li>
</ul>
-<li> \ No newline at end of file
diff --git a/html/notes.txt b/html/notes.txt
index 2fa7f95d..d1fbdc6e 100644
--- a/html/notes.txt
+++ b/html/notes.txt
@@ -1,6 +1,12 @@
Developers' Notes about Web Pages
---------------------------------
+*************
+
+Tell Thomas (& other folk?) to update his home page links to Proof General.
+
+*************
+
Suggestions for improving web pages after Rod reading them:
- slideshow rather than single screen shot
diff --git a/html/smallheader.phtml b/html/smallheader.phtml
index 0671fa3b..9313300e 100644
--- a/html/smallheader.phtml
+++ b/html/smallheader.phtml
@@ -1,7 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<?php include('head.phtml'); ?>
-<body>
<table width="80%" align=top>
<tr>
<td width="30%">