]> code.citadel.org Git - citadel.git/blobdiff - ctdlphp/ctdlheader.php
* Allow the session proxy to time out after 15 minutes.
[citadel.git] / ctdlphp / ctdlheader.php
index d35a62f2f34fb117e99b80f2ea37121fb7f65547..aa8eb4dc3b496670e4ae1c2ec42de1a14c91c14b 100644 (file)
@@ -4,11 +4,13 @@ include "ctdlsession.php";
 include "ctdlprotocol.php";
 
 function bbs_page_header() {
-
        global $session;
 
-       establish_citadel_session();
+       if(strcmp('4.3.0', phpversion()) > 0) {
+               die("This program requires PHP 4.3.0 or newer.");
+       }
 
+       establish_citadel_session();
 
        echo <<<LITERAL
 
@@ -19,7 +21,18 @@ function bbs_page_header() {
        <meta name="Description" content="Citadel BBS">
        <meta name="Keywords" content="citadel,bbs">
        <meta name="MSSmartTagsPreventParsing" content="TRUE">
-       <title>FIXME NAME BBS</title>
+       <title>
+LITERAL;
+
+       if ($_SESSION["serv_humannode"]) {
+               echo $_SESSION["serv_humannode"] ;
+       }
+       else {
+               echo "BBS powered by Citadel" ;
+       }
+
+       echo <<<LITERAL
+</title>
 </head>
 
 <body