From: Dylan Lloyd Date: Sun, 6 Mar 2011 21:52:37 +0000 (-0500) Subject: Fixed validation errors X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=0a144953e57bf457df61e58a3f94b0178c1f9707;p=dylansserver.git Fixed validation errors Cherry picked e8fefa2acf, all pages without reCAPTCHAs now validate. --- diff --git a/404.php b/404.php index 157d02d..1b17517 100644 --- a/404.php +++ b/404.php @@ -4,6 +4,7 @@ + 404: not found diff --git a/includes/style.css b/includes/style.css index 2dc36e6..9bfd391 100644 --- a/includes/style.css +++ b/includes/style.css @@ -135,7 +135,6 @@ li { /* notes */ #notes, #note { - float:right; text-align:right; margin-top:20px; } @@ -167,6 +166,7 @@ pre { #navigation { text-align:right; + font-family:sans-serif; } #comments { diff --git a/index.php b/index.php index 5598679..3f64a27 100644 --- a/index.php +++ b/index.php @@ -69,8 +69,8 @@ abstract class cms { $home_link = "/") { $scripts = ""; $stylesheets = ""; - if ($this->determine_type() == "index") { - $scripts = ""; $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#"; } else if ($this->determine_type() == 'note') { $scripts = ""; @@ -92,7 +92,6 @@ abstract class cms { $stylesheets $scripts - @@ -133,17 +132,14 @@ END_OF_CLOSE; } -class blank_page extends cms { - -} class index extends cms { public function display() { - $this->display_head(); - $this->display_exhibits(); - echo "