aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorDavid Aspinall1999-08-17 18:43:40 +0000
committerDavid Aspinall1999-08-17 18:43:40 +0000
commit8d9474556f1ddb9b4f4289aa8786dacc040fce6d (patch)
tree0a2c96da6e513ef1588d9512cdbb69bab6c9e12f /html
parent2b65c11df4b130fdab68f6f88ef95b1c1648629a (diff)
HTML tweaks
Diffstat (limited to 'html')
-rw-r--r--html/fileshow.phtml4
-rw-r--r--html/functions.php37
-rw-r--r--html/links.phtml4
3 files changed, 10 insertions, 5 deletions
diff --git a/html/fileshow.phtml b/html/fileshow.phtml
index 4ab2170e..5560a911 100644
--- a/html/fileshow.phtml
+++ b/html/fileshow.phtml
@@ -4,9 +4,9 @@
$title=$HTTP_GET_VARS["title"];
if ($title=="") { $title = $filename; };
small_header($title);
- print "<p><pre>\n";
+ print "<pre>\n";
markup_plain_text($filename);
- print "</pre></p>\n";
+ print "</pre>\n";
print "<hr>";
click_to_go_back();
footer();
diff --git a/html/functions.php3 b/html/functions.php3
index 48dc3757..3d215f4f 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -40,14 +40,17 @@ function pg_email() {
}
-/* Style sheet element for dt doesnt work in
- Netscape, so hack it here.
+/* Style sheet element for dt doesnt work in Netscape 4, so hack it here.
+ NB! This violates HTML 4 DTD.
*/
function dt($string) {
print "<dt><div style=\"font-style:italic; font-weight: bold\">";
print $string;
print "</div></dt>";
+/* Good version, okay in IE:
+ print "<dt>" . $string . "</dt>";
+*/
}
/* Automatic footnotes? */
diff --git a/html/links.phtml b/html/links.phtml
index 32be2894..044fd1b9 100644
--- a/html/links.phtml
+++ b/html/links.phtml
@@ -1,5 +1,7 @@
<p>
-Here are some links to related issues. If you have any suggestions
+Here are some links to related things.
+<br>
+If you have any suggestions
for links to include here, or find broken links, please
<?php hlink("feedback.phtml","contact us","Feedback form")?>.
</p>