title\" -->\n";
print "\n";
print " path/images/drop.gif\" alt=\"\" /> $node->title | \n";
print " path/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" /> | \n";
print " ". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))); ?> | ". $this->links($terms) ." | \n";
print " | \n";
if ($main && $node->teaser) {
print " ". check_output($node->teaser) ." | \n";
}
else {
print " ". check_output($node->body) ." | \n";
}
print " | \n";
if ($links = link_node($node, $main)) {
print " ". $this->links($links) ." | \n";
}
print " \n";
print "
\n\n";
}
function comment($comment, $link = "") {
// Create comment header:
print "\n";
print " \n";
print " \n";
print " \n";
print " \n";
print " \n";
print " \n";
print " \n";
// Subject:
print " ". t("Subject") .": | \n";
print " $comment->subject | \n";
print " \n";
// Author:
print " \n";
print " ". t("Author") .": | ". format_name($comment) ." | \n";
print " \n";
// Date
print " \n";
print " ". t("Date") .": | ". format_date($comment->timestamp) ." | \n";
print " \n";
print " \n";
print " | \n";
print " \n";
// Print body of comment:
if ($comment->comment) {
print " ". check_output($comment->comment) ." | \n";
}
// Print bottom link(s):
print " [ $link ] | \n";
print " \n";
print " | \n";
print " \n";
print " \n";
print " \n\n";
}
function box($subject, $content, $region = "main") {
print "\n\n";
print "\n";
print " \n";
print " \n";
print " \n";
print " $subject | \n";
print " $content | \n";
print " \n";
print " | \n";
print " \n";
print " \n";
print " \n\n";
}
function links($links, $delimiter = " · ") {
return implode($delimiter, $links);
}
function footer() {
?>
|
|