r678 - in webspace: . include
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Mar 25 00:28:25 EST 2006
Author: floam
Date: 2006-03-25 00:28:25 -0500 (Sat, 25 Mar 2006)
New Revision: 678
Modified:
webspace/include/home.php
webspace/include/thebrain.php
webspace/index.php
Log:
Was printing nasty OS strings, I think I'm done now.
Modified: webspace/include/home.php
===================================================================
--- webspace/include/home.php 2006-03-25 05:23:47 UTC (rev 677)
+++ webspace/include/home.php 2006-03-25 05:28:25 UTC (rev 678)
@@ -16,8 +16,8 @@
$os = determineos();
include("downloads.php");
if ($os) {
- echo "We have detected that you are most likely using " . $ua['platform'] .
- ". We have an installer for this platform: <div class=\"indent $os\">$downloads[$os]</div>
+ echo "We have detected the operating system you are most likely using,
+ and we have an installer for you:<div class=\"indent $os\">$downloads[$os]</div>
<em>Check out the <a href=\"?page=get\">Get It</a> page for other installers
and instructions for different installation methods.</em>";
}
@@ -30,4 +30,4 @@
</p>
<h2>News</h2>
-<?php include("news.php"); ?>
+<?php //include("news.php"); ?>
Modified: webspace/include/thebrain.php
===================================================================
--- webspace/include/thebrain.php 2006-03-25 05:23:47 UTC (rev 677)
+++ webspace/include/thebrain.php 2006-03-25 05:28:25 UTC (rev 678)
@@ -14,7 +14,7 @@
elseif ((strpos($_SERVER['HTTP_ACCEPT'], "application/xml")) || ($ua['browser'] == "IE" && $ua['version'] >= 6)) {
if ($ua['browser'] == "IE") {
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
-<?xml-stylesheet type=\"text/xsl\" href=\"include/copy.xsl\"?>";
+<?xml-stylesheet type=\"text/xsl\" href=\"include/copy.xsl\"?>\n";
}
$content_type = "application/xml";
}
Modified: webspace/index.php
===================================================================
--- webspace/index.php 2006-03-25 05:23:47 UTC (rev 677)
+++ webspace/index.php 2006-03-25 05:28:25 UTC (rev 678)
@@ -3,7 +3,6 @@
ob_start();
require("thebrain.php");
?>
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta content="<?php echo $content_type; ?> charset=UTF-8" />
More information about the quake3-commits
mailing list