aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2000-03-09 10:56:01 +0000
committerDavid Aspinall2000-03-09 10:56:01 +0000
commit334fa07079c3dba9ba9f2e83d76cf59b32ee000e (patch)
treec8245c931da5dc0b9c2b8dd3d1da8db2941e2ff3
parenta843569e2ec070ff5193d0a203e1eebc338a4912 (diff)
Only set page title if not already set
-rw-r--r--html/functions.php32
1 files changed, 2 insertions, 0 deletions
diff --git a/html/functions.php3 b/html/functions.php3
index 86ef295a..c3bb4bc7 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -20,6 +20,8 @@ $project_title = "Proof General";
$project_subtitle = "Organize your Proofs!";
$project_full_title = $project_title . " --- " . $project_subtitle;
+if ($title == "") { $title = $project_title; } // default page title.
+
// DTD
$dtd_strict = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n";