diff --git a/includes/theme.inc b/includes/theme.inc index 4bc6e57ea8d..d37b73cd9cc 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1,16 +1,16 @@ link\">". t($link[1]) ."" : t($link[0]); + if ($link[0]) $_links[] = count($link) == 2 ? "link\">". t($link[1]) ."" : t($link[0]); } - if ($status == 2) return ($_links ? implode(" | ", $_links) : ""); - else return ($_links ? "[ ". implode(" | ", $_links) ." ]" : ""); + return ($_links ? implode(" | ", $_links) : ""); } } @@ -112,17 +112,6 @@ function theme_blocks($region, $theme) { } } -function theme_morelink(&$node) { - if ($node->body) { - $links[] = array("node.php?id=$node->nid", t("read more")); - } - if ($node->comment) { - $links[] = array("node.php?id=$node->nid", format_plural(node_get_comments($node->nid), "comment", "comments")); - } - - return $links; -} - function theme_moderation_results($theme, $node) { foreach (explode(";", $node->users) as $vote) { if ($vote) { diff --git a/themes/example/example.theme b/themes/example/example.theme index caa3c951853..dae6300a09d 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -83,7 +83,7 @@
". check_output($node->body, 1) ."