mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user