From: Dylan Lloyd Date: Sat, 26 Mar 2011 04:06:33 +0000 (-0400) Subject: Merge branch 'dev' into live X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=be5a0cbae65d695ff538d62af97a57637ff00d86;hp=-c;p=dylansserver.git Merge branch 'dev' into live --- be5a0cbae65d695ff538d62af97a57637ff00d86 diff --combined index.php index dacc716,a2c85ea..c6914b1 --- a/index.php +++ b/index.php @@@ -2,7 -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 +69,13 @@@ 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 .= ""; @@@ -102,7 -102,7 +102,7 @@@
@@@ -167,7 -167,7 +167,7 @@@ class index extends cms
  • git://dylanstestserver.com
  • + "git">git://dylansserver.com
  • some notes:

    @@@ -283,7 -283,7 +283,7 @@@ class page extends cms $datetime_posted = explode(' ', $date_posted[2]); $day_posted = $datetime_posted[0]; echo "
    "; - echo "

    $year_posted/$month_posted/$day_posted/$title

    "; + echo "

    $year_posted/$month_posted/$day_posted/$title

    "; echo $entry['text']; echo "
    "; } @@@ -294,7 -294,7 +294,7 @@@ private function write_navigation() { echo ""; } @@@ -402,7 -402,7 +402,7 @@@ class note extends cms private function display_note() { echo << -

    $this->year_posted/$this->month_posted/$this->day_posted/$this->title

    +

    $this->year_posted/$this->month_posted/$this->day_posted/$this->title

    $this->text
  • END_OF_NOTE; @@@ -412,14 -412,14 +412,14 @@@ echo << END_OF_NAVIGATION; } @@@ -589,9 -589,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 "
    "; } @@@ -599,7 -599,7 +599,7 @@@ $this->write_navigation(); } else { echo "
    "; - echo "

    sorry, nothing here

    "; + echo "

    sorry, nothing here

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