\n"; $output .= "
";
print $output;
$this->box(t("Navigation"), @implode(" ", link_page())); theme_blocks("all", $this); print " | ";
}
function links($links, $delimiter = " | ") {
return implode($delimiter, $links);
}
function image($name) {
return "misc/$name";
}
function node($node, $main) {
if (function_exists("taxonomy_node_get_terms")) {
foreach (taxonomy_node_get_terms($node->nid) as $term) {
$terms[] = l($term->name, array("or" => $term->tid), "index");
}
}
$output = "". check_output($node->title) ." by ". format_name($node) ." "; if (count($terms)) { $output .= "(". $this->links($terms) .") "; } if ($main && $node->teaser) { $output .= strip_tags(check_output($node->teaser, 1)); } else { $output .= check_output($node->body, 1); } if ($links = link_node($node, $main)) { $output .= " [ ". $this->links($links) ." ]"; } $output .= " "; print $output; } function box($subject, $content, $region = "main") { $output = "". check_output($subject) ." ". check_output($content) .""; print $output; } function footer() { $output = " |