Some more tweaks to the website

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@586 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-08-01 16:48:22 +00:00
parent 06770361ab
commit db50b48073
3 changed files with 46 additions and 8 deletions
+11 -2
View File
@@ -105,9 +105,18 @@ function fromfile_page() {
}
// done
drupal_set_title($title);
drupal_set_breadcrumb($breadcrumbs);
return $content;
// view as a node
$node = array(
'title' => $title,
'body' => $content,
'created' => 0,
'links' => FALSE,
'name' => '',
'nid' => ''
);
//return node_view((object)$node, FALSE, TRUE);
return theme('node', (object)$node, FALSE, TRUE);
}