X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=index.php;h=8bd3f6c5e2c9eb3ae6ca5c23e0f5db5032ed9755;hb=6709efc8d60c9277a668b02f4f128ba375dfb534;hp=88f82d2410f52e0f59fdfbe72e9142e53265b75d;hpb=df6b25144faef3a12fd2db73ecc765ec7eb0ec65;p=dylansserver.git diff --git a/index.php b/index.php index 88f82d2..8bd3f6c 100644 --- a/index.php +++ b/index.php @@ -163,7 +163,7 @@ class index extends cms {
  • git://dylansserver.com
  • + "/git/">git://dylansserver.com
  • some notes:

    @@ -435,8 +435,8 @@ class note extends cms { // and a default author needs to be set // for no-javascript users. $stmt->bind_param('sss', - htmlspecialchars($_POST['name']), - htmlspecialchars($_POST['text']), + $_POST['name'], + $_POST['text'], $this->id); $stmt->execute(); } @@ -491,7 +491,7 @@ END_OF_NAVIGATION; $date_posted = $entry['date_posted']; $author = $entry['author']; $text = htmlspecialchars($entry['text']); - $head = "

    $author

    "; + $head = "

    " . htmlspecialchars($author) . "

    "; echo << $head