]> andersk Git - sql-web.git/blobdiff - tpl/head.php
version marker changed to 1.2
[sql-web.git] / tpl / head.php
index 8b17dae7293c88f7385ba6cd8c8bc18a2fdb33ed..1009ad1ccf3a501b049388ecd9d22ec5597328ab 100644 (file)
@@ -1,16 +1,5 @@
 <?php\r
 \r
-function chars_encode($string) {\r
-   $chars = array();\r
-   $ent = null;\r
-   $chars = preg_split("//", $string, -1, PREG_SPLIT_NO_EMPTY);\r
-   for ($i = 0; $i < count($chars); $i++)\r
-               $ent[$i] = "&#" . ord($chars[$i]) . ";";\r
-   if (sizeof($ent) < 1)\r
-     return "";\r
-   return implode("",$ent);\r
-}\r
-\r
 if (isOffline()) {\r
        switch(THIS_PAGE) {\r
                case 'do/contact':\r
@@ -38,7 +27,7 @@ if (isOffline()) {
        <div id="outer">\r
                <div id="rap">\r
                        <div id="masthead">\r
-                               <h1 id="header"><a href="http://sql.mit.edu/">sql.mit.edu</a></h1>\r
+                               <h1 id="header"><a href="http://sql.mit.edu/" target="_top">sql.mit.edu</a></h1>\r
                                <h2 id="tagline">MIT SIPB MySQL Service for Athena<br />\r
                                        email: <?=chars_encode('sql@mit.edu')?></h2>\r
                        </div>\r
This page took 0.03443 seconds and 4 git commands to generate.