X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=688363829bc60d9bcf7e48141184ddb6eb9fcf97;hb=324771372e1f7a0db79f0036efccea14e3716bd5;hp=424f8504ab4d03fb8543098316d628ee6cafa134;hpb=8d2cf39d98794c59a92155d9e119db205f431436;p=dylansserver.git diff --git a/index.php b/index.php index 424f850..6883638 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ abstract class cms { - private $config_file = '/etc/dylanstestserver.ini'; + private $config_file = '/etc/dylansserver.ini'; protected $db; protected $recaptcha_publickey; protected $recaptcha_privatekey; @@ -69,13 +69,13 @@ abstract class cms { return $return; } - public function display_head($title = "dylanstestserver", + public function display_head($title = "dylansserver", $home_link = "/") { $scripts = ""; $stylesheets = ""; if (cms::determine_type() == "index") { $scripts = ""; - $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylanstestserver.com&ucn_task=conformance#"; + $home_link = "http://validator.w3.org/unicorn/check?ucn_uri=dylansserver.com&ucn_task=conformance#"; } else if ($this->determine_type() == 'note') { $scripts = ""; $scripts .= ""; @@ -93,7 +93,7 @@ abstract class cms { $this->title - + $stylesheets $scripts @@ -102,7 +102,7 @@ abstract class cms {
@@ -145,6 +145,7 @@ class index extends cms { echo "
END_OF_NOTE; @@ -411,14 +412,14 @@ END_OF_NOTE; echo << END_OF_NAVIGATION; } @@ -588,9 +589,9 @@ class archive extends cms { $datetime_posted = explode(' ', $date_posted[2]); $day_posted = $datetime_posted[0]; echo "
"; - echo "

"; + echo "

"; echo "$year_posted/$month_posted/$day_posted/"; - echo "$title

"; + echo "
$title

"; echo $entry['text']; echo "
"; } @@ -598,7 +599,7 @@ class archive extends cms { $this->write_navigation(); } else { echo "
"; - echo "

sorry, nothing here

"; + echo "

sorry, nothing here

"; echo "
Empty set (0.00 sec)
"; } $this->display_close(); @@ -607,9 +608,7 @@ class archive extends cms { private function write_navigation() { echo "
"; echo ""; }