Commit 39df1cba authored by Dries's avatar Dries

- Various updates, mostly related to our RDF/RSS backend.
parent af7d8ebe
......@@ -365,7 +365,7 @@ function node_block() {
global $theme;
$block[0][subject] = t("Syndicate");
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=blog&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][info] = "Syndicate";
return $block;
......
......@@ -365,7 +365,7 @@ function node_block() {
global $theme;
$block[0][subject] = t("Syndicate");
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=blog&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][info] = "Syndicate";
return $block;
......
......@@ -29,6 +29,10 @@ function story_help() {
<?php
}
function story_summary($node) {
return $node->abstract;
}
function story_view($node, $main = 0) {
global $theme;
$node->body = ((!$main) && ($node->body)) ? "$node->abstract<HR>$node->body" : $node->abstract;
......
......@@ -29,6 +29,10 @@ function story_help() {
<?php
}
function story_summary($node) {
return $node->abstract;
}
function story_view($node, $main = 0) {
global $theme;
$node->body = ((!$main) && ($node->body)) ? "$node->abstract<HR>$node->body" : $node->abstract;
......
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