Changeset 121 for postcomment.php

Show
Ignore:
Timestamp:
15/06/05 20:08:33 (4 years ago)
Author:
davea
Message:

More business:
* Tweaked the comment posting interface a little
* A user can allow certain e-mail addresses to bypass moderation, this is configurable from the admin pages.
* probably a couple of other things i've forgotten about

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • postcomment.php

    r120 r121  
    11<?php 
     2ob_start(); 
    23include "blog.lib.php"; 
    34 
     
    67$blog = new blogs($blogid); 
    78 
    8 if($blog->newComment($postid, FALSE)) { 
     9$ret = $blog->newComment($postid, FALSE); 
     10if($ret[0]) { 
    911        echo "<split>OK"; 
    1012} else { 
    11         echo "<split>ERROR"
     13        echo "<split>ERROR<split>".$ret[1]
    1214} 
    1315?>