Commit 2e8763ba authored by Kjartan's avatar Kjartan

node.module

- some minor modifications to node_link()
parent 55f9dc45
......@@ -76,6 +76,9 @@ function node_link($type, $node = 0) {
}
if ($type == "node") {
if ($node->links) {
$links = $node->links;
}
if ($node->body) {
$links[] = "<a href=\"node.php?id=". $node->nid ."\">". t("read more") ."</a>";
}
......
......@@ -76,6 +76,9 @@ function node_link($type, $node = 0) {
}
if ($type == "node") {
if ($node->links) {
$links = $node->links;
}
if ($node->body) {
$links[] = "<a href=\"node.php?id=". $node->nid ."\">". t("read more") ."</a>";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment