function EntryPage::print_comment(Comment c) { 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 datetime; $datetime = $c.time->date_format()+", " + $c.time->time_format(); var string parent; var string thread; if($c.parent_url != "") { $parent = """   $*text_comment_parent   """; } if($c.thread_url != "") { $thread = """   $*text_comment_thread   """; } 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) * 25 + "px"; """
$pic

$subjecticon
$poster $ip
on $datetime
$c.subject

"""; $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); } }