
Backend/Func/APost.pm - Display a post
This function returns the HTML to display a single post, as seen when viewing a thread. Note that you should print a beginning TABLE tag before printing from this function, and print a closing TABLE tag afterwards.
$ret .= $self->APost($post_object, [ $highlight_hashref ], [ $userlevel ], [ $userlevel_arrayref ], $users_object [, $showsig_bool [, $showavatar_bool [, $canreply_bool [, $video_var ]]]]);
Example
my $post = # ... details of the post to show from the 'posts' table of the database
my $user = $self->{db}->getuser($uid);
$ret .= $self->APost($post, undef, undef, undef, $user);
|