"""; $c->print_text(); """
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 = """
"""; $c->print_text(); """