disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new title font, bg img, abstract title name to ini file
[dylansserver.git]
/
model
/
note.php
diff --git
a/model/note.php
b/model/note.php
index
8e863f1
..
f0c54cb
100644
(file)
--- a/
model/note.php
+++ b/
model/note.php
@@
-85,11
+85,11
@@
class note extends model {
$i = 0;
foreach ($result as $row => $entry) {
$this->comment[$i]['date_posted'] = $entry['date_posted'];
$i = 0;
foreach ($result as $row => $entry) {
$this->comment[$i]['date_posted'] = $entry['date_posted'];
- $this->comment[$i]['author'] =
$entry['author']
;
+ $this->comment[$i]['author'] =
htmlspecialchars($entry['author'])
;
$this->comment[$i]['text'] = htmlspecialchars($entry['text']);
$this->comment[$i]['text'] = htmlspecialchars($entry['text']);
- $this->comment[$i]['head'] = "<h3>" . htmlspecialchars($author) . "</h3>";
$i++;
}
$i++;
}
+ require_once('view/comment.php');
}
public function display_comment_form() {
}
public function display_comment_form() {