summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-03 08:11:19 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-03 08:11:19 +0000
commitaa1b366deb52d9866fd93ad083a97f24be452394 (patch)
treef067f4f396ba53e4202f39ae1c74609d7615701c /includes
parent819543f7b29da9bf927a463bfa12ee3801cf49ed (diff)
downloadbrdo-aa1b366deb52d9866fd93ad083a97f24be452394.tar.gz
brdo-aa1b366deb52d9866fd93ad083a97f24be452394.tar.bz2
- fixed bug in search.php
- fixed bug in discussion.php - theme update: comment() now takes 3 arguments: $comment - an object with comment data $link - a link to the reply form of that particular comment $thread - the subthread of that particular comment - theme 'marvin' and theme 'zaphod' are updated, theme 'unconed' is left to be done
Diffstat (limited to 'includes')
-rw-r--r--includes/comment.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/includes/comment.inc b/includes/comment.inc
new file mode 100644
index 000000000..110283b00
--- /dev/null
+++ b/includes/comment.inc
@@ -0,0 +1,17 @@
+<?
+
+class Comment {
+ function Comment($userid, $subject, $comment, $timestamp, $url, $fake_email, $score, $votes, $cid) {
+ $this->userid = $userid;
+ $this->subject = $subject;
+ $this->comment = $comment;
+ $this->timestamp = $timestamp;
+ $this->url = $url;
+ $this->fake_email = $fake_email;
+ $this->score = $score;
+ $this->votes = $votes;
+ $this->cid = $cid;
+ }
+}
+
+?>