@@ -170,7 +170,7 @@ function discussion_reply($pid, $sid) {
### Extract parent-information/data:
if($pid){
$item=db_fetch_object(db_query("SELECT comments.*, users.userid FROM comments LEFT JOIN users ON comments.author = users.id WHERE comments.cid = $pid"));
$theme->comment($item->userid,check_output(stripslashes($item->subject)),check_output(stripslashes($item->comment)),$item->timestamp,stripslashes($item->url),stripslashes($item->femail),$item->score,$item->cid,"reply to this comment");
$theme->comment($item->userid,check_output(stripslashes($item->subject)),check_output(stripslashes($item->comment)),$item->timestamp,stripslashes($item->url),stripslashes($item->femail),discussion_score($comment),$comment->votes,$item->cid,"reply to this comment");
}
else{
$item=db_fetch_object(db_query("SELECT stories.*, users.userid FROM stories LEFT JOIN users ON stories.author = users.id WHERE stories.status != 0 AND stories.id = $sid"));
...
...
@@ -221,8 +221,8 @@ function comment_preview($pid, $sid, $subject, $comment) {
global$anonymous,$user,$theme;
### Preview comment:
if($user)$theme->comment("",check_output(stripslashes($subject)),check_output(stripslashes($comment)),time(),"","","na","","reply to this comment");
else$theme->comment($user->userid,check_output(stripslashes($subject)),check_output(stripslashes($comment)),time(),stripslashes($user->url),stripslashes($user->femail),"na","","reply to this comment");
if($user)$theme->comment("",check_output(stripslashes($subject)),check_output(stripslashes($comment)),time(),"","","na","","","reply to this comment");
else$theme->comment($user->userid,check_output(stripslashes($subject)),check_output(stripslashes($comment)),time(),stripslashes($user->url),stripslashes($user->femail),"na","","","reply to this comment");
<DT><B>Can I syndicate content from this site?</B></DT>
<DD>--- under construction ---<P></DD>
<DT><B>I found a bug or encountered a problem, what do I do?</B></DT>
<DD>Write us a bugreport or send us a patch! Writing a good bug report takes patience, but doing it right the first time saves time for us and for you. It is most helpful when a good description of the problem is included in the bug report. That is, a good example of all the things you did that led to the problem and the problem itself exactly described. The best reports are those that include a full example showing how to reproduce the bug or problem.<P></DD>
<DT><B>Is the source code of this site available?</B></DT>
<DD>This site is powered by <A HREF=\"http://www.fsf.org/\">Free Software</A>; including <A HREF=\"http://www.apache.org/\">Apache</A>, <A HREF=\"http://www.php.net/\">PHP</A>, <A HREF=\"http://www.mysql.com/\">MySQL</A> and <A HREF=\"http://www.linux.com/\">Linux</A>, and is inspired by several <A HREF=\"http://www.fsf.org/\">Free Software</A> projects. Therefor we have decided to make the software engine of this site available under terms of GPL.<P>However, the sources are <B>not</B> available yet at this time, but will be released as soon we have a first, well-rounded source tree that has proven to be stable. If you can't wait or in case you have big plans (like `total domination') with the engine, don't hesitate to contact us and we might grant you CVS access.<P></DD>