node.module

- some minor modifications to node_link()
3-00
Kjartan Mannes 2001-08-02 15:54:09 +00:00
parent 55f9dc457b
commit 2e8763bac0
2 changed files with 6 additions and 0 deletions

View File

@ -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>";
}

View File

@ -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>";
}