function EntryPage::print_comment(Comment c) { var string date = $c->time_display("short", ""); var string datetime; $datetime = $date; var string symb; if ($c.metadata{"picture_keyword"}!=""){ $symb = ": "; } var string picword; if (defined $c.userpic and $*comment_userpic_style !="off") { $picword = $c.poster.name + $symb + $c.metadata{"picture_keyword"}; } var string subjecticon; if (defined $c.subject_icon) { $subjecticon = """"""; } var string ip; if ($c.metadata{"poster_ip"}) { $ip = """   """ + $c.metadata{"poster_ip"}; } var string poster = defined $c.poster ? $c.poster->as_string() : "(Anonymous)"; var string pic; if (defined $c.userpic and $*comment_userpic_style != "off") { $pic = """
"""; } var string indent = ($c.depth - 1) * 20 + "px"; """
$pic
$subjecticon $c.subject
"""; if ($.multiform_on) { """ """; $c->print_multiform_check(); } """
$poster $ip
Posted: $datetime

"""; $c->print_text(); """

 
"""; if ((size $c.replies) > 0 and $c.replies[0].full == false) { """
\n"""; $this->print_comments($c.replies); "
\n"; } """
 
"""; if ((size $c.replies) > 0 and $c.replies[0].full == true) { $this->print_comments($c.replies); } }