X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=298feada5fc0b3a6948708a8dcc614af4662ca78;hb=1f14238ea6e202ee90c200b8f0a12a203dd0772d;hp=424f8504ab4d03fb8543098316d628ee6cafa134;hpb=8170ae8225a45092867ac0b0d6914282c02334a6;p=dylansserver.git
diff --git a/index.php b/index.php
index 424f850..298fead 100644
--- a/index.php
+++ b/index.php
@@ -282,7 +282,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 "
";
}
@@ -293,7 +293,7 @@ class page extends cms {
private function write_navigation() {
echo "";
- echo "
";
+ echo "";
if($this->page > 1){
$previous_page = $this->page - 1;
echo "prev";
@@ -302,7 +302,7 @@ class page extends cms {
$forward_page = $this->page + 1;
echo " next";
}
- echo "
";
+ echo "";
echo "
";
}
@@ -401,7 +401,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;
@@ -411,14 +411,14 @@ END_OF_NOTE;
echo <<
-
+
END_OF_NAVIGATION;
if (!$this->comments_enabled) {
$this->display_comment_link();
}
echo <<back to notes/
-
+
END_OF_NAVIGATION;
}
@@ -588,9 +588,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 +598,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 +607,7 @@ class archive extends cms {
private function write_navigation() {
echo "
";
echo "
";
- echo "
";
// fill me in!
- echo "
";
echo "";
}