summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-10 19:49:16 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-10 19:49:16 +0000
commitb06bbe74811561002ac986db26ebd06de5343857 (patch)
tree9d9c0f9c25de38de6917d4fbb1cd1afb14289c4f /modules/blog.module
parentd480507f0de23cafff5ce448b1e8beee2434e54b (diff)
downloadbrdo-b06bbe74811561002ac986db26ebd06de5343857.tar.gz
brdo-b06bbe74811561002ac986db26ebd06de5343857.tar.bz2
- default theme added to theme options + some clean up.
- title of "blog it" item is used as default node title. - added link to news feed admin pages on import_page. - "blog it" link only shows when the blog module is available.
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/blog.module b/modules/blog.module
index f6ad0b849..1a2aa8d3c 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -249,6 +249,7 @@ function blog_form(&$node, &$help, &$error) {
}
if ($iid && $item = db_fetch_object(db_query("SELECT i.*, f.title as ftitle, f.link as flink FROM item i, feed f WHERE i.iid = '%s' AND i.fid = f.fid", $iid))) {
+ $node->title = $item->title;
$node->body = "<a href=\"$item->link\">$item->title</a> - <i>". check_output($item->description) ."</i> [<a href=\"$item->flink\">$item->ftitle</a>]\n";
}
}