Binary files family/.individual.inc.swp and drupal/modules/family/.individual.inc.swp differ
diff -urN family/common.inc drupal/modules/family/common.inc
--- family/common.inc	2006-04-30 19:59:21.000000000 -0500
+++ drupal/modules/family/common.inc	2007-09-26 01:39:17.580734250 -0500
@@ -31,8 +31,8 @@
     $removed = family_remove_fact($sub_fid, $fid);
   }
   //Remove both the fact & relationship to parent facts
-  db_query("DELETE FROM family_relations WHERE fid1 = %d", $fid);
-  db_query("DELETE FROM family_facts WHERE fid = %d", $fid);
+  db_query("DELETE FROM {family_relations} WHERE fid1 = %d", $fid);
+  db_query("DELETE FROM {family_facts} WHERE fid = %d", $fid);
 }
 
 function family_insert_relation($fid1, $fid2, $desc) {
diff -urN family/content drupal/modules/family/content
--- family/content	1969-12-31 18:00:00.000000000 -0600
+++ drupal/modules/family/content	2007-09-26 13:00:12.924731500 -0500
@@ -0,0 +1,1130 @@
+/volo/drupal/modules/blog/blog.module:    if (user_access('edit own blog') && ($user->uid == $node->uid)) {
+/volo/drupal/modules/blog/blog.module:      $output .= node_view(node_load($node->nid), 1);
+/volo/drupal/modules/blog/blog.module:    $output .= node_view(node_load($node->nid), 1);
+/volo/drupal/modules/blog/blog.module:  if (empty($node->body)) {
+/volo/drupal/modules/blog/blog.module:      $node->body = '<em>'. $blog->body .'</em> ['. l($blog->name, "node/$nid") .']';
+/volo/drupal/modules/blog/blog.module:      $node->title = $item->title;
+/volo/drupal/modules/blog/blog.module:      $node->body = '<a href="'. check_url($item->link) .'">'. check_plain($item->title) .'</a> - <em>'. $item->description .'</em> [<a href="'. check_url($item->flink) .'">'. check_plain($item->ftitle) ."</a>]\n";
+/volo/drupal/modules/blog/blog.module:  $form['title'] = array('#type' => 'textfield', '#title' => check_plain($type->title_label), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
+/volo/drupal/modules/blog/blog.module:  $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => check_plain($type->body_label), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
+/volo/drupal/modules/blog/blog.module:  $form['body_filter']['filter'] = filter_form($node->format);
+/volo/drupal/modules/blog/blog.module:    $breadcrumb[] = array('path' => 'blog/'. $node->uid, 'title' => t("@name's blog", array('@name' => $node->name)));
+/volo/drupal/modules/blog/blog.module:    $breadcrumb[] = array('path' => 'node/'. $node->nid);
+/volo/drupal/modules/blog/blog.module:  if ($type == 'node' && $node->type == 'blog') {
+/volo/drupal/modules/blog/blog.module:    if (arg(0) != 'blog' || arg(1) != $node->uid) {
+/volo/drupal/modules/blog/blog.module:        'title' => t("@username's blog", array('@username' => $node->name)),
+/volo/drupal/modules/blog/blog.module:        'href' => "blog/$node->uid",
+/volo/drupal/modules/blog/blog.module:        'attributes' => array('title' => t("Read @username's latest blog entries.", array('@username' => $node->name)))
+/volo/drupal/modules/blogapi/blogapi.module:  if ($node->nid) {
+/volo/drupal/modules/blogapi/blogapi.module:    watchdog('content', t('@type: added %title using blog API.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
+/volo/drupal/modules/blogapi/blogapi.module:    return "$node->nid";
+/volo/drupal/modules/blogapi/blogapi.module:  unset($node->teaser);
+/volo/drupal/modules/blogapi/blogapi.module:  $node->status = $publish;
+/volo/drupal/modules/blogapi/blogapi.module:    $node->title = $content['title'];
+/volo/drupal/modules/blogapi/blogapi.module:    $node->body = $content['description'];
+/volo/drupal/modules/blogapi/blogapi.module:    $node->title = blogapi_blogger_title($content);
+/volo/drupal/modules/blogapi/blogapi.module:    $node->body = $content;
+/volo/drupal/modules/blogapi/blogapi.module:    $node->date = format_date($node->created, 'custom', 'Y-m-d H:i:s O');
+/volo/drupal/modules/blogapi/blogapi.module:  if ($node->nid) {
+/volo/drupal/modules/blogapi/blogapi.module:    watchdog('content', t('@type: updated %title using blog API.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
+/volo/drupal/modules/blogapi/blogapi.module:  $node->taxonomy = array();
+/volo/drupal/modules/blogapi/blogapi.module:    $node->taxonomy[] = $category['categoryId'];
+/volo/drupal/modules/blogapi/blogapi.module:  $node->status = 1;
+/volo/drupal/modules/blogapi/blogapi.module:        $node->comment = COMMENT_NODE_DISABLED;
+/volo/drupal/modules/blogapi/blogapi.module:        $node->comment = COMMENT_NODE_READ_WRITE;
+/volo/drupal/modules/blogapi/blogapi.module:        $node->comment = COMMENT_NODE_READ_ONLY;
+/volo/drupal/modules/blogapi/blogapi.module:    $node->body = $struct['mt_excerpt'] .'<!--break-->'.$node->body;
+/volo/drupal/modules/blogapi/blogapi.module:    $node->body = $node->body .'<!--extended-->'. $struct['mt_text_more'];
+/volo/drupal/modules/blogapi/blogapi.module:    $node->format = $struct['mt_convert_breaks'];
+/volo/drupal/modules/blogapi/blogapi.module:    $node->date = format_date(mktime($struct['dateCreated']->hour, $struct['dateCreated']->minute, $struct['dateCreated']->second, $struct['dateCreated']->month, $struct['dateCreated']->day, $struct['dateCreated']->year), 'custom', 'Y-m-d H:i:s O');
+/volo/drupal/modules/blogapi/blogapi.module:    'userid' => $node->name,
+/volo/drupal/modules/blogapi/blogapi.module:    'dateCreated' => xmlrpc_date($node->created),
+/volo/drupal/modules/blogapi/blogapi.module:    'title' => $node->title,
+/volo/drupal/modules/blogapi/blogapi.module:    'postid' => $node->nid,
+/volo/drupal/modules/blogapi/blogapi.module:    'link' => url('node/'.$node->nid, NULL, NULL, TRUE),
+/volo/drupal/modules/blogapi/blogapi.module:    'permaLink' => url('node/'.$node->nid, NULL, NULL, TRUE),
+/volo/drupal/modules/blogapi/blogapi.module:    if ($node->comment == 1) {
+/volo/drupal/modules/blogapi/blogapi.module:    else if ($node->comment == 2) {
+/volo/drupal/modules/blogapi/blogapi.module:    $xmlrpcval['content'] = "<title>$node->title</title>$node->body";
+/volo/drupal/modules/blogapi/blogapi.module:    $xmlrpcval['description'] = $node->body;
+/volo/drupal/modules/blogapi/blogapi.module:    $xmlrpcval['mt_convert_breaks'] = $node->format;
+/volo/drupal/modules/book/book.module:    if (user_access('edit book pages') || ($node->uid == $user->uid && user_access('edit own book pages'))) {
+/volo/drupal/modules/book/book.module:       // do nothing. node-access() will determine further access
+/volo/drupal/modules/book/book.module:  if ($type == 'node' && isset($node->parent)) {
+/volo/drupal/modules/book/book.module:      if (book_access('create', $node) && $node->status == 1) {
+/volo/drupal/modules/book/book.module:          'href' => "node/add/book/parent/$node->nid"
+/volo/drupal/modules/book/book.module:          'href' => 'book/export/html/'. $node->nid,
+/volo/drupal/modules/book/book.module:          $expand[] = $node->nid;
+/volo/drupal/modules/book/book.module:  db_query("INSERT INTO {book} (nid, vid, parent, weight) VALUES (%d, %d, %d, %d)", $node->nid, $node->vid, $node->parent, $node->weight);
+/volo/drupal/modules/book/book.module:    $node->revision = 1;
+/volo/drupal/modules/book/book.module:    $node->uid = $user->uid;
+/volo/drupal/modules/book/book.module:  if ($node->nid && !$node->parent && !user_access('create new books')) {
+/volo/drupal/modules/book/book.module:    $form['parent'] = array('#type' => 'value', '#value' => $node->parent);
+/volo/drupal/modules/book/book.module:      '#default_value' => ($node->parent ? $node->parent : arg(4)),
+/volo/drupal/modules/book/book.module:      '#options' => book_toc($node->nid),
+/volo/drupal/modules/book/book.module:    '#default_value' => $node->title,
+/volo/drupal/modules/book/book.module:    '#default_value' => $node->body,
+/volo/drupal/modules/book/book.module:  $form['body_filter']['format'] = filter_form($node->format);
+/volo/drupal/modules/book/book.module:      '#default_value' => $node->weight,
+/volo/drupal/modules/book/book.module:      '#value' => isset($node->weight) ? $node->weight : 0,
+/volo/drupal/modules/book/book.module:    '#default_value' => $node->parent,
+/volo/drupal/modules/book/book.module:    '#options' => book_toc($node->nid),
+/volo/drupal/modules/book/book.module:    '#default_value' => $node->weight,
+/volo/drupal/modules/book/book.module:  if (isset($node->parent)) {
+/volo/drupal/modules/book/book.module:  drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/book/book.module:      db_query('INSERT INTO {book} (nid, vid, parent, weight) VALUES (%d, %d, %d, %d)', $node->nid, $node->vid, $form_values['parent'], $form_values['weight']);
+/volo/drupal/modules/book/book.module:      db_query("UPDATE {node_revisions} SET log = '%s' WHERE vid = %d", $form_values['log'], $node->vid);
+/volo/drupal/modules/book/book.module:      db_query('UPDATE {book} SET parent = %d, weight = %d WHERE vid = %d', $form_values['parent'], $form_values['weight'], $node->vid);
+/volo/drupal/modules/book/book.module:      db_query("UPDATE {node_revisions} SET log = '%s' WHERE vid = %d", $form_values['log'], $node->vid);
+/volo/drupal/modules/book/book.module:      db_query('DELETE FROM {book} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/book/book.module:  return "node/$node->nid";
+/volo/drupal/modules/book/book.module:  $parent = db_fetch_object(db_query(db_rewrite_sql('SELECT n.nid, n.title, b.parent, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE n.nid = %d'), $node->parent));
+/volo/drupal/modules/book/book.module:  $last_direct_child = db_fetch_object(db_query(db_rewrite_sql('SELECT n.nid, n.title, b.parent, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE n.status = 1 AND b.parent = %d ORDER BY b.weight DESC, n.title DESC'), $node->nid));
+/volo/drupal/modules/book/book.module:  if ($node->parent == 0) {
+/volo/drupal/modules/book/book.module:  $direct_above = db_fetch_object(db_query(db_rewrite_sql("SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE b.parent = %d AND n.status = 1 AND (b.weight < %d OR (b.weight = %d AND n.title < '%s')) ORDER BY b.weight DESC, n.title DESC"), $node->parent, $node->weight, $node->weight, $node->title));
+/volo/drupal/modules/book/book.module:    $prev = db_fetch_object(db_query(db_rewrite_sql('SELECT n.nid, n.title FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE n.nid = %d AND n.status = 1'), $node->parent));
+/volo/drupal/modules/book/book.module:  $child = db_fetch_object(db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE b.parent = %d AND n.status = 1 ORDER BY b.weight ASC, n.title ASC'), $node->nid));
+/volo/drupal/modules/book/book.module:      return db_fetch_array(db_query('SELECT parent, weight FROM {book} WHERE vid = %d', $node->vid));
+/volo/drupal/modules/book/book.module:        if (isset($node->parent)) {
+/volo/drupal/modules/book/book.module:          $node->breadcrumb = array(); // Overwrite the trail with a book trail.
+/volo/drupal/modules/book/book.module:            $node->breadcrumb[] = array('path' => 'node/'. $level->nid, 'title' =>  $level->title);
+/volo/drupal/modules/book/book.module:          $node->breadcrumb[] = array('path' => 'node/'. $node->nid);
+/volo/drupal/modules/book/book.module:          $node->content['book_navigation'] = array(
+/volo/drupal/modules/book/book.module:            menu_set_location($node->breadcrumb);
+/volo/drupal/modules/book/book.module:      if (isset($node->parent)) {
+/volo/drupal/modules/book/book.module:        if ($node->revision) {
+/volo/drupal/modules/book/book.module:          db_query("INSERT INTO {book} (nid, vid, parent, weight) VALUES (%d, %d, %d, %d)", $node->nid, $node->vid, $node->parent, $node->weight);
+/volo/drupal/modules/book/book.module:          db_query("UPDATE {book} SET parent = %d, weight = %d WHERE vid = %d", $node->parent, $node->weight, $node->vid);
+/volo/drupal/modules/book/book.module:      db_query('DELETE FROM {book} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/book/book.module:      db_query('DELETE FROM {book} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/book/book.module:  if ($node->nid) {
+/volo/drupal/modules/book/book.module:    $tree = book_tree($node->nid);
+/volo/drupal/modules/book/book.module:    if ($node->parent) {
+/volo/drupal/modules/book/book.module:      drupal_add_link(array('rel' => 'up', 'href' => url('node/'. $node->parent)));
+/volo/drupal/modules/book/book.module:      $links .= l(t('up'), 'node/'. $node->parent, array('class' => 'page-up', 'title' => t('Go to parent page')));
+/volo/drupal/modules/book/book.module:      if (!$exclude || $exclude != $node->nid) {
+/volo/drupal/modules/book/book.module:        $toc[$node->nid] = $indent .' '. $node->title;
+/volo/drupal/modules/book/book.module:        $toc = book_toc_recurse($node->nid, $indent .'--', $toc, $children, $exclude);
+/volo/drupal/modules/book/book.module:    if (!$children[$node->parent]) {
+/volo/drupal/modules/book/book.module:      $children[$node->parent] = array();
+/volo/drupal/modules/book/book.module:    $children[$node->parent][] = $node;
+/volo/drupal/modules/book/book.module:        if (in_array($node->nid, $unfold)) {
+/volo/drupal/modules/book/book.module:          if ($tree = book_tree_recurse($node->nid, $depth - 1, $children, $unfold)) {
+/volo/drupal/modules/book/book.module:            $output .= l($node->title, 'node/'. $node->nid);
+/volo/drupal/modules/book/book.module:            $output .= '<li class="leaf">'. l($node->title, 'node/'. $node->nid) .'</li>';
+/volo/drupal/modules/book/book.module:          if ($tree = book_tree_recurse($node->nid, 1, $children)) {
+/volo/drupal/modules/book/book.module:            $output .= '<li class="collapsed">'. l($node->title, 'node/'. $node->nid) .'</li>';
+/volo/drupal/modules/book/book.module:            $output .= '<li class="leaf">'. l($node->title, 'node/'. $node->nid) .'</li>';
+/volo/drupal/modules/book/book.module:    $list = isset($children[$node->parent]) ? $children[$node->parent] : array();
+/volo/drupal/modules/book/book.module:    $children[$node->parent] = $list;
+/volo/drupal/modules/book/book.module:    $books[] = l($node->title, 'node/'. $node->nid);
+/volo/drupal/modules/book/book.module:    return theme('book_export_html', check_plain($node->title), $content);
+/volo/drupal/modules/book/book.module:      $children = db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE n.status = 1 AND b.parent = %d ORDER BY b.weight, n.title'), $node->nid);
+/volo/drupal/modules/book/book.module:          if ($childnode->nid != $node->nid) {
+/volo/drupal/modules/book/book.module:              $output .= book_recurse($childnode->nid, $depth + 1, $visit_pre, $visit_post);
+/volo/drupal/modules/book/book.module:  $node->body = str_replace('<!--break-->', '', $node->body);
+/volo/drupal/modules/book/book.module:  $output .= "<div id=\"node-". $node->nid ."\" class=\"section-$depth\">\n";
+/volo/drupal/modules/book/book.module:  $output .= "<h1 class=\"book-heading\">". check_plain($node->title) ."</h1>\n";
+/volo/drupal/modules/book/book.module:  $output .= drupal_render($node->content);
+/volo/drupal/modules/book/book.module:    'nid' => array('#type' => 'value', '#value' => $node->nid),
+/volo/drupal/modules/book/book.module:      '#default_value' => $node->title,
+/volo/drupal/modules/book/book.module:      '#default_value' => $node->weight,
+/volo/drupal/modules/book/book.module:  $children = db_query(db_rewrite_sql('SELECT n.nid, n.title, b.weight FROM {node} n INNER JOIN {book} b ON n.vid = b.vid WHERE b.parent = %d ORDER BY b.weight, n.title'), $node->nid);
+/volo/drupal/modules/book/book.module:  if ($node->nid) {
+/volo/drupal/modules/book/book.module:    drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/book/book.module:    if ($row['title'] != $node->title || $row['weight'] != $node->weight) {
+/volo/drupal/modules/book/book.module:      $node->title = $row['title'];
+/volo/drupal/modules/book/book.module:      $node->weight = $row['weight'];
+/volo/drupal/modules/book/book.module:      watchdog('content', t('%type: updated %title.', array('%type' => t('book'), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
+/volo/drupal/modules/book/book.module:      $output .= '<p>'. t('Administrators can view a list of all books on the <a href="@admin-node-book">book administration page</a>.  In this list there is a link to an outline page for each book, from which is it possible to change the titles of sections, or to change their weight, thus reordering sections. From this administrative interface, it is also possible to determine whether there are any orphan pages - pages that have become disconnected from the rest of the book structure.', array('@admin-node-book' => url('admin/content/book'))) .'</p>';
+/volo/drupal/modules/category/category.module:        'title' => $node->admin_title,
+/volo/drupal/modules/category/category.module:    if (_category_privileged('edit all') || ($node->uid == $user->uid && user_access('edit own categories'))) {
+/volo/drupal/modules/category/category.module:       // do nothing. node-access() will determine further access
+/volo/drupal/modules/category/category.module:  if ($type == 'node' && isset($node->parents)) {
+/volo/drupal/modules/category/category.module:    if (!$teaser && ($node->type != 'category_cat' || $node->hierarchy)) {
+/volo/drupal/modules/category/category.module:          'href' => "node/add/category-cat/parent/$node->nid",
+/volo/drupal/modules/category/category.module:          'href' => "node/add/category-cont/parent/$node->nid",
+/volo/drupal/modules/category/category.module:    if (isset($node->category) && is_array($node->category)) {
+/volo/drupal/modules/category/category.module:      foreach ($node->category as $category) {
+/volo/drupal/modules/category/category.module:        if (!module_exists('category_display') || ($category->cid && ($cat_node = node_load($category->cid)) && $cat_node->nodelinks)) {
+/volo/drupal/modules/category/category.module:  $category = category_get_category($node->nid);
+/volo/drupal/modules/category/category.module:    $container = category_get_container($node->nid);
+/volo/drupal/modules/category/category.module:    $parent_list = category_get_parents($node->nid, 'cid', variable_get('category_distant_containers', 1));
+/volo/drupal/modules/category/category.module:    $parent_list = category_get_parents($node->nid, 'cid', $category->children_have_distant);
+/volo/drupal/modules/category/category.module:    if ($category->has_relations) $category->relations = array_keys(category_get_related($node->nid));
+/volo/drupal/modules/category/category.module:    if ($category->has_synonyms) $category->synonyms = category_get_synonyms($node->nid);
+/volo/drupal/modules/category/category.module:  $node->cid = $node->nid;
+/volo/drupal/modules/category/category.module:  $node->module = $node->module ? $node->module : 'category';
+/volo/drupal/modules/category/category.module:  $data_exists = (db_result(db_query('SELECT COUNT(*) FROM {category} WHERE cid = %d', $node->nid)) > 0);
+/volo/drupal/modules/category/category.module:    db_query("UPDATE {category} SET cnid = %d, weight = %d, description = '%s', depth = %d WHERE cid = %d", $node->cnid, $node->weight, $node->description, $node->depth, $node->nid);
+/volo/drupal/modules/category/category.module:    db_query("INSERT INTO {category} (cid, cnid, description, weight, depth) VALUES (%d, %d, '%s', %d, %d)", $node->nid, $node->cnid, $node->description, $node->weight, $node->depth);
+/volo/drupal/modules/category/category.module:  db_query('DELETE FROM {category_hierarchy} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:  if (!empty($node->parents) && (!is_array($node->parents) || isset($node->parents[0]))) {
+/volo/drupal/modules/category/category.module:    if (!is_array($node->parents)) {
+/volo/drupal/modules/category/category.module:      $node->parents = array($node->parents);
+/volo/drupal/modules/category/category.module:    foreach ($node->parents as $key => $parent) {
+/volo/drupal/modules/category/category.module:        db_query('INSERT INTO {category_hierarchy} (cid, parent) VALUES (%d, %d)', $node->nid, $parent);
+/volo/drupal/modules/category/category.module:      db_query('INSERT INTO {category_hierarchy} (cid, parent) VALUES (%d, %d)', $node->nid, $node->cnid);
+/volo/drupal/modules/category/category.module:      db_query('INSERT INTO {category_hierarchy} (cid, parent) VALUES (%d, %d)', $node->nid, 0);
+/volo/drupal/modules/category/category.module:    if (empty($node->admin_title)) {
+/volo/drupal/modules/category/category.module:      $node->admin_title = '';
+/volo/drupal/modules/category/category.module:    $data_exists = (db_num_rows(db_query('SELECT * FROM {category_cont} WHERE cid = %d', $node->nid)) > 0);
+/volo/drupal/modules/category/category.module:      db_query('UPDATE {category_cont} SET '. _category_container_update($node) .' WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:    db_query("DELETE FROM {category_cont_node_types} WHERE cid = %d", $node->nid);
+/volo/drupal/modules/category/category.module:    if (isset($node->nodes) && is_array($node->nodes)) {
+/volo/drupal/modules/category/category.module:      foreach ($node->nodes as $type => $value) {
+/volo/drupal/modules/category/category.module:          db_query("INSERT INTO {category_cont_node_types} (cid, type) VALUES (%d, '%s')", $node->nid, $type);
+/volo/drupal/modules/category/category.module:    db_query("DELETE FROM {category_cont_distant} WHERE cid = %d", $node->nid);
+/volo/drupal/modules/category/category.module:    if (isset($node->children_allowed_parents) && is_array($node->children_allowed_parents)) {
+/volo/drupal/modules/category/category.module:      foreach ($node->children_allowed_parents as $key => $allowed_parent) {
+/volo/drupal/modules/category/category.module:          db_query("INSERT INTO {category_cont_distant} (cid, allowed_parent) VALUES (%d, '%s')", $node->nid, $allowed_parent);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_relation} WHERE cid1 = %d OR cid2 = %d', $node->nid, $node->nid);
+/volo/drupal/modules/category/category.module:    if ($node->relations) {
+/volo/drupal/modules/category/category.module:      foreach ($node->relations as $related_id) {
+/volo/drupal/modules/category/category.module:          db_query('INSERT INTO {category_relation} (cid1, cid2) VALUES (%d, %d)', $node->nid, $related_id);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_synonym} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:    if ($node->synonyms) {
+/volo/drupal/modules/category/category.module:      $synonyms = $node->synonyms;
+/volo/drupal/modules/category/category.module:      if (!is_array($node->synonyms)) {
+/volo/drupal/modules/category/category.module:        $synonyms = explode("\n", str_replace("\r", '', $node->synonyms));
+/volo/drupal/modules/category/category.module:          db_query("INSERT INTO {category_synonym} (cid, name) VALUES (%d, '%s')", $node->nid, chop($synonym));
+/volo/drupal/modules/category/category.module:  db_query('DELETE FROM {category} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:  db_query('DELETE FROM {category_hierarchy} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_cont} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:    db_query("DELETE FROM {category_cont_node_types} WHERE cid = %d", $node->nid);
+/volo/drupal/modules/category/category.module:    db_query("DELETE FROM {category_cont_distant} WHERE cid = %d OR allowed_parent = %d", $node->nid, $node->nid);
+/volo/drupal/modules/category/category.module:    category_select_nodes_cache($node->nid);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_node} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_relation} WHERE cid1 = %d OR cid2 = %d', $node->nid, $node->nid);
+/volo/drupal/modules/category/category.module:    db_query('DELETE FROM {category_synonym} WHERE cid = %d', $node->nid);
+/volo/drupal/modules/category/category.module:  $is_cat = $node->type == 'category_cat';
+/volo/drupal/modules/category/category.module:        $node->$key = $value;
+/volo/drupal/modules/category/category.module:    $node->parent_cont = $parent_cont;
+/volo/drupal/modules/category/category.module:  $node->cid = $node->nid;
+/volo/drupal/modules/category/category.module:  if (!isset($node->parents) || !is_array($node->parents)) {
+/volo/drupal/modules/category/category.module:    $node->parents = array($node->parents);
+/volo/drupal/modules/category/category.module:  $node->parents = array_values($node->parents);
+/volo/drupal/modules/category/category.module:  if (!isset($node->parents[0])) {
+/volo/drupal/modules/category/category.module:    if ($node->type == 'category_cat') {
+/volo/drupal/modules/category/category.module:      $node->parents[0] = $node->parent = $node->cnid;
+/volo/drupal/modules/category/category.module:      unset($node->parents[0]);
+/volo/drupal/modules/category/category.module:      $node->parent = 0;
+/volo/drupal/modules/category/category.module:    $node->parent = $node->parents[0];
+/volo/drupal/modules/category/category.module:  if (!isset($node->nodes) || !is_array($node->nodes)) {
+/volo/drupal/modules/category/category.module:    $node->nodes = array($node->nodes);
+/volo/drupal/modules/category/category.module:  if (empty($node->nodes[0])) {
+/volo/drupal/modules/category/category.module:    unset($node->nodes[0]);
+/volo/drupal/modules/category/category.module:      $node->category = category_node_get_categories($node->nid);
+/volo/drupal/modules/category/category.module:      if ($node->type != 'category_cat' && $node->type != 'category_cont' && category_is_cat_or_cont($node->nid)) {
+/volo/drupal/modules/category/category.module:          $node->$key = $value;
+/volo/drupal/modules/category/category.module:      $cat_type = variable_get('category_nodeapi_'. $node->type, 'none');
+/volo/drupal/modules/category/category.module:      if (isset($node->category)) {
+/volo/drupal/modules/category/category.module:      category_node_delete($node->nid);
+/volo/drupal/modules/category/category.module:      if (!$teaser && category_is_cat_or_cont($node->nid)) {
+/volo/drupal/modules/category/category.module:        $node->content += theme('category_view', $node);
+/volo/drupal/modules/category/category.module:      $cats = $node->category;
+/volo/drupal/modules/category/category.module:      $c = db_query(db_rewrite_sql("SELECT cn.*, n.title FROM {category_cont} cn INNER JOIN {category_cont_node_types} cnt ON cn.cid = cnt.cid INNER JOIN {category} c ON cn.cid = c.cid INNER JOIN {node} n ON cn.cid = n.nid WHERE cnt.type = '%s' AND n.status = 1 ORDER BY c.weight, n.title", 'cn', 'cid'), $node->type);
+/volo/drupal/modules/category/category.module:              '#activeselect_extra' => ($node->nid ? $node->nid : 0). ($default_cat ? ','. $default_cat : ''),
+/volo/drupal/modules/category/category.module:  if ($node->category) {
+/volo/drupal/modules/category/category.module:    $cats = $node->category;
+/volo/drupal/modules/category/category.module:  foreach ($node->category as $cat) {
+/volo/drupal/modules/category/category.module:  foreach ($node->category as $cat) {
+/volo/drupal/modules/category/category.module:        $parents = category_get_parents($node->nid);
+/volo/drupal/modules/category/category.module:        $children = category_get_tree($node->cnid, $node->nid, -1, NULL, TRUE);
+/volo/drupal/modules/category/category.module:        $exclude[] = $node->nid;
+/volo/drupal/modules/category/category.module:        $cats = $node->category;
+/volo/drupal/modules/category/category.module:  $nodes = category_select_nodes(array($node->nid), 'or', $node->depth, TRUE, TRUE);
+/volo/drupal/modules/category/category.module:    if (!module_exists('category_display') || $node->show_listing) {
+/volo/drupal/modules/category/category.module:        if ($node->depth) {
+/volo/drupal/modules/category/category.module:      if ($node->show_listing) {
+/volo/drupal/modules/category/category.module:          if ($node->depth && $node->emptymsg) {
+/volo/drupal/modules/category/category.module:          if ($node->emptymsg) {
+/volo/drupal/modules/category/category.module:    $node->content += $extra;
+/volo/drupal/modules/category/category.module:    drupal_add_feed('node/'. $node->nid .'/feed', 'RSS - '. $node->title);
+/volo/drupal/modules/category/category.module:      $node->content['category_listing'] = array(
+/volo/drupal/modules/category/category.module:      $node->content['category_listing'] = array(
+/volo/drupal/modules/category/category.module:  return $node->content;
+/volo/drupal/modules/category/category.module:      $value = $node->$key;
+/volo/drupal/modules/category/category.module:    $value = $node->$key;
+/volo/drupal/modules/cck/content.module:  $cid = 'content:'. $node->nid .':'. $node->vid;
+/volo/drupal/modules/cck/content.module:        $node->$key = $value;
+/volo/drupal/modules/cck/content.module:  $type = content_types($node->type);
+/volo/drupal/modules/cck/content.module:  cache_clear_all('content:'. $node->nid .':'. $node->vid, 'cache_content');
+/volo/drupal/modules/cck/content.module:  $type = content_types($node->type);
+/volo/drupal/modules/cck/content.module:    db_query('DELETE FROM {'. $table .'} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/cck/content.module:  cache_clear_all('content:'. $node->nid, 'cache_content', TRUE);
+/volo/drupal/modules/cck/content.module:  $type = content_types($node->type);
+/volo/drupal/modules/cck/content.module:    db_query('DELETE FROM {'. $table .'} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/cck/content.module:  cache_clear_all('content:'. $node->nid .':'. $node->vid, 'cache_content');
+/volo/drupal/modules/cck/content.module:  if ($node->in_preview) {
+/volo/drupal/modules/cck/content.module:  $node->content = array_merge((array) $node->content, $content);
+/volo/drupal/modules/cck/content.module:        $result = db_query('SELECT '. implode(', ', $column_names) .' FROM {'. $db_info['table'] .'} WHERE vid = %d ORDER BY delta', $node->vid);
+/volo/drupal/modules/cck/content.module:        $result = db_query('SELECT '. implode(', ', $column_names) .' FROM {'. $db_info['table'] .'} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/cck/content.module:        $data[] = $node->vid;
+/volo/drupal/modules/cck/content.module:        $data[] = $node->nid;
+/volo/drupal/modules/cck/content.module:          if (db_result(db_query('SELECT COUNT(*) FROM {'. $db_info['table'] .'} WHERE vid = %d AND nid = %d', $node->vid, $node->nid))) {
+/volo/drupal/modules/cck/content.module:        db_query('DELETE FROM {'. $db_info['table'] .'} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/cck/content.module:        $data[] = $node->vid;
+/volo/drupal/modules/cck/content.module:        $data[] = $node->nid;
+/volo/drupal/modules/cck/content.module:          if (db_result(db_query('SELECT COUNT(*) FROM {'. $db_info['table'] .'} WHERE vid = %d AND nid = %d', $node->vid, $node->nid))) {
+/volo/drupal/modules/cck/content.module:      db_query('DELETE FROM {'. $db_info['table'] .'} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/cck/content.module:      db_query('DELETE FROM {'. $db_info['table'] .'} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/cck/content.module:  $type_name = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+/volo/drupal/modules/cck/content.module:      $node_field = isset($node->$field['field_name']) ? $node->$field['field_name'] : array();
+/volo/drupal/modules/cck/content.module:      if (isset($node->$field['field_name']) || count($node_field)) {
+/volo/drupal/modules/cck/content.module:        $node->$field['field_name'] = $node_field;
+/volo/drupal/modules/cck/content.module:  $type_name = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+/volo/drupal/modules/cck/content.module:      $node_field = isset($node->$field['field_name']) ? $node->$field['field_name'] : array();
+/volo/drupal/modules/cck/content.module:      if (isset($node->$field['field_name'])) {
+/volo/drupal/modules/cck/content.module:        $node->$field['field_name'] = $node_field;
+/volo/drupal/modules/cck/content.module:  $type_name = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+/volo/drupal/modules/cck/content.module:      $node_field = isset($node->$field['field_name']) ? $node->$field['field_name'] : array();
+/volo/drupal/modules/cck/content.module:      if (isset($node->$field['field_name']) || count($node_field)) {
+/volo/drupal/modules/cck/content.module:        $node->$field['field_name'] = $node_field;
+/volo/drupal/modules/cck/content.module:  $type_name = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+/volo/drupal/modules/cck/content.module:      $node_field = isset($node->$field['field_name']) ? $node->$field['field_name'] : array();
+/volo/drupal/modules/cck/content.module:        if ($op == 'prepare form values' && empty($node->nid)) {
+/volo/drupal/modules/cck/content.module:      if (is_object($node) && (isset($node->$field['field_name']) || count($node_field))) {
+/volo/drupal/modules/cck/content.module:        $node->$field['field_name'] = $node_field;
+/volo/drupal/modules/cck/content.module: *   The field item to be formatted (such as $node->field_foo[0]).
+/volo/drupal/modules/cck/fieldgroup.module:      foreach (fieldgroup_groups($node->type) as $group_name => $group) {
+/volo/drupal/modules/cck/fieldgroup.module:        $node->content[$group_name] = $element;
+/volo/drupal/modules/cck/fieldgroup.module:          if (isset($node->content[$field_name])) {
+/volo/drupal/modules/cck/fieldgroup.module:            $node->content[$group_name][$field_name] = $node->content[$field_name];
+/volo/drupal/modules/cck/fieldgroup.module:            if ($node->content[$field_name]['#access'] && !empty($node->content[$field_name]['#value'])) {
+/volo/drupal/modules/cck/fieldgroup.module:            unset($node->content[$field_name]);
+/volo/drupal/modules/cck/fieldgroup.module:          unset($node->content[$group_name]);
+/volo/drupal/modules/cck/nodereference.module:      $text = l($referenced_node->title, 'node/'. $referenced_node->nid);
+/volo/drupal/modules/cck/nodereference.module:      $rows[$node->nid] = $node;
+/volo/drupal/modules/cck/nodereference.module:      $rows[$node->nid] = $node->node_title;
+/volo/drupal/modules/cck/optionwidgets.module:      $allowed_values = array('' => theme('optionwidgets_none', $field['widget']['type'], $field['field_name'], $node->type)) + $allowed_values;
+/volo/drupal/modules/cck/text.module:    return check_markup($text, $item['format'], is_null($node) || isset($node->in_preview));
+/volo/drupal/modules/comment/comment.module:      if ($node->nid) {
+/volo/drupal/modules/comment/comment.module:  if ($type == 'node' && $node->comment) {
+/volo/drupal/modules/comment/comment.module:        $all = comment_num_all($node->nid);
+/volo/drupal/modules/comment/comment.module:            'href' => "node/$node->nid",
+/volo/drupal/modules/comment/comment.module:          $new = comment_num_new($node->nid);
+/volo/drupal/modules/comment/comment.module:              'href' => "node/$node->nid",
+/volo/drupal/modules/comment/comment.module:          if ($node->comment == COMMENT_NODE_READ_WRITE) {
+/volo/drupal/modules/comment/comment.module:                'href' => "comment/reply/$node->nid",
+/volo/drupal/modules/comment/comment.module:              $links['comment_forbidden']['title'] = theme('comment_post_forbidden', $node->nid);
+/volo/drupal/modules/comment/comment.module:      if ($node->comment == COMMENT_NODE_READ_WRITE) {
+/volo/drupal/modules/comment/comment.module:              'href' => "comment/reply/$node->nid",
+/volo/drupal/modules/comment/comment.module:          $links['comment_forbidden']['title'] = theme('comment_post_forbidden', $node->nid);
+/volo/drupal/modules/comment/comment.module:        '#default_value' => $node->comment,
+/volo/drupal/modules/comment/comment.module:      return db_fetch_array(db_query("SELECT last_comment_timestamp, last_comment_name, comment_count FROM {node_comment_statistics} WHERE nid = %d", $node->nid));
+/volo/drupal/modules/comment/comment.module:      if (!isset($node->comment)) {
+/volo/drupal/modules/comment/comment.module:        $node->comment = variable_get("comment_$node->type", COMMENT_NODE_READ_WRITE);
+/volo/drupal/modules/comment/comment.module:      db_query('INSERT INTO {node_comment_statistics} (nid, last_comment_timestamp, last_comment_name, last_comment_uid, comment_count) VALUES (%d, %d, NULL, %d, 0)', $node->nid, $node->changed, $node->uid);
+/volo/drupal/modules/comment/comment.module:      db_query('DELETE FROM {comments} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/comment/comment.module:      db_query('DELETE FROM {node_comment_statistics} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/comment/comment.module:      $comments = db_query('SELECT subject, comment, format FROM {comments} WHERE nid = %d AND status = %d', $node->nid, COMMENT_PUBLISHED);
+/volo/drupal/modules/comment/comment.module:      $comments = db_result(db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = %d', $node->nid));
+/volo/drupal/modules/comment/comment.module:      if ($node->comment != COMMENT_NODE_DISABLED) {
+/volo/drupal/modules/comment/comment.module:        return array(array('key' => 'comments', 'value' => url('node/'. $node->nid, NULL, 'comments', TRUE)));
+/volo/drupal/modules/comment/comment.module:  menu_set_location(array(array('path' => "node/$nid", 'title' => $node->title), array('path' => "comment/reply/$nid")));
+/volo/drupal/modules/comment/comment.module:    $nid = $node->nid;
+/volo/drupal/modules/comment/comment.module: * @param $nid node-id to count comments for
+/volo/drupal/modules/comment/comment.module:    db_query("UPDATE {node_comment_statistics} SET comment_count = 0, last_comment_timestamp = %d, last_comment_name = '', last_comment_uid = %d WHERE nid = %d", $node->created, $node->uid, $nid);
+/volo/drupal/modules/devel/devel.module:  drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/devel/devel_node_access.module:	dna_visible_nodes($node->nid);
+/volo/drupal/modules/event/event.module:    if (event_enabled_state($node->type) == 'all') {
+/volo/drupal/modules/event/event.module:      $links['event_calendar'] = array('title' => t('Calendar'), 'href' => 'event/'. format_date($node->event_start, 'custom', 'Y/m/d'));
+/volo/drupal/modules/event/event.module:    elseif (event_enabled_state($node->type) == 'solo') {
+/volo/drupal/modules/event/event.module:      $links['event_calendar'] = array('title' => t('Calendar'), 'href' => 'event/'. format_date($node->event_start, 'custom', 'Y/m/d') .'/month/'. $node->type);
+/volo/drupal/modules/event/event.module:    $base = "event/$node->year/$node->month/$node->day/";
+/volo/drupal/modules/event/event.module:      'href' => $base .'month/'. $node->filter,
+/volo/drupal/modules/event/event.module:      'href' => $base .'week/'. $node->filter,
+/volo/drupal/modules/event/event.module:      'href' => $base .'day/'. $node->filter,
+/volo/drupal/modules/event/event.module:      'href' => $base .'table/'. $node->filter,
+/volo/drupal/modules/event/event.module:      'href' => $base .'list/'. $node->filter,
+/volo/drupal/modules/event/event.module:          $temp[$ctype->name] = 'flexinode-'. $type;
+/volo/drupal/modules/event/event.module:      elseif (substr($type, 0, 10) == 'flexinode-') {
+/volo/drupal/modules/event/event.module:    $node->day = $day;
+/volo/drupal/modules/event/event.module:    $node->month = $month;
+/volo/drupal/modules/event/event.module:    $node->year = $year;
+/volo/drupal/modules/event/event.module:    $node->filter = ($types ? implode('+', $types) : 'all') .'/'. ($terms ? implode('+', $terms) : 'all');
+/volo/drupal/modules/event/event.module:    $output .= theme('event_ical_link', 'event/ical/'. $node->filter);
+/volo/drupal/modules/event/event.module:    $body = '<div class="start">'. t('Start') .': '. $node->start_format .'</div>'."\n";
+/volo/drupal/modules/event/event.module:    $body .= '<div class="end">'. t('End') .': '. $node->end_format .'</div>'."\n";
+/volo/drupal/modules/event/event.module:    $body .= check_markup($node->teaser);
+/volo/drupal/modules/event/event.module:    $link = url("node/$node->nid", NULL, NULL, 1);
+/volo/drupal/modules/event/event.module:    $extra = array_merge($extra, array(array('key' => 'pubDate', 'value' =>  date('r', $node->changed))));
+/volo/drupal/modules/event/event.module:    $items .= format_rss_item($node->title, $link, $body, $extra);
+/volo/drupal/modules/event/event.module:  $event['start'] = $node->event_start;
+/volo/drupal/modules/event/event.module:  $event['end'] = $node->event_end;
+/volo/drupal/modules/event/event.module:  $event['location'] = $node->event_location;
+/volo/drupal/modules/event/event.module:  $event['summary'] = $node->title;
+/volo/drupal/modules/event/event.module:  $event['description'] = check_markup($node->teaser ? $node->teaser : $node->body);
+/volo/drupal/modules/event/event.module:  $event['uid'] = url("node/$node->nid", NULL, NULL, 1);
+/volo/drupal/modules/event/event.module:  $event['url'] = url("node/$node->nid", NULL, NULL, 1);
+/volo/drupal/modules/event/event.module: *           Node objects must have GMT timestamp values for start ($node->event_start).
+/volo/drupal/modules/event/event.module: *           Optionally, an end value ($node->event_end) and a time zone offset value
+/volo/drupal/modules/event/event.module: *           in the same format as drupal core ($node->tz). If a node has no end
+/volo/drupal/modules/event/event.module:    $node->event_links = module_invoke_all('link', 'event_node_'. $view, $node, FALSE);
+/volo/drupal/modules/event/event.module:    $nodes[$node->nid] = $node;
+/volo/drupal/modules/event/event.module:    $event->nid = $node->nid;
+/volo/drupal/modules/event/event.module:    $node_start = gmmktime(0, 0, 0, _event_date('m', $node->event_start, $node->start_offset), _event_date('d', $node->event_start, $node->start_offset), _event_date('Y', $node->event_start, $node->start_offset));
+/volo/drupal/modules/event/event.module:    if ($node->event_end) {
+/volo/drupal/modules/event/event.module:      $node_end = gmmktime(0, 0, 0, _event_date('m', $node->event_end, $node->end_offset), _event_date('d', $node->event_end, $node->end_offset), _event_date('Y', $node->event_end, $node->end_offset));
+/volo/drupal/modules/event/event.module:                $node->event_state = $event->event_state;
+/volo/drupal/modules/event/event.module:                    $node->event_state = $event->event_state;
+/volo/drupal/modules/event/event.module:      $node->event_links = module_invoke_all('link', 'event_node_'. $view, $node, FALSE);
+/volo/drupal/modules/event/event.module:      $node_start = gmmktime(0, 0, 0, _event_date('m', $node->event_start, $node->start_offset), _event_date('d', $node->event_start, $node->start_offset), _event_date('Y', $node->event_start, $node->start_offset));
+/volo/drupal/modules/event/event.module:      $node_end = gmmktime(0, 0, 0, _event_date('m', $node->event_end, $node->end_offset), _event_date('d', $node->event_end, $node->end_offset), _event_date('Y', $node->event_end, $node->end_offset));
+/volo/drupal/modules/event/event.module:          if (in_array($node->type, $types) && event_taxonomy_filter($node, $terms)) {
+/volo/drupal/modules/event/event.module:            if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:              $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:              $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:            elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:              $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:              $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:          if (in_array($node->type, $types)) {
+/volo/drupal/modules/event/event.module:            if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:              $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:              $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:            elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:              $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:              $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:        if (event_taxonomy_filter($node, $terms) && in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:          $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:          $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:        if (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:          $node->event_current_date = $day_start;
+/volo/drupal/modules/event/event.module:          $node->event_state = $nid->event_state;
+/volo/drupal/modules/event/event.module:      if (in_array($node->type, $types) && event_taxonomy_filter($node, $terms)) {
+/volo/drupal/modules/event/event.module:        if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:        elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:      if (in_array($node->type, $types)) {
+/volo/drupal/modules/event/event.module:        if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:        elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:    if (event_taxonomy_filter($node, $terms) && in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:    if (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:        if (in_array($node->type, $types) && event_taxonomy_filter($node, $terms)) {
+/volo/drupal/modules/event/event.module:          if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:          elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:        if (in_array($node->type, $types)) {
+/volo/drupal/modules/event/event.module:          if (count($types) == 1 && in_array($node->type, $event_types['solo'])) {
+/volo/drupal/modules/event/event.module:          elseif (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:      if (event_taxonomy_filter($node, $terms) && in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:      if (in_array($node->type, $event_types['all'])) {
+/volo/drupal/modules/event/event.module:  if ($tids = taxonomy_node_get_terms($node->nid)) {
+/volo/drupal/modules/event/event.module:    $this_date = $node->$get;
+/volo/drupal/modules/event/event.module:    $node->{$prefix . 'year'} = date('Y', $timestamp);
+/volo/drupal/modules/event/event.module:    $node->{$prefix . 'month'} = date('n', $timestamp);
+/volo/drupal/modules/event/event.module:    $node->{$prefix . 'day'} = date('d', $timestamp);
+/volo/drupal/modules/event/event.module:      $node->{$prefix . 'ampm'} = (substr($this_date, 11, 2) >= 12) ? 'pm' : 'am';
+/volo/drupal/modules/event/event.module:    $node->{$prefix . 'hour'} = variable_get('event_ampm', '0') ? date('g', $timestamp) : date('H', $timestamp);
+/volo/drupal/modules/event/event.module:    $node->{$prefix . 'minute'} = date('i', $timestamp);
+/volo/drupal/modules/event/event.module:  // If we have all the parameters, re-calculate $node->event_$date .
+/volo/drupal/modules/event/event.module:  if (isset($node->{$prefix . 'year'}) && isset($node->{$prefix . 'month'}) && isset($node->{$prefix . 'day'}) && isset($node->{$prefix . 'hour'}) && isset($node->{$prefix . 'minute'})) {
+/volo/drupal/modules/event/event.module:    $hour = $node->{$prefix . 'hour'};
+/volo/drupal/modules/event/event.module:      if (($node->{$prefix . 'ampm'} == 'pm') && ($hour != 12)) {
+/volo/drupal/modules/event/event.module:      elseif (($node->{$prefix . 'ampm'} == 'am') && ($hour == 12)) {
+/volo/drupal/modules/event/event.module:    $offset = event_get_offset($node->timezone, gmmktime($hour, $node->{$prefix . 'minute'}, 0, $node->{$prefix . 'month'}, $node->{$prefix . 'day'}, $node->{$prefix . 'year'}));
+/volo/drupal/modules/event/event.module:    $node->{'event_'. $date} = _event_mktime($hour, $node->{$prefix . 'minute'}, 0, $node->{$prefix . 'month'}, $node->{$prefix . 'day'}, $node->{$prefix . 'year'}, $offset);
+/volo/drupal/modules/event/event.module:  elseif (!$node->$date) {
+/volo/drupal/modules/event/event.module:    $node->$date = $now - ($now % (60 * 60));
+/volo/drupal/modules/event/event.module:      if (event_is_enabled($node->type)) {
+/volo/drupal/modules/event/event.module:        $length = strlen(ical_export(_event_node_ical($node), $node->title));
+/volo/drupal/modules/event/event.module:                           'attributes' => array('url' => url('node/'.$node->nid .'/ical', NULL, NULL, TRUE),
+/volo/drupal/modules/event/event.module:    if ($node->status) {
+/volo/drupal/modules/event/event.module:      if ($node->event_start >= $time) {
+/volo/drupal/modules/event/event.module:        $minutesleft = floor(($node->event_start - $time) / 60);
+/volo/drupal/modules/event/event.module:      $node->timeleft = $timeleft;
+/volo/drupal/modules/event/event.module:      $node->typename = node_get_types('name', $node);
+/volo/drupal/modules/event/event.module:            '#default_value' => _event_date('Y-m-d H:i', $node->event_start ? $node->event_start : _event_user_time(), $node->start_offset),
+/volo/drupal/modules/event/event.module:            '#default_value' => _event_date('Y-m-d H:i', $node->event_end ? $node->event_end : _event_user_time(), $node->end_offset),
+/volo/drupal/modules/event/event.module:          $form['event_start']['date'] = event_form_date($node->event_start ? $node->event_start : _event_user_time(), 'start', $node->start_offset);
+/volo/drupal/modules/event/event.module:          $form['event_end']['date'] = event_form_date(($node->event_end ? $node->event_end : _event_user_time()), 'end', $node->end_offset);
+/volo/drupal/modules/event/event.module:            '#default_value' => ($node->timezone ? $node->timezone : event_timezone_map(variable_get('date_default_timezone', 0))),
+/volo/drupal/modules/event/event.module:  if(variable_get('event_nodeapi_'. $node->type, 'never') != 'never') {
+/volo/drupal/modules/event/event.module:        if ($node->event_end < $node->event_start) {
+/volo/drupal/modules/event/event.module:          $node->event_end = $node->event_start;
+/volo/drupal/modules/event/event.module:            $node->start_offset = event_get_offset($node->timezone, $node->event_start);
+/volo/drupal/modules/event/event.module:            $node->end_offset = event_get_offset($node->timezone, $node->event_end);
+/volo/drupal/modules/event/event.module:            $node->start_offset = $node->end_offset = $user->timezone;
+/volo/drupal/modules/event/event.module:            $node->start_offset = $node->end_offset = variable_get('date_default_timezone', 0);
+/volo/drupal/modules/event/event.module:        $node->start_format = format_date($node->event_start, 'small', '', $node->start_offset);
+/volo/drupal/modules/event/event.module:        $node->end_format = format_date($node->event_end, 'small', '', $node->end_offset);
+/volo/drupal/modules/event/event.module:        db_query('INSERT INTO {event} (nid, event_start, event_end, timezone) VALUES (%d, %d, %d, %d)', $node->nid, $node->event_start, $node->event_end, $node->timezone);
+/volo/drupal/modules/event/event.module:        db_query('DELETE FROM {event} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/event/event.module:        db_query('INSERT INTO {event} (nid, event_start, event_end, timezone) VALUES (%d, %d, %d, %d)', $node->nid, $node->event_start, $node->event_end, $node->timezone);
+/volo/drupal/modules/event/event.module:        db_query('DELETE FROM {event} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/event/event.module:        $object = db_fetch_object(db_query('SELECT event_start, event_end, timezone FROM {event} WHERE nid = %d', $node->nid));
+/volo/drupal/modules/event/event.module:        $ctype = module_invoke('flexinode', 'load_content_type', $node->ctype_id);
+/volo/drupal/modules/event/event.module:          'event_node_title'  => ($ctype->name ? $ctype->name : $node->type));
+/volo/drupal/modules/event/event.module:        $node->content['event'] = array(
+/volo/drupal/modules/event/event.module:        $node->body = theme('event_nodeapi', $node). $node->body;
+/volo/drupal/modules/event/event.module:        $node->teaser = theme('event_nodeapi', $node). $node->teaser;
+/volo/drupal/modules/event/event.module:<li>enable content types to be event enabled at <a href="!admin-node-configure-types" title="content type configuration">administer &gt;&gt; content &gt;&gt; content types </a> then click configure for a content type.</li>
+/volo/drupal/modules/event/event.module:<li><a href="!node-add" title="list of content types that can be created">create content</a> and set a start and end time, if the administrator has set that content type to be event enabled.</li>
+/volo/drupal/modules/event/event.module:', array('!admin-node-configure-types' => url('admin/content/types'), '!admin-settings-event' => url('admin/event/event'), '!node-add' => url('node/add'), '!external-http-drupal-org-handbook-modules-signup' => 'http://drupal.org/project/signup', '!external-http-drupal-org-handbook-modules-rsvp' => 'http://drupal.org/project/rsvp')) .'</ul>';
+/volo/drupal/modules/exif/exif.module:  if ($node->type != 'image') {
+/volo/drupal/modules/exif/exif.module:      $file = file_directory_path() .'/'. $node->images['_original'];
+/volo/drupal/modules/exif/exif.module:        $node->content['exif'] = array(
+/volo/drupal/modules/forum/forum.module:    if (user_access('edit own forum topics') && ($user->uid == $node->uid)) {
+/volo/drupal/modules/forum/forum.module:      db_query('DELETE FROM {forum} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/forum/forum.module:          node_delete($node->nid);
+/volo/drupal/modules/forum/forum.module:  $forum = db_fetch_object(db_query('SELECT * FROM {forum} WHERE vid = %d', $node->vid));
+/volo/drupal/modules/forum/forum.module:    if ($parents = taxonomy_get_parents_all($node->tid)) {
+/volo/drupal/modules/forum/forum.module:    $breadcrumb[] = array('path' => 'node/'. $node->nid);
+/volo/drupal/modules/forum/forum.module:    $node->content['forum_navigation'] = array(
+/volo/drupal/modules/forum/forum.module:  $node->icon = !empty($node->icon) ? $node->icon : '';
+/volo/drupal/modules/forum/forum.module:  if ($node->taxonomy) {
+/volo/drupal/modules/forum/forum.module:    foreach ($node->taxonomy as $term) {
+/volo/drupal/modules/forum/forum.module:        $node->tid = $term;
+/volo/drupal/modules/forum/forum.module:    $old_tid = db_result(db_query_range("SELECT tid FROM {forum} WHERE nid = %d ORDER BY vid DESC", $node->nid, 0,1));
+/volo/drupal/modules/forum/forum.module:      if (($node->tid != $old_tid) && $node->shadow) {
+/volo/drupal/modules/forum/forum.module:        $node->taxonomy[] = $old_tid;
+/volo/drupal/modules/forum/forum.module:  if ($node->taxonomy) {
+/volo/drupal/modules/forum/forum.module:    foreach ($node->taxonomy as $term) {
+/volo/drupal/modules/forum/forum.module:  if ($node->revision) {
+/volo/drupal/modules/forum/forum.module:    db_query("INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)", $node->nid, $node->vid, $node->tid);
+/volo/drupal/modules/forum/forum.module:    db_query('UPDATE {forum} SET tid = %d WHERE vid = %d', $node->tid, $node->vid);
+/volo/drupal/modules/forum/forum.module:  $form['title'] = array('#type' => 'textfield', '#title' => check_plain($type->title_label), '#default_value' => $node->title, '#required' => TRUE, '#weight' => -5);
+/volo/drupal/modules/forum/forum.module:  if ($node->nid) {
+/volo/drupal/modules/forum/forum.module:    $forum_terms = taxonomy_node_get_terms_by_vocabulary(_forum_get_vid(), $node->nid);
+/volo/drupal/modules/forum/forum.module:  $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => check_plain($type->body_label), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
+/volo/drupal/modules/forum/forum.module:  $form['body_filter']['format'] = filter_form($node->format);
+/volo/drupal/modules/forum/forum.module:  if (!$node->nid) {
+/volo/drupal/modules/forum/forum.module:    $node->taxonomy[arg(3)]->vid = _forum_get_vid();
+/volo/drupal/modules/forum/forum.module:    $node->taxonomy[arg(3)]->tid = arg(3);
+/volo/drupal/modules/forum/forum.module:  db_query('INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)', $node->nid, $node->vid, $node->tid);
+/volo/drupal/modules/forum/forum.module:  db_query('DELETE FROM {forum} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/forum/forum.module:  $result = db_query(db_rewrite_sql($sql), $node->tid);
+/volo/drupal/modules/forum/forum.module:    if ($topic->nid == $node->nid) {
+/volo/drupal/modules/image/image.module:    if (user_access('edit own images') && ($user->uid == $node->uid)) {
+/volo/drupal/modules/image/image.module:      if ($node->type == 'image') {
+/volo/drupal/modules/image/image.module:        drupal_set_message(t("Rebuilding %node-title's resized images.", array('%node-title' => $node->title)));
+/volo/drupal/modules/image/image.module:    $node->images[IMAGE_ORIGINAL] = $file->filepath;
+/volo/drupal/modules/image/image.module:    $node->new_file = TRUE;
+/volo/drupal/modules/image/image.module:    if ($thumb && $node->images['bignail'])
+/volo/drupal/modules/image/image.module:    	file_move($thumb,file_create_path($node->images['bignail']),FILE_EXISTS_REPLACE);
+/volo/drupal/modules/image/image.module:  if ($type == 'node' && $node->type == 'image' && !$main) {
+/volo/drupal/modules/image/image.module:      if ($node->images[$request] != $node->images[$size['label']]) {
+/volo/drupal/modules/image/image.module:        $links['image_size_'. $size['label']] = array('title' => t($size['label']), 'href' => 'node/' . $node->nid, 'query' => 'size=' . urlencode($size['label']));
+/volo/drupal/modules/image/image.module:    if (user_access('view original images') && ($node->images[$request] != $node->images[IMAGE_ORIGINAL])) {
+/volo/drupal/modules/image/image.module:      $links['image_size_original'] = array('title' => t('original'), 'href' => 'node/' . $node->nid, 'query' => 'size=_original');
+/volo/drupal/modules/image/image.module:  $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#size' => 60, '#maxlength' => 128, '#required' => TRUE, '#default_value' => $node->title);
+/volo/drupal/modules/image/image.module:  if ($node->new_file) {
+/volo/drupal/modules/image/image.module:  if ($node->new_file) {
+/volo/drupal/modules/image/image.module:    $form['images'][IMAGE_ORIGINAL] = array('#type' => 'hidden', '#value' => $node->images[IMAGE_ORIGINAL]);
+/volo/drupal/modules/image/image.module:    $form['images'][IMAGE_ORIGINAL] = array('#type' => 'hidden', '#default_value' => $node->images[IMAGE_ORIGINAL]);
+/volo/drupal/modules/image/image.module:    if ($node->new_file) {
+/volo/drupal/modules/image/image.module:      $form['images'][$size['label']] = array('#type' => 'hidden', '#value' => $node->images[$size['label']]);
+/volo/drupal/modules/image/image.module:      $form['images'][$size['label']] = array('#type' => 'hidden', '#default_value' => $node->images[$size['label']]);
+/volo/drupal/modules/image/image.module:  $form['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#rows' => 20, '#default_value' => $node->body);
+/volo/drupal/modules/image/image.module:  $form['format'] = filter_form($node->format);
+/volo/drupal/modules/image/image.module:  if ($node->new_file) {
+/volo/drupal/modules/image/image.module:  $node->content['image'] = array(
+/volo/drupal/modules/image/image.module:  $result = db_query("SELECT filename, filepath FROM {files} WHERE nid=%d", $node->nid);
+/volo/drupal/modules/image/image.module:  $node->images = array();
+/volo/drupal/modules/image/image.module:    $node->images[$file->filename] = $file->filepath;
+/volo/drupal/modules/image/image.module:  if (empty($node->images['thumbnail'])) {
+/volo/drupal/modules/image/image.module:    $node->images['thumbnail'] = $node->images[IMAGE_ORIGINAL];
+/volo/drupal/modules/image/image.module:  if (empty($node->images['preview'])) {
+/volo/drupal/modules/image/image.module:    $node->images['preview'] = $node->images[IMAGE_ORIGINAL];
+/volo/drupal/modules/image/image.module:  foreach ($node->images as $label => $image) {
+/volo/drupal/modules/image/image.module:  foreach ($node->images as $label => $image) {
+/volo/drupal/modules/image/image.module:    $old_file = db_fetch_object(db_query("SELECT fid, filepath FROM {files} WHERE filename='%s' AND nid=%d", $label, $node->nid));
+/volo/drupal/modules/image/image.module:  $result = db_query('SELECT fid, filepath FROM {files} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/image/image.module:  db_query('DELETE FROM {files} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/image/image.module:  if ($node->images[$label] != $node->images[IMAGE_ORIGINAL] &&
+/volo/drupal/modules/image/image.module:      (!file_exists(file_create_path($node->images[$label])) ||
+/volo/drupal/modules/image/image.module:       filemtime(file_create_path($node->images[$label])) < variable_get('image_updated', 0))) {
+/volo/drupal/modules/image/image.module:  if (empty($node->images[$label])) {
+/volo/drupal/modules/image/image.module:  $info = image_get_info(file_create_path($node->images[$label]));
+/volo/drupal/modules/image/image.module:  return theme('image_display', $node, $label, file_create_url($node->images[$label]), $attributes);
+/volo/drupal/modules/image/image.module:    if ($node->images[$size]) {
+/volo/drupal/modules/image/image.module:      $file = $node->images[$size];
+/volo/drupal/modules/image/image.module: return l(image_display($node, 'thumbnail'), 'node/'. $node->nid, array(), NULL, NULL, TRUE, TRUE);
+/volo/drupal/modules/image/image.module:  return '<img src="'. check_url($url) .'" alt="'. check_plain($node->title) .'" title="'. check_plain($node->title) .'" '. drupal_attributes($attributes) .' />';
+/volo/drupal/modules/image/image.module:  return l(image_display($node, $fielddata['options']), "node/{$node->nid}", array(), NULL, NULL, FALSE, TRUE);
+/volo/drupal/modules/image/image.module:  $original = file_create_path($node->images[IMAGE_ORIGINAL]);
+/volo/drupal/modules/image/image.module:      $node->images[$size['label']] = $destination;
+/volo/drupal/modules/image/image.module:  $result = db_query("SELECT * FROM {files} WHERE nid=%d AND filename <> '%s'", $node->nid, IMAGE_ORIGINAL);
+/volo/drupal/modules/image/image.module:    if ($file->filepath != $node->images[IMAGE_ORIGINAL]) {
+/volo/drupal/modules/image/image.module:  $original_fid = db_result(db_query("SELECT fid FROM {files} WHERE nid=%d AND filename = '%s'", $node->nid, IMAGE_ORIGINAL));
+/volo/drupal/modules/image/image.module:  db_query("DELETE FROM {files} WHERE nid = %d AND filename <> '%s'", $node->nid, IMAGE_ORIGINAL);
+/volo/drupal/modules/image/image.module:  db_query("DELETE FROM {file_revisions} WHERE vid = %d AND fid <> %d", $node->vid, $original_fid);
+/volo/drupal/modules/image/image.module:  $original = file_create_path($node->images[IMAGE_ORIGINAL]);
+/volo/drupal/modules/image/image.module:    $node->images[$label] = $image;
+/volo/drupal/modules/image/image.module:             $fid, $node->nid, $label, $image, $info['mime_type'], $info['file_size']);
+/volo/drupal/modules/image/image.module:             $fid, $node->vid, '', 0);
+/volo/drupal/modules/image_pub/image_pub.module:  $fname = $node->images[$size];
+/volo/drupal/modules/image_pub/image_pub.module:  $file = file_create_path($node->images[$size]);
+/volo/drupal/modules/image_pub/image_pub.module:  $node->uid = $user->uid;
+/volo/drupal/modules/image_pub/image_pub.module:  $node->name = $user->name;
+/volo/drupal/modules/image_pub/image_pub.module:  $node->type ='image';
+/volo/drupal/modules/image_pub/image_pub.module:  $node->title = $caption;
+/volo/drupal/modules/image_pub/image_pub.module:  $node->body = $description;
+/volo/drupal/modules/image_pub/image_pub.module:  $node->comment = variable_get("comment_$node->type", COMMENT_NODE_READ_WRITE);
+/volo/drupal/modules/image_pub/image_pub.module:    $node->$key = in_array($key, $node_options) ? 1 : 0;
+/volo/drupal/modules/image_pub/image_pub.module:  $node->taxonomy = array($album->tid);
+/volo/drupal/modules/image_pub/image_pub.module:  $node->images['_original'] = file_directory_temp() . '/' . $filename;
+/volo/drupal/modules/image_pub/image_pub.module:        $body .= 'image.caption.'.$iid.'='.$node->title."\n";
+/volo/drupal/modules/image_pub/image_pub.module:        $body .= 'image.extrafield.Description.'.$iid.'='.$node->teaser."\n";
+/volo/drupal/modules/image_pub/image_pub.module:        $ctime = $node->created;
+/volo/drupal/modules/image_pub/image_pub.module:        $body .= 'image.hidden.'.$iid.'='.($node->status != 1 ? 'yes' : 'no')."\n";
+/volo/drupal/modules/imagefield/imagefield.module:            $file['fid'], $node->nid, $file['filename'], $file['filepath'], $file['filemime'], $file['filesize']);
+/volo/drupal/modules/lightbox2/lightbox2.module:	 elseif ($node->type == "image" && !$LIGHTBOX2_INCLUDE) {
+/volo/drupal/modules/menu/menu.module:        if ($node->menu['delete']) {
+/volo/drupal/modules/menu/menu.module:        elseif ($node->menu['title']) {
+/volo/drupal/modules/menu/menu.module:          $node->menu['path'] = ($node->menu['path']) ? $node->menu['path'] : "node/$node->nid";
+/volo/drupal/modules/menu/menu.module:          menu_edit_item_save($node->menu);
+/volo/drupal/modules/menu/menu.module:  menu_delete_item(array('path' => 'node/'. $node->nid));
+/volo/drupal/modules/node/node.module:    $items[] = l($node->title, 'node/'. $node->nid, $node->comment_count ? array('title' => format_plural($node->comment_count, '1 comment', '@count comments')) : '');
+/volo/drupal/modules/node/node.module:      $type = $node->type;
+/volo/drupal/modules/node/node.module:  if ($node->nid) {
+/volo/drupal/modules/node/node.module:        $node->$key = $value;
+/volo/drupal/modules/node/node.module:        $node->$key = $value;
+/volo/drupal/modules/node/node.module:      $nodes[$node->nid] = is_object($node) ? drupal_clone($node) : $node;
+/volo/drupal/modules/node/node.module:  $node->is_new = FALSE;
+/volo/drupal/modules/node/node.module:  if (empty($node->nid)) {
+/volo/drupal/modules/node/node.module:    $node->is_new = TRUE;
+/volo/drupal/modules/node/node.module:    $node->nid = db_next_id('{node}_nid');
+/volo/drupal/modules/node/node.module:    $node->vid = db_next_id('{node_revisions}_vid');
+/volo/drupal/modules/node/node.module:    $node_current = node_load($node->nid);
+/volo/drupal/modules/node/node.module:    if ($node->revision) {
+/volo/drupal/modules/node/node.module:      $node->old_vid = $node->vid;
+/volo/drupal/modules/node/node.module:      $node->vid = db_next_id('{node_revisions}_vid');
+/volo/drupal/modules/node/node.module:  if (empty($node->created)) {
+/volo/drupal/modules/node/node.module:    $node->created = time();
+/volo/drupal/modules/node/node.module:  $node->changed = time();
+/volo/drupal/modules/node/node.module:  $revisions_table_values = array('nid' => $node->nid, 'vid' => $node->vid,
+/volo/drupal/modules/node/node.module:                     'title' => $node->title, 'body' => $node->body,
+/volo/drupal/modules/node/node.module:                     'teaser' => $node->teaser, 'timestamp' => $node->changed,
+/volo/drupal/modules/node/node.module:                     'uid' => $user->uid, 'format' => $node->format);
+/volo/drupal/modules/node/node.module:  if (!empty($node->log) || $node->is_new || $node->revision) {
+/volo/drupal/modules/node/node.module:    // message. A new revision will have an empty log message (or $node->log).
+/volo/drupal/modules/node/node.module:    $revisions_table_values['log'] = $node->log;
+/volo/drupal/modules/node/node.module:  $node_table_values = array('nid' => $node->nid, 'vid' => $node->vid,
+/volo/drupal/modules/node/node.module:                    'title' => $node->title, 'type' => $node->type, 'uid' => $node->uid,
+/volo/drupal/modules/node/node.module:                    'status' => $node->status, 'created' => $node->created,
+/volo/drupal/modules/node/node.module:                    'changed' => $node->changed, 'comment' => $node->comment,
+/volo/drupal/modules/node/node.module:                    'promote' => $node->promote, 'sticky' => $node->sticky);
+/volo/drupal/modules/node/node.module:  if ($node->is_new) {
+/volo/drupal/modules/node/node.module:    $node_table_values[] = $node->nid;
+/volo/drupal/modules/node/node.module:    if ($node->revision) {
+/volo/drupal/modules/node/node.module:      $revisions_table_values[] = $node->vid;
+/volo/drupal/modules/node/node.module:  if ($node->is_new) {
+/volo/drupal/modules/node/node.module:    $node->links = module_invoke_all('link', 'node', $node, $teaser);
+/volo/drupal/modules/node/node.module:      $function($node, $node->links);
+/volo/drupal/modules/node/node.module:  $content = drupal_render($node->content);
+/volo/drupal/modules/node/node.module:    $node->teaser = $content;
+/volo/drupal/modules/node/node.module:    unset($node->body);
+/volo/drupal/modules/node/node.module:    $node->body = $content;
+/volo/drupal/modules/node/node.module:    unset($node->teaser);
+/volo/drupal/modules/node/node.module:  $node->readmore = (strlen($node->teaser) < strlen($node->body));
+/volo/drupal/modules/node/node.module:    $node->body = check_markup($node->body, $node->format, FALSE);
+/volo/drupal/modules/node/node.module:    $node->teaser = check_markup($node->teaser, $node->format, FALSE);
+/volo/drupal/modules/node/node.module:  $node->content['body'] = array(
+/volo/drupal/modules/node/node.module:    '#value' => $teaser ? $node->teaser : $node->body,
+/volo/drupal/modules/node/node.module:  $node->body = str_replace('<!--break-->', '', $node->body);
+/volo/drupal/modules/node/node.module:  if (function_exists('comment_render') && $node->comment) {
+/volo/drupal/modules/node/node.module:  node_tag_new($node->nid);
+/volo/drupal/modules/node/node.module:        $node->body = drupal_render($node->content);
+/volo/drupal/modules/node/node.module:        $node->body .= module_invoke('comment', 'nodeapi', $node, 'update index');
+/volo/drupal/modules/node/node.module:        $node->body .= module_invoke('taxonomy', 'nodeapi', $node, 'update index');
+/volo/drupal/modules/node/node.module:                           'title' => $node->title,
+/volo/drupal/modules/node/node.module:                           'date' => $node->changed,
+/volo/drupal/modules/node/node.module:                           'snippet' => search_excerpt($keys, $node->body));
+/volo/drupal/modules/node/node.module:    drupal_goto('admin/content/node-settings/rebuild');
+/volo/drupal/modules/node/node.module:                  'admin/content/node-settings', t('This will wipe all current node permissions and rebuild them based on current settings. Rebuilding the permissions may take a while so please be patient. This action cannot be undone.'), t('Rebuild permissions'), t('Cancel'));
+/volo/drupal/modules/node/node.module:  return 'admin/content/node-settings';
+/volo/drupal/modules/node/node.module:    if ($teaser == 1 && $node->teaser && $node->readmore) {
+/volo/drupal/modules/node/node.module:        'href' => "node/$node->nid",
+/volo/drupal/modules/node/node.module:      'path' => 'admin/content/node-settings',
+/volo/drupal/modules/node/node.module:      'path' => 'admin/content/node-settings/rebuild',
+/volo/drupal/modules/node/node.module:          'path' => 'node/'. $node->nid,
+/volo/drupal/modules/node/node.module:      if ($node->nid) {
+/volo/drupal/modules/node/node.module:  return ($node->changed);
+/volo/drupal/modules/node/node.module:  $output .= '<div id="node-admin-filter">';
+/volo/drupal/modules/node/node.module:  $output .= '<div class="container-inline" id="node-admin-buttons">'. drupal_render($form['buttons']) .'</div>';
+/volo/drupal/modules/node/node.module:    $nodes[$node->nid] = '';
+/volo/drupal/modules/node/node.module:    $form['title'][$node->nid] = array('#value' => l($node->title, 'node/'. $node->nid) .' '. theme('mark', node_mark($node->nid, $node->changed)));
+/volo/drupal/modules/node/node.module:    $form['name'][$node->nid] =  array('#value' => check_plain(node_get_types('name', $node)));
+/volo/drupal/modules/node/node.module:    $form['username'][$node->nid] = array('#value' => theme('username', $node));
+/volo/drupal/modules/node/node.module:    $form['status'][$node->nid] =  array('#value' =>  ($node->status ? t('published') : t('not published')));
+/volo/drupal/modules/node/node.module:    $form['operations'][$node->nid] = array('#value' => l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination));
+/volo/drupal/modules/node/node.module:  drupal_set_title(t('Revisions for %title', array('%title' => $node->title)));
+/volo/drupal/modules/node/node.module:      $row[] = array('data' => t('!date by !username', array('!date' => l(format_date($revision->timestamp, 'small'), "node/$node->nid"), '!username' => theme('username', $revision)))
+/volo/drupal/modules/node/node.module:      $row[] = t('!date by !username', array('!date' => l(format_date($revision->timestamp, 'small'), "node/$node->nid/revisions/$revision->vid/view"), '!username' => theme('username', $revision)))
+/volo/drupal/modules/node/node.module:        $operations[] = l(t('revert'), "node/$node->nid/revisions/$revision->vid/revert");
+/volo/drupal/modules/node/node.module:        $operations[] = l(t('delete'), "node/$node->nid/revisions/$revision->vid/delete");
+/volo/drupal/modules/node/node.module:    if ($node->vid) {
+/volo/drupal/modules/node/node.module:  return confirm_form($form, t('Are you sure you want to revert to the revision from %revision-date?', array('%revision-date' =>  format_date($node->revision_timestamp))), 'node/'. $node->nid .'/revisions', '', t('Revert'), t('Cancel'));
+/volo/drupal/modules/node/node.module:  $node->revision = 1;
+/volo/drupal/modules/node/node.module:  $node->log = t('Copy of the revision from %date.', array('%date' => format_date($node->revision_timestamp)));
+/volo/drupal/modules/node/node.module:    $node->taxonomy = array_keys($node->taxonomy);
+/volo/drupal/modules/node/node.module:  drupal_set_message(t('%title has been reverted back to the revision from %revision-date', array('%revision-date' => format_date($node->revision_timestamp), '%title' => $node->title)));
+/volo/drupal/modules/node/node.module:  watchdog('content', t('@type: reverted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $revision)));
+/volo/drupal/modules/node/node.module:  return 'node/'. $node->nid .'/revisions';
+/volo/drupal/modules/node/node.module:      if ($revision != $node->vid) {
+/volo/drupal/modules/node/node.module:  return confirm_form($form, t('Are you sure you want to delete the revision from %revision-date?', array('%revision-date' =>  format_date($node->revision_timestamp))), 'node/'. $node->nid .'/revisions', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
+/volo/drupal/modules/node/node.module:  db_query("DELETE FROM {node_revisions} WHERE nid = %d AND vid = %d", $node->nid, $node->vid);
+/volo/drupal/modules/node/node.module:  drupal_set_message(t('Deleted %title revision %revision.', array('%title' => $node->title, '%revision' => $node->vid)));
+/volo/drupal/modules/node/node.module:  watchdog('content', t('@type: deleted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $node->vid)));
+/volo/drupal/modules/node/node.module:  if (db_result(db_query('SELECT COUNT(vid) FROM {node_revisions} WHERE nid = %d', $node->nid)) > 1) {
+/volo/drupal/modules/node/node.module:    return 'node/'. $node->nid .'/revisions';
+/volo/drupal/modules/node/node.module:    return 'node/'. $node->nid;
+/volo/drupal/modules/node/node.module:  $result = db_query('SELECT r.vid, r.title, r.log, r.uid, n.vid AS current_vid, r.timestamp, u.name FROM {node_revisions} r LEFT JOIN {node} n ON n.vid = r.vid INNER JOIN {users} u ON u.uid = r.uid WHERE r.nid = %d ORDER BY r.timestamp DESC', $node->nid);
+/volo/drupal/modules/node/node.module:    $item = node_load($node->nid);
+/volo/drupal/modules/node/node.module:    $link = url("node/$node->nid", NULL, NULL, 1);
+/volo/drupal/modules/node/node.module:      // Allow modules to change $node->teaser before viewing.
+/volo/drupal/modules/node/node.module:  if (!isset($node->teaser)) {
+/volo/drupal/modules/node/node.module:    $node->teaser = isset($node->body) ? node_teaser($node->body, isset($node->format) ? $node->format : NULL) : '';
+/volo/drupal/modules/node/node.module:    if ($account = user_load(array('name' => $node->name))) {
+/volo/drupal/modules/node/node.module:      $node->uid = $account->uid;
+/volo/drupal/modules/node/node.module:      $node->uid = 0;
+/volo/drupal/modules/node/node.module:    $node->created = $node->date ? strtotime($node->date) : NULL;
+/volo/drupal/modules/node/node.module:  // Do node-type-specific validation checks.
+/volo/drupal/modules/node/node.module:  $node->validated = TRUE;
+/volo/drupal/modules/node/node.module:  if (isset($node->body) && count(explode(' ', $node->body)) < $type->min_word_count) {
+/volo/drupal/modules/node/node.module:  if (isset($node->nid) && (node_last_changed($node->nid) > $node->changed)) {
+/volo/drupal/modules/node/node.module:    if (!empty($node->name) && !($account = user_load(array('name' => $node->name)))) {
+/volo/drupal/modules/node/node.module:      form_set_error('name', t('The username %name does not exist.', array('%name' => $node->name)));
+/volo/drupal/modules/node/node.module:    if (!empty($node->date) && strtotime($node->date) <= 0) {
+/volo/drupal/modules/node/node.module:  // Do node-type-specific validation checks.
+/volo/drupal/modules/node/node.module:    if (!isset($node->created)) {
+/volo/drupal/modules/node/node.module:      $node->created = time();
+/volo/drupal/modules/node/node.module:    if (!isset($node->date)) {
+/volo/drupal/modules/node/node.module:      $node->date = format_date($node->created, 'custom', 'Y-m-d H:i:s O');
+/volo/drupal/modules/node/node.module:  $form['#id'] = 'node-form';
+/volo/drupal/modules/node/node.module:    $form[$key] = array('#type' => 'value', '#value' => $node->$key);
+/volo/drupal/modules/node/node.module:  $form['changed'] = array('#type' => 'hidden', '#default_value' => $node->changed);
+/volo/drupal/modules/node/node.module:  // Get the node-specific bits.
+/volo/drupal/modules/node/node.module:  $node_options = variable_get('node_options_'. $node->type, array('status', 'promote'));
+/volo/drupal/modules/node/node.module:  if (!isset($node->nid)) {
+/volo/drupal/modules/node/node.module:      $node->$key = in_array($key, $node_options);
+/volo/drupal/modules/node/node.module:    $node->uid = $user->uid;
+/volo/drupal/modules/node/node.module:  $node->revision = in_array('revision', $node_options);
+/volo/drupal/modules/node/node.module:  if ($node->revision || user_access('administer nodes')) {
+/volo/drupal/modules/node/node.module:  $form['author']['name'] = array('#type' => 'textfield', '#title' => t('Authored by'), '#maxlength' => 60, '#autocomplete_path' => 'user/autocomplete', '#default_value' => $node->name ? $node->name : '', '#weight' => -1, '#description' => t('Leave blank for %anonymous.', array('%anonymous' => variable_get('anonymous', t('Anonymous')))));
+/volo/drupal/modules/node/node.module:  $form['author']['date'] = array('#type' => 'textfield', '#title' => t('Authored on'), '#maxlength' => 25, '#description' => t('Format: %time. Leave blank to use the time of form submission.', array('%time' => $node->date)));
+/volo/drupal/modules/node/node.module:  if (isset($node->nid)) {
+/volo/drupal/modules/node/node.module:    $form['author']['date']['#default_value'] = $node->date;
+/volo/drupal/modules/node/node.module:  $form['options']['status']   = array('#type' => 'checkbox', '#title' => t('Published'), '#default_value' => $node->status);
+/volo/drupal/modules/node/node.module:  $form['options']['promote']  = array('#type' => 'checkbox', '#title' => t('Promoted to front page'), '#default_value' => $node->promote);
+/volo/drupal/modules/node/node.module:  $form['options']['sticky']   = array('#type' => 'checkbox', '#title' => t('Sticky at top of lists'), '#default_value' => $node->sticky);
+/volo/drupal/modules/node/node.module:  $form['options']['revision'] = array('#type' => 'checkbox', '#title' => t('Create new revision'), '#default_value' => $node->revision);
+/volo/drupal/modules/node/node.module:    $form[$key] = array('#type' => 'value', '#value' => $node->$key);
+/volo/drupal/modules/node/node.module:  if ($node->nid && node_access('delete', $node)) {
+/volo/drupal/modules/node/node.module:  $output = "\n<div class=\"node-form\">\n";
+/volo/drupal/modules/node/node.module:    if (isset($node->name)) {
+/volo/drupal/modules/node/node.module:      if ($user = user_load(array('name' => $node->name))) {
+/volo/drupal/modules/node/node.module:        $node->uid = $user->uid;
+/volo/drupal/modules/node/node.module:        $node->picture = $user->picture;
+/volo/drupal/modules/node/node.module:        $node->uid = 0; // anonymous user
+/volo/drupal/modules/node/node.module:    else if ($node->uid) {
+/volo/drupal/modules/node/node.module:      $user = user_load(array('uid' => $node->uid));
+/volo/drupal/modules/node/node.module:      $node->name = $user->name;
+/volo/drupal/modules/node/node.module:      $node->picture = $user->picture;
+/volo/drupal/modules/node/node.module:    if ($node->date) {
+/volo/drupal/modules/node/node.module:      $node->created = strtotime($node->date);
+/volo/drupal/modules/node/node.module:    $node->changed = time();
+/volo/drupal/modules/node/node.module:    if (!isset($node->teaser)) {
+/volo/drupal/modules/node/node.module:      $node->teaser = node_teaser($node->body, $node->format);
+/volo/drupal/modules/node/node.module:      $cloned_node->in_preview = TRUE;
+/volo/drupal/modules/node/node.module:    drupal_set_breadcrumb(array(l(t('Home'), NULL), l(t('Create content'), 'node/add'), l(t('Submit @name', array('@name' => node_get_types('name', $node))), 'node/add/'. $node->type)));
+/volo/drupal/modules/node/node.module:  if ($node->teaser && $node->teaser != $node->body) {
+/volo/drupal/modules/node/node.module:  if ($node->nid) {
+/volo/drupal/modules/node/node.module:    watchdog('content', t('@type: updated %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
+/volo/drupal/modules/node/node.module:    watchdog('content', t('@type: added %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
+/volo/drupal/modules/node/node.module:  if ($node->nid) {
+/volo/drupal/modules/node/node.module:      return 'node/'. $node->nid;
+/volo/drupal/modules/node/node.module: $form['nid'] = array('#type' => 'value', '#value' => $node->nid);
+/volo/drupal/modules/node/node.module:   t('Are you sure you want to delete %title?', array('%title' => $node->title)),
+/volo/drupal/modules/node/node.module:   isset($_GET['destination']) ? $_GET['destination'] : 'node/'. $node->nid,
+/volo/drupal/modules/node/node.module:    db_query('DELETE FROM {node} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/node/node.module:    db_query('DELETE FROM {node_revisions} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/node/node.module:    // Call the node-specific callback (if any):
+/volo/drupal/modules/node/node.module:      search_wipe($node->nid, 'node');
+/volo/drupal/modules/node/node.module:    drupal_set_message(t('%title has been deleted.', array('%title' => $node->title)));
+/volo/drupal/modules/node/node.module:    watchdog('content', t('@type: deleted %title.', array('@type' => t($node->type), '%title' => $node->title)));
+/volo/drupal/modules/node/node.module:          if ($node->nid) {
+/volo/drupal/modules/node/node.module:              drupal_set_title(t('Revision of %title from %date', array('%title' => $node->title, '%date' => format_date($node->revision_timestamp))));
+/volo/drupal/modules/node/node.module:      $output .= node_view(node_load($node->nid), 1);
+/volo/drupal/modules/node/node.module:  drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/node/node.module:    drupal_goto('node/'. $node->nid .'/delete', $destination);
+/volo/drupal/modules/node/node.module:  drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/node/node.module:  return drupal_get_form($node->type .'_node_form', $node);
+/volo/drupal/modules/node/node.module:    $last_change = $node->last_change;
+/volo/drupal/modules/node/node.module:    $last_nid = $node->nid;
+/volo/drupal/modules/node/node.module:    $node = node_load($node->nid);
+/volo/drupal/modules/node/node.module:    $node->body = drupal_render($node->content);
+/volo/drupal/modules/node/node.module:    $text = '<h1>'. check_plain($node->title) .'</h1>'. $node->body;
+/volo/drupal/modules/node/node.module:    search_index($node->nid, 'node', $text);
+/volo/drupal/modules/node/node.module:  if ($op == 'update' && !filter_access($node->format)) {
+/volo/drupal/modules/node/node.module:  if ($op != 'create' && $node->nid && $node->status) {
+/volo/drupal/modules/node/node.module:    $result = db_query($sql, $node->nid);
+/volo/drupal/modules/node/node.module:  if ($op == 'view' && $user->uid == $node->uid && $user->uid != 0) {
+/volo/drupal/modules/node/node.module:    db_query($query, $node->nid, $realm);
+/volo/drupal/modules/node/node.module:        db_query("INSERT INTO {node_access} (nid, realm, gid, grant_view, grant_update, grant_delete) VALUES (%d, '%s', %d, %d, %d, %d)", $node->nid, $grant['realm'], $grant['gid'], $grant['grant_view'], $grant['grant_update'], $grant['grant_delete']);
+/volo/drupal/modules/node/node.module:      $loaded_node = node_load($node->nid, NULL, TRUE);
+/volo/drupal/modules/node/node.module:  $type = is_string($node) ? $node : (is_array($node) ? $node['type'] : $node->type);
+/volo/drupal/modules/node/node.module:    if (user_access('edit '. $type .' content') || (user_access('edit own '. $type .' content') && ($user->uid == $node->uid))) {
+/volo/drupal/modules/node/node.module:      '#default_value' => $node->title,
+/volo/drupal/modules/node/node.module:      '#default_value' => $node->body,
+/volo/drupal/modules/node/node.module:    $form['body_filter']['format'] = filter_form($node->format);
+/volo/drupal/modules/path/path.module:        $node->path = trim($node->path);
+/volo/drupal/modules/path/path.module:        if (db_result(db_query("SELECT COUNT(dst) FROM {url_alias} WHERE dst = '%s' AND src != '%s'", $node->path, "node/$node->nid"))) {
+/volo/drupal/modules/path/path.module:        $path = "node/$node->nid";
+/volo/drupal/modules/path/path.module:          $node->path = db_result($result);
+/volo/drupal/modules/path/path.module:        if ($node->path) {
+/volo/drupal/modules/path/path.module:          path_set_alias("node/$node->nid", $node->path);
+/volo/drupal/modules/path/path.module:        path_set_alias("node/$node->nid", $node->path, $node->pid);
+/volo/drupal/modules/path/path.module:        $path = "node/$node->nid";
+/volo/drupal/modules/pathauto/pathauto.module: *   actual values to be substituted into the pattern (e.g., $node->title)
+/volo/drupal/modules/pathauto/pathauto.module: *   The "real" URI of the content to be aliased (e.g., "node/$node->nid")
+/volo/drupal/modules/pathauto/pathauto.module: *   $node->type)
+/volo/drupal/modules/poll/poll.module:  db_query("DELETE FROM {poll} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/poll/poll.module:  db_query("DELETE FROM {poll_choices} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/poll/poll.module:  db_query("DELETE FROM {poll_votes} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/poll/poll.module:  $node->choice = array_values($node->choice);
+/volo/drupal/modules/poll/poll.module:  $node->teaser = poll_teaser($node);
+/volo/drupal/modules/poll/poll.module:  if (isset($node->title)) {
+/volo/drupal/modules/poll/poll.module:    $node->choice = array_values($node->choice);
+/volo/drupal/modules/poll/poll.module:    foreach ($node->choice as $i => $choice) {
+/volo/drupal/modules/poll/poll.module:    '#default_value' => $node->title,
+/volo/drupal/modules/poll/poll.module:    $choices = max(2, count($node->choice) ? count($node->choice) : 5);
+/volo/drupal/modules/poll/poll.module:      '#default_value' => $node->choice[$a]['chtext'],
+/volo/drupal/modules/poll/poll.module:        '#default_value' => (int)$node->choice[$a]['chvotes'],
+/volo/drupal/modules/poll/poll.module:      '#default_value' => isset($node->active) ? $node->active : 1,
+/volo/drupal/modules/poll/poll.module:    '#default_value' => $node->runtime,
+/volo/drupal/modules/poll/poll.module:    foreach ($node->choice as $i => $choice) {
+/volo/drupal/modules/poll/poll.module:      $node->choice[$i]['chvotes'] = 0;
+/volo/drupal/modules/poll/poll.module:    $node->active = 1;
+/volo/drupal/modules/poll/poll.module:  db_query("INSERT INTO {poll} (nid, runtime, active) VALUES (%d, %d, %d)", $node->nid, $node->runtime, $node->active);
+/volo/drupal/modules/poll/poll.module:  foreach ($node->choice as $choice) {
+/volo/drupal/modules/poll/poll.module:      db_query("INSERT INTO {poll_choices} (nid, chtext, chvotes, chorder) VALUES (%d, '%s', %d, %d)", $node->nid, $choice['chtext'], $choice['chvotes'], $i++);
+/volo/drupal/modules/poll/poll.module:      if ($node->type == 'poll') {
+/volo/drupal/modules/poll/poll.module:      if ($node->type == 'poll' && $node->allowvotes) {
+/volo/drupal/modules/poll/poll.module:  $poll = db_fetch_object(db_query("SELECT runtime, active FROM {poll} WHERE nid = %d", $node->nid));
+/volo/drupal/modules/poll/poll.module:  $result = db_query("SELECT chtext, chvotes, chorder FROM {poll_choices} WHERE nid = %d ORDER BY chorder", $node->nid);
+/volo/drupal/modules/poll/poll.module:      $result = db_fetch_object(db_query('SELECT chorder FROM {poll_votes} WHERE nid = %d AND uid = %d', $node->nid, $user->uid));
+/volo/drupal/modules/poll/poll.module:      $result = db_fetch_object(db_query("SELECT chorder FROM {poll_votes} WHERE nid = %d AND hostname = '%s'", $node->nid, $_SERVER['REMOTE_ADDR']));
+/volo/drupal/modules/poll/poll.module:    $output .= '<li>'. l($node->title, "node/$node->nid") .' - '. format_plural($node->votes, '1 vote', '@count votes') .' - '. ($node->active ? t('open') : t('closed')) .'</li>';
+/volo/drupal/modules/poll/poll.module:  if (is_array($node->choice)) {
+/volo/drupal/modules/poll/poll.module:    foreach ($node->choice as $k => $choice) {
+/volo/drupal/modules/poll/poll.module:  if ($node->choice) {
+/volo/drupal/modules/poll/poll.module:    foreach ($node->choice as $i => $choice) {
+/volo/drupal/modules/poll/poll.module:      '#title' => $block ? check_plain($node->title) : '',
+/volo/drupal/modules/poll/poll.module:  $form['nid'] = array('#type' => 'hidden', '#value' => $node->nid);
+/volo/drupal/modules/poll/poll.module:  $form['#action'] = url('node/'. $node->nid);
+/volo/drupal/modules/poll/poll.module:  foreach ($node->choice as $choice) {
+/volo/drupal/modules/poll/poll.module:  foreach ($node->choice as $i => $choice) {
+/volo/drupal/modules/poll/poll.module:  $output .= theme('poll_results', check_plain($node->title), $poll_results, $total_votes, $node->links, $block, $node->nid, $node->vote);
+/volo/drupal/modules/poll/poll.module:    drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/poll/poll.module:    drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/poll/poll.module:    $result = pager_query("SELECT pv.chorder, pv.uid, pv.hostname, u.name FROM {poll_votes} pv LEFT JOIN {users} u ON pv.uid = u.uid WHERE pv.nid = %d" . tablesort_sql($header), 20, 0, NULL, $node->nid);
+/volo/drupal/modules/poll/poll.module:        check_plain($node->choice[$vote->chorder]['chtext']));
+/volo/drupal/modules/poll/poll.module:    if (isset($choice) && isset($node->choice[$choice])) {
+/volo/drupal/modules/poll/poll.module:      if ($node->allowvotes) {
+/volo/drupal/modules/poll/poll.module:          db_query('INSERT INTO {poll_votes} (nid, chorder, uid) VALUES (%d, %d, %d)', $node->nid, $choice, $user->uid);
+/volo/drupal/modules/poll/poll.module:          db_query("INSERT INTO {poll_votes} (nid, chorder, hostname) VALUES (%d, %d, '%s')", $node->nid, $choice, $_SERVER['REMOTE_ADDR']);
+/volo/drupal/modules/poll/poll.module:        db_query("UPDATE {poll_choices} SET chvotes = chvotes + 1 WHERE nid = %d AND chorder = %d", $node->nid, $choice);
+/volo/drupal/modules/poll/poll.module:        $node->allowvotes = FALSE;
+/volo/drupal/modules/poll/poll.module:        $node->choice[$choice]['chvotes']++;
+/volo/drupal/modules/poll/poll.module:    if ($node->type == 'poll' && $node->allowvotes == FALSE) {
+/volo/drupal/modules/poll/poll.module:        db_query('DELETE FROM {poll_votes} WHERE nid = %d and uid = %d', $node->nid, $user->uid);
+/volo/drupal/modules/poll/poll.module:        db_query("DELETE FROM {poll_votes} WHERE nid = %d and hostname = '%s'", $node->nid, $_SERVER['REMOTE_ADDR']);
+/volo/drupal/modules/poll/poll.module:      db_query("UPDATE {poll_choices} SET chvotes = chvotes - 1 WHERE nid = %d AND chorder = %d", $node->nid, $node->vote);
+/volo/drupal/modules/poll/poll.module:      $node->allowvotes = TRUE;
+/volo/drupal/modules/poll/poll.module:      $node->choice[$node->vote]['chvotes']--;
+/volo/drupal/modules/poll/poll.module:    $node->readmore = FALSE;
+/volo/drupal/modules/poll/poll.module:    if ($node->allowvotes && $block) {
+/volo/drupal/modules/poll/poll.module:      $links[] = array('title' => t('Results'), 'href' => 'node/'. $node->nid .'/results', 'attributes' => array('title' => t('View the current poll results.')));
+/volo/drupal/modules/poll/poll.module:    $node->links = $links;
+/volo/drupal/modules/poll/poll.module:  if ($node->allowvotes && ($block || arg(2) != 'results')) {
+/volo/drupal/modules/poll/poll.module:    $node->content['body'] = array(
+/volo/drupal/modules/poll/poll.module:    $node->content['body'] = array(
+/volo/drupal/modules/poll/poll.module:  db_query('UPDATE {poll} SET runtime = %d, active = %d WHERE nid = %d', $node->runtime, $node->active, $node->nid);
+/volo/drupal/modules/poll/poll.module:  db_query('DELETE FROM {poll_choices} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/poll/poll.module:  db_query('DELETE FROM {poll_votes} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/poll/poll.module:  foreach ($node->choice as $choice) {
+/volo/drupal/modules/poll/poll.module:      db_query("INSERT INTO {poll_choices} (nid, chtext, chvotes, chorder) VALUES (%d, '%s', %d, %d)", $node->nid, $chtext, $chvotes, $i++);
+/volo/drupal/modules/profile/profile.module:        $account = user_load(array('uid' => $node->uid));
+/volo/drupal/modules/search/search.module:                if (filter_format_allowcache($node->format)) {
+/volo/drupal/modules/search/search.module:                  $linktitle = $node->title;
+/volo/drupal/modules/simple_css/simple_css.module:    else if (user_access('view own usage') && $user->uid == $node->uid) {
+/volo/drupal/modules/site_map/site_map.module:      $book_display .= '<h3>'. l($node->title, 'node/'. $node->nid) .'</h3>';
+/volo/drupal/modules/site_map/site_map.module:      $book_display .= book_tree($node->nid, 5 , array(variable_get('site_map_books_expanded', 1) ? TRUE : ''));
+/volo/drupal/modules/statistics/statistics.module:<li>Enable node view counter allows you to turn on and off the node-counting functionality of this module. If it is turned on, an extra database query is added for each node displayed, which increments a counter.</li>
+/volo/drupal/modules/statistics/statistics.module:    $statistics = statistics_get($node->nid);
+/volo/drupal/modules/statistics/statistics.module:    $result = pager_query('SELECT a.aid, a.timestamp, a.url, a.uid, u.name FROM {accesslog} a LEFT JOIN {users} u ON a.uid = u.uid WHERE a.path LIKE \'node/%d%%\'' . tablesort_sql($header), 30, 0, NULL, $node->nid);
+/volo/drupal/modules/statistics/statistics.module:    drupal_set_title(check_plain($node->title));
+/volo/drupal/modules/statistics/statistics.module:      db_query('DELETE FROM {node_counter} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/taxonomy/taxonomy.module:      foreach ($node->taxonomy as $term) {
+/volo/drupal/modules/taxonomy/taxonomy.module:    if (!isset($node->taxonomy)) {
+/volo/drupal/modules/taxonomy/taxonomy.module:      if ($node->nid) {
+/volo/drupal/modules/taxonomy/taxonomy.module:        $terms = taxonomy_node_get_terms($node->nid);
+/volo/drupal/modules/taxonomy/taxonomy.module:      $terms = $node->taxonomy;
+/volo/drupal/modules/taxonomy/taxonomy.module:    $c = db_query(db_rewrite_sql("SELECT v.* FROM {vocabulary} v INNER JOIN {vocabulary_node_types} n ON v.vid = n.vid WHERE n.type = '%s' ORDER BY v.weight, v.name", 'v', 'vid'), $node->type);
+/volo/drupal/modules/taxonomy/taxonomy.module:  if ($node->taxonomy) {
+/volo/drupal/modules/taxonomy/taxonomy.module:    $terms = $node->taxonomy;
+/volo/drupal/modules/taxonomy/taxonomy.module: *   The $node->type. If given, taxonomy_term_count_nodes only counts
+/volo/drupal/modules/taxonomy/taxonomy.module:      $output .= node_view(node_load($node->nid), 1);
+/volo/drupal/modules/taxonomy/taxonomy.module:     $output['taxonomy'] = taxonomy_node_get_terms($node->nid);
+/volo/drupal/modules/taxonomy/taxonomy.module:      taxonomy_node_save($node->nid, $node->taxonomy);
+/volo/drupal/modules/taxonomy/taxonomy.module:      taxonomy_node_save($node->nid, $node->taxonomy);
+/volo/drupal/modules/taxonomy/taxonomy.module:      taxonomy_node_delete($node->nid);
+/volo/drupal/modules/taxonomy/taxonomy.module:  foreach ($node->taxonomy as $term) {
+/volo/drupal/modules/taxonomy/taxonomy.module:  foreach ($node->taxonomy as $term) {
+/volo/drupal/modules/timeline/timeline.module:    $start_value = !empty($start_field) && !empty($item->$start_field) ? $item->$start_field : $node->created;
+/volo/drupal/modules/timeline/timeline.module:    $title_value = !empty($title_field) && !empty($item->$title_field) ? $item->$title_field : $node->title;
+/volo/drupal/modules/timeline/timeline.module:    $body_value = !empty($body_field) && !empty($item->$body_field) ? $item->$body_field : $node->teaser;
+/volo/drupal/modules/timeline/timeline.module:    $body_format = !empty($format_field) && !empty($item->$format_field) ? $item->$format_field : $node->format;
+/volo/drupal/modules/timeline/timeline.module:      'link'        => url('node/' . $node->nid),
+/volo/drupal/modules/tinymce/tinymce.module:    if ($node->format == 2) {
+/volo/drupal/modules/tracker/tracker.module:    if ($node->comment_count) {
+/volo/drupal/modules/tracker/tracker.module:      $comments = $node->comment_count;
+/volo/drupal/modules/tracker/tracker.module:      if ($new = comment_num_new($node->nid)) {
+/volo/drupal/modules/tracker/tracker.module:        $comments .= l(format_plural($new, '1 new', '@count new'), "node/$node->nid", NULL, NULL, 'new');
+/volo/drupal/modules/tracker/tracker.module:      check_plain(node_get_types('name', $node->type)),
+/volo/drupal/modules/tracker/tracker.module:      l($node->title, "node/$node->nid") .' '. theme('mark', node_mark($node->nid, $node->changed)),
+/volo/drupal/modules/tracker/tracker.module:      t('!time ago', array('!time' => format_interval(time() - $node->last_updated)))
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = $node->title;
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = '('. $node->nid .') '. $node->title;
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = $node->title;
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = '('. $node->nid .') '. $node->title;
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = $node->title;
+/volo/drupal/modules/ubrowser/ubrowser.module:        $options[$node->nid] = '('. $node->nid .') '. $node->title;
+/volo/drupal/modules/upload/upload.module:  if ($teaser && $type == 'node' && isset($node->files) && user_access('view uploaded files')) {
+/volo/drupal/modules/upload/upload.module:    foreach ($node->files as $file) {
+/volo/drupal/modules/upload/upload.module:        'href' => "node/$node->nid",
+/volo/drupal/modules/upload/upload.module:      $node->files[$fid] = $file;
+/volo/drupal/modules/upload/upload.module:    if ($form['type']['#value'] .'_node_form' == $form_id && variable_get("upload_$node->type", TRUE)) {
+/volo/drupal/modules/upload/upload.module:        '#collapsed' => empty($node->files),
+/volo/drupal/modules/upload/upload.module:  // Check if node->files exists, and if it contains something.
+/volo/drupal/modules/upload/upload.module:  if (is_array($node->files)) {
+/volo/drupal/modules/upload/upload.module:    foreach ($node->files as $fid => $file) {
+/volo/drupal/modules/upload/upload.module:            unset($node->files[$fid], $_SESSION['file_previews'][$fid]);
+/volo/drupal/modules/upload/upload.module:      if (variable_get("upload_$node->type", 1) == 1) {
+/volo/drupal/modules/upload/upload.module:      if (isset($node->files) && user_access('view uploaded files')) {
+/volo/drupal/modules/upload/upload.module:        if (count($node->files)) {
+/volo/drupal/modules/upload/upload.module:            $node->content['files'] = array(
+/volo/drupal/modules/upload/upload.module:              '#value' => theme('upload_attachments', $node->files),
+/volo/drupal/modules/upload/upload.module:      if (isset($node->files) && user_access('view uploaded files')) {
+/volo/drupal/modules/upload/upload.module:          foreach ($node->files as $file) {
+/volo/drupal/modules/upload/upload.module:            $node->body = str_replace($old, $new, $node->body);
+/volo/drupal/modules/upload/upload.module:            $node->teaser = str_replace($old, $new, $node->teaser);
+/volo/drupal/modules/upload/upload.module:      return is_array($node->files) ? format_plural(count($node->files), '1 attachment', '@count attachments') : NULL;
+/volo/drupal/modules/upload/upload.module:      if (is_array($node->files)) {
+/volo/drupal/modules/upload/upload.module:        foreach ($node->files as $file) {
+/volo/drupal/modules/upload/upload.module:  if (!is_array($node->files)) {
+/volo/drupal/modules/upload/upload.module:  foreach ($node->files as $fid => $file) {
+/volo/drupal/modules/upload/upload.module:        db_query('DELETE FROM {file_revisions} WHERE fid = %d AND vid = %d', $fid, $node->vid);
+/volo/drupal/modules/upload/upload.module:        db_query("INSERT INTO {files} (fid, nid, filename, filepath, filemime, filesize) VALUES (%d, %d, '%s', '%s', '%s', %d)", $file->fid, $node->nid, $file->filename, $file->filepath, $file->filemime, $file->filesize);
+/volo/drupal/modules/upload/upload.module:        db_query("INSERT INTO {file_revisions} (fid, vid, list, description) VALUES (%d, %d, %d, '%s')", $file->fid, $node->vid, $file->list, $file->description);
+/volo/drupal/modules/upload/upload.module:        $node->files[$fid] = $file;
+/volo/drupal/modules/upload/upload.module:    elseif ($node->old_vid && is_numeric($fid)) {
+/volo/drupal/modules/upload/upload.module:      db_query("INSERT INTO {file_revisions} (fid, vid, list, description) VALUES (%d, %d, %d, '%s')", $file->fid, $node->vid, $file->list, $file->description);
+/volo/drupal/modules/upload/upload.module:      db_query("UPDATE {file_revisions} SET list = %d, description = '%s' WHERE fid = %d AND vid = %d", $file->list, $file->description, $file->fid, $node->vid);
+/volo/drupal/modules/upload/upload.module:  $result = db_query('SELECT * FROM {files} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/upload/upload.module:  db_query('DELETE FROM {files} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/upload/upload.module:  if (is_array($node->files)) {
+/volo/drupal/modules/upload/upload.module:    foreach ($node->files as $file) {
+/volo/drupal/modules/upload/upload.module:  db_query('DELETE FROM {file_revisions} WHERE vid = %d', $node->vid);
+/volo/drupal/modules/upload/upload.module:  if (is_array($node->files) && count($node->files)) {
+/volo/drupal/modules/upload/upload.module:    foreach ($node->files as $key => $file) {
+/volo/drupal/modules/upload/upload.module:  $form['current']['vid'] = array('#type' => 'hidden', '#value' => $node->vid);
+/volo/drupal/modules/upload/upload.module:  if ($node->vid) {
+/volo/drupal/modules/upload/upload.module:    $result = db_query('SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid', $node->vid);
+/volo/drupal/modules/upload/upload.module:  $node->files = upload_load($node);
+/volo/drupal/modules/upload/upload.module:  // Handle new uploads, and merge tmp files into node-files.
+/volo/drupal/modules/views/views.module:    $items[] = "<div class='view-item ". views_css_safe('view-item-'. $view->name) ."'>$item</div>\n"; // l($node->title, "node/$node->nid");
+/volo/drupal/modules/views/views.module:    $items[] = views_get_summary_link($view->argument[$level]['type'], $node, $view->real_url)  . " (" . $node->num_nodes . ")";
+/volo/drupal/modules/views/views.module:  if ($argument && $node->type != $argument) {
+/volo/drupal/modules/views/views_rss.module:    $item = node_load($node->nid);
+/volo/drupal/modules/views/views_rss.module:    $link = url("node/$node->nid", NULL, NULL, 1);
+/volo/drupal/modules/views/views_rss.module:      // Allow modules to change $node->teaser before viewing.
+/volo/drupal/modules/views/views_theme_wizard.module:    \$set[\$node->{$group_field}][] = \$node;
+/volo/drupal/modules/views/views_theme_wizard.module:      \$parents[] = \$node->{$tree_key_field};
+/volo/drupal/modules/views/views_theme_wizard.module:      if (! in_array(\$node->{$tree_reference_field}, \$parents)) {
+/volo/drupal/modules/views/views_theme_wizard.module:        \$node->{$tree_reference_field} = 0;
+/volo/drupal/modules/views/views_theme_wizard.module:    if (\$node->{$tree_reference_field} != \$parent) {
+/volo/drupal/modules/views/views_theme_wizard.module:    \$item .= call_user_func(__FUNCTION__, \$view, \$nodes, \$type, \$node->{$tree_key_field});
+/volo/drupal/modules/webform/webform.module:      return user_access("edit webforms") || (user_access("edit own webforms") && ($user->uid == $node->uid));
+/volo/drupal/modules/webform/webform.module:    $node->submit_limit = '-1';
+/volo/drupal/modules/webform/webform.module:    $node->submit_interval = '157784630'; // 5 years, close enough to 'ever'
+/volo/drupal/modules/webform/webform.module:    unset($node->webformcomponents);
+/volo/drupal/modules/webform/webform.module:    $node->webformcomponents = _webform_components_decode($_POST['webformcomponents']);
+/volo/drupal/modules/webform/webform.module:  db_query("INSERT INTO {webform} (nid, confirmation, redirect_post, submit_limit, submit_interval, email, email_from_name, email_from_address, email_subject, additional_validate, additional_submit) VALUES (%d, '%s', %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s')", $node->nid, $node->confirmation, $node->redirect_post, $node->submit_limit, $node->submit_interval, $node->email, $node->email_from_name, $node->email_from_address, $node->email_subject, $node->additional_validate, $node->additional_submit);
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    foreach ($node->webformcomponents as $cid => $component) {   
+/volo/drupal/modules/webform/webform.module:        $node->nid, $cid, $component['parent'], $component['form_key'], $component['name'], $component['type'], $component['value'], serialize($component['extra']), ($component['mandatory'] ? 1 : 0), $component['weight']
+/volo/drupal/modules/webform/webform.module:  db_query("DELETE FROM {webform} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/webform/webform.module:  db_query("DELETE FROM {webform_component} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/webform/webform.module:  db_query("DELETE FROM {webform} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/webform/webform.module:  db_query("DELETE FROM {webform_component} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/webform/webform.module:  watchdog('webform', 'webform "'. $node->title .'" deleted', WATCHDOG_NOTICE);
+/volo/drupal/modules/webform/webform.module:  $page= db_fetch_object(db_query("SELECT * FROM {webform} WHERE nid = %d", $node->nid));
+/volo/drupal/modules/webform/webform.module:  $result= db_query('SELECT * FROM {webform_component} WHERE nid = %d ORDER BY weight, name', $node->nid);
+/volo/drupal/modules/webform/webform.module:    if ($node->nid && $node->type == 'webform') {
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/done', 'title' => t('webform'),
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results', 'title' => t('Results'), 
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/submissions', 'title' => t('submissions'),
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/analysis', 'title' => t('analysis'),
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/table', 'title' => t('table'), 
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/download', 'title' => t('download'), 
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/clear', 'title' => t('clear'), 
+/volo/drupal/modules/webform/webform.module:      $items[]= array('path' => 'node/'. $node->nid .'/results/delete', 'title' => t('webform'),
+/volo/drupal/modules/webform/webform.module:  if ($node->type == 'webform') {
+/volo/drupal/modules/webform/webform.module:        'href' => "node/$node->nid",
+/volo/drupal/modules/webform/webform.module:        $node->webformcomponents = _webform_components_decode($_POST['webformcomponents']);
+/volo/drupal/modules/webform/webform.module:      if (is_array($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:        $new_parent = $node->webformcomponents[$delete_cid]['parent'];
+/volo/drupal/modules/webform/webform.module:        foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/webform/webform.module:            $node->webformcomponents[$cid]['parent'] = $new_parent;
+/volo/drupal/modules/webform/webform.module:        unset($node->webformcomponents[$delete_cid]);
+/volo/drupal/modules/webform/webform.module:        $node->webformcomponents = _webform_components_decode($_POST['node']['webformcomponents']);
+/volo/drupal/modules/webform/webform.module:        $node->webformcomponents[$node->selected_component] = $_POST['field'];
+/volo/drupal/modules/webform/webform.module:          unset($node->webformcomponents[$cid]);
+/volo/drupal/modules/webform/webform.module:            $node->webformcomponents[$cid][$key] = $value;
+/volo/drupal/modules/webform/webform.module:        $node->webformcomponents = _webform_components_decode($_POST['webformcomponents']);
+/volo/drupal/modules/webform/webform.module:    $node->submit_limit = '-1';
+/volo/drupal/modules/webform/webform.module:    $node->submit_interval = '157784630'; // 5 years, close enough to 'ever'
+/volo/drupal/modules/webform/webform.module:  $node->webformcomponents = _webform_components_decode($_POST['webformcomponents']);
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->title,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->body,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->confirmation,
+/volo/drupal/modules/webform/webform.module:  $form['webform']['format'] = filter_form($node->format);
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    foreach ($node->webformcomponents as $cid => $component) {  
+/volo/drupal/modules/webform/webform.module:    if ($node->selected_component > 0) {
+/volo/drupal/modules/webform/webform.module:        $default_value = $node->selected_component;
+/volo/drupal/modules/webform/webform.module:        $comp_keys = array_keys($node->webformcomponents);
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->webform_newfield_type,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->email,
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty ($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->email_from_name,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->email_from_address,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->email_subject,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => ($node->submit_limit > 0 ? false : 'no'),
+/volo/drupal/modules/webform/webform.module:    '#default_value' => ($node->submit_limit > 0 ? 'yes' : false),
+/volo/drupal/modules/webform/webform.module:    '#default_value' => ($node->submit_limit > 0 ? $node->submit_limit : ""),
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->submit_interval,
+/volo/drupal/modules/webform/webform.module:      '#default_value' => $node->additional_validate,
+/volo/drupal/modules/webform/webform.module:      '#default_value' => $node->additional_submit,
+/volo/drupal/modules/webform/webform.module:      '#value' => $node->additional_validate,
+/volo/drupal/modules/webform/webform.module:      '#value' => $node->additional_submit,
+/volo/drupal/modules/webform/webform.module:    '#default_value' => $node->redirect_post,
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    _webform_components_tree_build($node->webformcomponents, $component_tree, 0, $page_count);
+/volo/drupal/modules/webform/webform.module:    $component = $node->webformcomponents[$cid];
+/volo/drupal/modules/webform/webform.module:  if (variable_get('webform_enable_fieldset', true) && is_array($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    foreach ($node->webformcomponents as $thiscid => $value) {
+/volo/drupal/modules/webform/webform.module:    $node->content['teaser'] = array('#value' => check_markup($node->teaser, $node->format, FALSE));
+/volo/drupal/modules/webform/webform.module:  $node->webformcomponents = _webform_components_decode($node->webformcomponents);
+/volo/drupal/modules/webform/webform.module:      $node->body = "";
+/volo/drupal/modules/webform/webform.module:      $submission = _webform_fetch_submission($sid_to_display, $node->nid);
+/volo/drupal/modules/webform/webform.module:  $_webform_form_list[] = $node->nid;
+/volo/drupal/modules/webform/webform.module:  $output = drupal_get_form('webform_client_form_'. $node->nid, $node, $submission);
+/volo/drupal/modules/webform/webform.module:  $node->content['body'] = array('#value' => check_markup($node->body, $node->format, FALSE));
+/volo/drupal/modules/webform/webform.module:  $node->content['webform'] = array('#value' => $output, '#weight' => 10);
+/volo/drupal/modules/webform/webform.module:  if ($node->redirect_post && valid_url(trim($node->confirmation), true)) {
+/volo/drupal/modules/webform/webform.module:    $form['#action'] = trim($node->confirmation);
+/volo/drupal/modules/webform/webform.module:  $form['#theme'] = 'webform_form_'. $node->nid;
+/volo/drupal/modules/webform/webform.module:  if (is_array($node->webformcomponents) && !empty($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:    _webform_components_tree_build($node->webformcomponents, $component_tree, 0, $page_count);
+/volo/drupal/modules/webform/webform.module:        '#value'     => $node->email_subject,
+/volo/drupal/modules/webform/webform.module:        '#value'     => $node->email_from_name,
+/volo/drupal/modules/webform/webform.module:        '#value'     => $node->email_from_address,
+/volo/drupal/modules/webform/webform.module:        '#value'     => $node->nid,
+/volo/drupal/modules/webform/webform.module:                                '%webform_url' => url('node/'. $node->nid),
+/volo/drupal/modules/webform/webform.module:                                '%webform_title' => $node->title,
+/volo/drupal/modules/webform/webform.module:                                '%webform_url' => url('node/'. $node->nid),
+/volo/drupal/modules/webform/webform.module:                                '%webform_title' => $node->title,
+/volo/drupal/modules/webform/webform.module:  if (trim($node->additional_validate)) {
+/volo/drupal/modules/webform/webform.module:    eval("?>".$node->additional_validate);
+/volo/drupal/modules/webform/webform.module:  $session_key = 'webform_form_'.$node->nid;
+/volo/drupal/modules/webform/webform.module:  foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/webform/webform.module:  if (trim($node->additional_submit)) {
+/volo/drupal/modules/webform/webform.module:    eval("?>".$node->additional_submit);
+/volo/drupal/modules/webform/webform.module:  if (isset ($node->email)) {
+/volo/drupal/modules/webform/webform.module:    $node->email = strip_tags($node->email);
+/volo/drupal/modules/webform/webform.module:    if (!empty ($node->email)) {
+/volo/drupal/modules/webform/webform.module:      // Check for a node-specific message:
+/volo/drupal/modules/webform/webform.module:      $message = theme("webform_create_mailmessage_$node->nid", $form_values, $node, $sid);
+/volo/drupal/modules/webform/webform.module:      $email_subject_string = variable_get('webform_default_subject', t('Form submission from: ')) . ' ' . $node->title;
+/volo/drupal/modules/webform/webform.module:      if (strcmp('none', $node->email_from_name)) {
+/volo/drupal/modules/webform/webform.module:      if (strcmp('none', $node->email_from_address)) {
+/volo/drupal/modules/webform/webform.module:      if (strcmp('none', $node->email_subject)) {
+/volo/drupal/modules/webform/webform.module:      if (is_array($node->webformcomponents) && !empty ($node->webformcomponents)) {
+/volo/drupal/modules/webform/webform.module:        foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/webform/webform.module:            if ($component['name'] == $node->email_from_address) {
+/volo/drupal/modules/webform/webform.module:            if ($component['name'] == $node->email_from_name) {
+/volo/drupal/modules/webform/webform.module:            if ($component['name'] == $node->email_subject) {
+/volo/drupal/modules/webform/webform.module:      if (_webform_submission_spam_check($node->email, $email_subject_string, $message, $email_from_string, $headers)) {
+/volo/drupal/modules/webform/webform.module:      drupal_mail('webform-submission', $node->email, $email_subject_string, $message, $email_from_string, $headers);
+/volo/drupal/modules/webform/webform.module:        drupal_set_message("E-mail Headers: <pre>". print_r($headers, true) ."</pre>To: " . $node->email . "<br />From: " . htmlentities($email_from_string) . "<br />Subject: " . $email_subject_string . "<br />E-mail Body: <pre>".$message."</pre>");
+/volo/drupal/modules/webform/webform.module:    watchdog('webform', t('Submission posted to %title', array('%title' => $node->title)) . l(t('Results'), 'node/'.$node->nid, NULL, 'sid='.$sid)."<br />\n".nl2br(htmlentities($message)), WATCHDOG_NOTICE);
+/volo/drupal/modules/webform/webform.module:  if (valid_url(trim($node->confirmation), true)) {
+/volo/drupal/modules/webform/webform.module:    return trim($node->confirmation);
+/volo/drupal/modules/webform/webform.module:  elseif (preg_match('/^internal:/', $node->confirmation)) {
+/volo/drupal/modules/webform/webform.module:    $path = preg_replace('/^internal:/', '', $node->confirmation);
+/volo/drupal/modules/webform/webform.module:    return array('node/'.$node->nid.'/done', 'sid=' . $sid);
+/volo/drupal/modules/webform/webform.module:      if (is_array($value) && $node->webformcomponents[$cid]['type'] == 'fieldset') {
+/volo/drupal/modules/webform/webform.module:      drupal_set_title($node->title);
+/volo/drupal/modules/webform/webform.module:  $node->body = check_markup($node->confirmation, $node->format, FALSE);
+/volo/drupal/modules/webform/webform.module:  $node->links['webform_back'] = array(
+/volo/drupal/modules/webform/webform.module:    'href' => 'node/'.$node->nid,
+/volo/drupal/modules/webform/webform.module:  db_query("INSERT INTO {webform_submissions} (nid, sid, uid, submitted, remote_addr) "." VALUES (%d, %d, %d, %d, '%s')", $node->nid, $sid, $user->uid, time(), $_SERVER['REMOTE_ADDR']);
+/volo/drupal/modules/webform/webform.module:        db_query("INSERT INTO {webform_submitted_data} (nid, sid, cid, no, data) "."VALUES (%d, %d, %d, %d, '%s')", $node->nid, $sid, $cid, $delta, $v);
+/volo/drupal/modules/webform/webform.module:      db_query("INSERT INTO {webform_submitted_data} (nid, sid, cid, no, data) "."VALUES (%d, %d, %d, %d, '%s')", $node->nid, $sid, $cid, 0, $value);
+/volo/drupal/modules/webform/webform.module:  $title= $node->title;
+/volo/drupal/modules/webform/webform.module:  foreach ($node->webformcomponents as $cid => $component) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      '#default_value' => $node->priority_override,
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (!(strlen($node->priority_override) > 0 && is_numeric($node->priority_override) && user_access('override node priority'))) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $node->priority_override = 'NULL';
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      $pid = db_result(db_query("SELECT pid FROM {url_alias} WHERE src = '%s'", 'node/'. $node->nid));
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        db_query("INSERT INTO {xmlsitemap} (nid, last_changed, priority_override) VALUES(%d, %d, %s)", $node->nid, $node->changed, $node->priority_override);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        db_query("INSERT INTO {xmlsitemap} (nid, pid, last_changed, priority_override) VALUES (%d, %d, %d, %s)", $node->nid, $pid, $node->changed, $node->priority_override);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (variable_get('xmlsitemap_submit', 0) && $node->status) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if ($node->nid && user_access('override node priority')) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $result = db_query("SELECT priority_override FROM {xmlsitemap} WHERE nid = %d", $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          $node->priority_override = $nd;
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (!(strlen($node->priority_override) > 0 && is_numeric($node->priority_override))) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $node->priority_override = 'NULL';
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      $pid = db_result(db_query("SELECT pid FROM {url_alias} WHERE src = '%s'", 'node/'. $node->nid));
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      $result = db_query('SELECT * FROM {xmlsitemap} x LEFT JOIN {node} n USING (nid) WHERE x.nid = %d', $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          db_query('INSERT INTO {xmlsitemap} (nid, last_changed, priority_override) VALUES(%d, %d, %s)', $node->nid, $node->changed, $node->priority_override);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          db_query('INSERT INTO {xmlsitemap} (nid, pid, last_changed, priority_override) VALUES (%d, %d, %d, %s)', $node->nid, $pid, $node->changed, $node->priority_override);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            db_query('UPDATE {xmlsitemap} SET last_changed = %d, previously_changed = %d, priority_override = %s WHERE nid = %d', $node->changed, $oldnode->last_changed, $node->priority_override, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            db_query('UPDATE {xmlsitemap} SET pid = %d, last_changed = %d, previously_changed = %s, priority_override = %s WHERE nid = %d', $pid, $node->changed, $oldnode->last_changed, $node->priority_override, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            db_query('UPDATE {xmlsitemap} SET last_changed = %d, previously_changed = %d WHERE nid = %d', $node->changed, $oldnode->last_changed, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            db_query("UPDATE {xmlsitemap} SET pid = %d, last_changed = %d, previously_changed = %s WHERE nid = %d", $pid, $node->changed, $oldnode->last_changed, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (variable_get('xmlsitemap_submit', 0) && ($node->status || $oldnode->status)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      db_query('DELETE FROM {xmlsitemap} WHERE nid = %d', $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (variable_get('xmlsitemap_submit', 0) && $node->status) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (strlen($node->priority_override) > 0) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        if (!is_numeric($node->priority_override) || (($node->priority_override > 1) || ($node->priority_override < 0 && $node->priority_override != -1))) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      db_query('INSERT INTO {xmlsitemap} (nid, last_changed, last_comment) VALUES (%d, %d, %d)', $node->nid, $node->changed, $comment->timestamp);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      if (isset($node->last_comment)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        db_query('UPDATE {xmlsitemap} SET last_comment = %d, previous_comment = %d WHERE nid = %d', $comment->timestamp, $node->last_comment, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        db_query('UPDATE {xmlsitemap} SET last_comment = %d WHERE nid = %d', $comment->timestamp, $node->nid);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $output .= '<url><loc>'. xmlsitemap_url('node/'. $node->nid, $node->alias, NULL, NULL, TRUE) .'</loc>';
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $output .= '<lastmod>'. gmdate('Y-m-d\TH:i:s+00:00', max($node->changed, $node->last_comment_timestamp * $countcom)) .'</lastmod>';
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $age = time() - max($node->changed, $node->last_comment_timestamp * $countcom);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          if (!empty($node->previously_changed) && isset($node->previous_comment)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            $interval = min($node->changed, $node->last_comment_timestamp) - max($node->previously_changed, $node->previous_comment);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          elseif (!empty($node->previously_changed)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            $interval = min($node->changed, $node->last_comment_timestamp) - $node->previously_changed;
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          elseif (isset($node->previous_comment)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            $interval = min($node->changed, $node->last_comment_timestamp) - $node->previous_comment;
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          if (!empty($node->previously_changed)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:            $interval = $node->changed - $node->previously_changed;
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:  if (!isset($node->priority_override)) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:    $pri += variable_get('xmlsitemap_' . $node->type . 'wt', 0.1);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:    if ($node->promote) {
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:      $pri += $node->comment_count / $maxcomments * variable_get('xmlsitemap_commentwt', 0.5);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:    $pri = $node->priority_override >= 0 ? $node->priority_override : -1;
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:        $pid = db_result(db_query("SELECT pid FROM {url_alias} WHERE src = '%s'", 'node/'. $node->nid));
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          db_query('INSERT INTO {xmlsitemap} (nid, last_changed) VALUES (%d, %d)', $node->nid, $node->changed);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          db_query('INSERT INTO {xmlsitemap} (nid, pid, last_changed) VALUES (%d, %d, %d)', $node->nid, $pid, $node->changed);
+/volo/drupal/modules/xmlsitemap/xmlsitemap.module:          db_query('UPDATE {xmlsitemap} SET last_comment = %d WHERE nid = %d', $node->last_comment_timestamp, $node->nid);
diff -urN family/family.info drupal/modules/family/family.info
--- family/family.info	1969-12-31 18:00:00.000000000 -0600
+++ drupal/modules/family/family.info	2007-09-17 21:39:16.000000000 -0500
@@ -0,0 +1,3 @@
+; $Id: family.info,v 5.x-1.x-dev 2007/09/17 22:14:00 pyutaros $
+name = Family Tree
+description = Adds a family tree to your Drupal website using Drupal nodes and relational database.
diff -urN family/family.install drupal/modules/family/family.install
--- family/family.install	1969-12-31 18:00:00.000000000 -0600
+++ drupal/modules/family/family.install	2007-09-26 01:28:21.211247750 -0500
@@ -0,0 +1,80 @@
+<?php
+// $Id: family.install,v 1.3 2006/08/24 11:49:53 karens Exp $
+
+function family_install() {
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+/* ---------------------------------
+-- FACTS Table
+-- fid: fact id (incremental index)
+-- nid: node id. NULL if it is not a node
+-- fact_code: a code of 3-4 letters that define the fact type. It uses the standard GEDCOM tag types 
+--           (e.g. INDI, BIRT, NAME, SEX, PLAC). We might define more options for our needs.
+-- xref: XREF_ID record identifier from GEDCOM
+-- fact_value: The value of the fact, depend on fact_code. e.g. a name for NAME fact or a date for a date fact.
+-- gedcom_source: The GEDCOM source code that defines the fact, typically a single line.
+--
+-- RELATIONS Table
+-- rid: relation id (incremental index)
+-- fid1, fid2: fact id's of the two facts
+-- relation_description: the relation of fid1 to fid2
+-- gedcom_source: The GEDCOM source code that defines the relation, typically a single line.
+--                Used only for a code that only defines a relation, such as CHIL,WIFE,HUSB.
+--                Otherwise the source code is included in the fact record.
+-- --------------------------------- */
+      db_query("
+	CREATE TABLE {family_facts} (
+	    fid INT(10) UNSIGNED NOT NULL PRIMARY KEY,
+	    nid INT(10) UNSIGNED,
+	    fact_code varchar(4),
+	    xref varchar(20),
+	    fact_value varchar(255),
+	    gedcom_source TEXT
+	) TYPE = MyISAM;
+      ");
+      db_query("
+	CREATE TABLE {family_relations} (
+	    rid INT(10) UNSIGNED PRIMARY KEY,
+	    fid1 INT(10) UNSIGNED NOT NULL,
+	    fid2 INT(10) UNSIGNED NOT NULL,
+	    relation_description TEXT,
+	    gedcom_source TEXT,
+	    FOREIGN KEY (fid1) REFERENCES facts(fid),
+	    FOREIGN KEY (fid2) REFERENCES facts(fid)
+	) TYPE = MyISAM
+      ");
+      break;
+    case 'pgsql':
+      db_query("
+	CREATE TABLE {family_facts} (
+	    fid INT(10) UNSIGNED NOT NULL PRIMARY KEY,
+	    nid INT(10) UNSIGNED,
+	    fact_code varchar(4),
+	    xref varchar(20),
+	    fact_value varchar(255),
+	    gedcom_source TEXT
+	)
+      ");
+      db_query("
+	CREATE TABLE {family_relations} (
+	    rid INT(10) UNSIGNED PRIMARY KEY,
+	    fid1 INT(10) UNSIGNED NOT NULL,
+	    fid2 INT(10) UNSIGNED NOT NULL,
+	    relation_description TEXT,
+	    gedcom_source TEXT,
+	    FOREIGN KEY (fid1) REFERENCES facts(fid),
+	    FOREIGN KEY (fid2) REFERENCES facts(fid)
+	)
+      ");
+      break;
+  }
+}
+
+function family_uninstall() {
+    db_query('DROP TABLE {family_relations}');
+    db_query('DROP TABLE {family_facts}');
+    db_query("DELETE FROM {variable} WHERE name LIKE 'family_%'");
+}
+
+
diff -urN family/family.module drupal/modules/family/family.module
--- family/family.module	2006-04-30 20:04:29.000000000 -0500
+++ drupal/modules/family/family.module	2007-09-26 12:35:27.721092750 -0500
@@ -83,11 +83,13 @@
   return array(
     'family_location' => array(
       'name' => t('Family: location'),
-      'base' => 'family_location'
+      'module' => 'family_location',
+      'description' => t('A geneological location.')
     ),
     'family_individual' => array(
       'name' => t('Family: individual'),
-      'base' => 'family_individual'
+      'module' => 'family_individual',
+      'description' => t('A node representing a person.')
     ),
   );
 }
diff -urN family/family.mysql drupal/modules/family/family.mysql
--- family/family.mysql	2006-04-30 19:59:21.000000000 -0500
+++ drupal/modules/family/family.mysql	1969-12-31 18:00:00.000000000 -0600
@@ -1,54 +0,0 @@
--- MySQL Schema for the Drupal module 'Family'.
--- By Amnon Jonas 3-Dec-2005
--- This is a simple database format that uses only two tables.
--- The facts table defines all the data, a record for each piece, e.g. individual, family, birth event, a date or a place.
--- The relations ties between the facts, e.g. between a child and his family or between an event to its date.
--- Every fact may be a node. It is done by including a non-null nid (node id).
--- Most GEDCOM lines are represented by a single fact records that is tied to his parent using a relations record
--- Some GEDCOM lines like CHIL, HUSB or WIFE define additional relations and don't add a fact record.
--- Relations to external nodes will be defined using clipper module
-
-DROP TABLE IF EXISTS family_relations;
-DROP TABLE IF EXISTS family_facts;
-
--- ---------------------------------
--- FACTS Table
--- fid: fact id (incremental index)
--- nid: node id. NULL if it is not a node
--- fact_code: a code of 3-4 letters that define the fact type. It uses the standard GEDCOM tag types 
---           (e.g. INDI, BIRT, NAME, SEX, PLAC). We might define more options for our needs.
--- xref: XREF_ID record identifier from GEDCOM
--- fact_value: The value of the fact, depend on fact_code. e.g. a name for NAME fact or a date for a date fact.
--- gedcom_source: The GEDCOM source code that defines the fact, typically a single line.
--- ---------------------------------
-CREATE TABLE family_facts (
-    fid INT(10) UNSIGNED NOT NULL PRIMARY KEY,
-    nid INT(10) UNSIGNED,
-    fact_code varchar(4),
-    xref varchar(20),
-    valuefact_value varchar(255),
-    gedcom_source TEXT
-) TYPE = MyISAM;
-
--- -------------------------------------------------------------------------- --
--- ---------------------------------
--- RELATIONS Table
--- rid: relation id (incremental index)
--- fid1, fid2: fact id's of the two facts
--- relation_description: the relation of fid1 to fid2
--- gedcom_source: The GEDCOM source code that defines the relation, typically a single line.
---                Used only for a code that only defines a relation, such as CHIL,WIFE,HUSB.
---                Otherwise the source code is included in the fact record.
--- ---------------------------------
---
-CREATE TABLE family_relations (
-    rid INT(10) UNSIGNED PRIMARY KEY,
-    fid1 INT(10) UNSIGNED NOT NULL,
-    fid2 INT(10) UNSIGNED NOT NULL,
-    relation_description TEXT,
-    gedcom_source TEXT,
-    FOREIGN KEY (fid1) REFERENCES facts(fid),
-    FOREIGN KEY (fid2) REFERENCES facts(fid)
-) TYPE = MyISAM;
--- -------------------------------------------------------------------------- --
-
diff -urN family/import.inc drupal/modules/family/import.inc
--- family/import.inc	2006-04-30 19:59:21.000000000 -0500
+++ drupal/modules/family/import.inc	2007-09-26 02:05:43.180531500 -0500
@@ -31,8 +31,9 @@
   $gedcom_hier=array();   // References to GEDCOM parents on each level
 //Empty current content. This is useful for debugging, but more caution should be
 //done before deleting database in the working version
-  db_query("TRUNCATE family_facts");
-  db_query("TRUNCATE family_relations");
+  db_query("TRUNCATE {family_facts}");
+  db_query("TRUNCATE {family_relations}");
+  // XXX Also delete nodes referenced by family_facts? -- PF
 
   while (!feof ($fp)) {
     $gedline = fgets( $fp, 1024 );
@@ -88,13 +89,10 @@
           }
           unset($node);
         }
-        else {
 
-// Add fact that is not a node
-          db_query("INSERT INTO {family_facts} (fid, nid, xref, fact_code, fact_value,
-                         gedcom_source) VALUES (%d, %d, '%s', '%s', '%s', '%s')", $fid,
-                        $nid, $xref,$fact_code,$value,$gedcom_source);
-        }
+        db_query("INSERT INTO {family_facts} (fid, nid, xref, fact_code, fact_value, gedcom_source)
+	          VALUES (%d, %d, '%s', '%s', '%s', '%s')",
+		  $fid, $nid, $xref,$fact_code,$value,$gedcom_source);
         $gedcom_hier[$level] = $fid;
         $gedcom_source=null; // If the source is in fact table, no need to put it again in relation table
       }
@@ -109,7 +107,7 @@
   }
   fclose ($fp);
   //Clean it all up
-  $fids = db_query("SELECT fid FROM family_facts WHERE fact_code = 'INDI'");
+  $fids = db_query("SELECT fid FROM {family_facts} WHERE fact_code = 'INDI'");
   while ($fid = db_fetch_array($fids)) {
     family_import_cleanup_indinode($fid['fid']);
   }
diff -urN family/individual.inc drupal/modules/family/individual.inc
--- family/individual.inc	2006-04-30 19:59:21.000000000 -0500
+++ drupal/modules/family/individual.inc	2007-09-26 13:09:23.535142500 -0500
@@ -16,7 +16,6 @@
  * Implementation of hook_form().
  */
 function family_individual_form(&$node) {
-
   $form['GIVN'] = array(
     '#type' => 'textfield',
     '#title' => t('Name'),
@@ -304,12 +303,25 @@
  * Implementation of hook_view().
  */
 function family_individual_view(&$node, $teaser = FALSE, $page = FALSE) {
+  error_log("foo");
   $node = node_prepare($node, $teaser);
 //  $fid = db_result(db_query("SELECT fid FROM {family_facts} WHERE nid= %d", $node->nid));
-  $node->body = family_view_indi($node->fid) . $node->body;
-  $node->teaser = family_view_indi($node->fid) . $node->teaser;
+//  $node->body = family_view_indi($node->fid) . $node->body;
+//  $node->teaser = family_view_indi($node->fid) . $node->teaser;
+  $node->content['family_individual_view'] = array(
+      '#value' => theme($teaser? 'family_individual_teaser':'family_individual_body', $node),
+      '#weight' => 0,
+  );
+
+  return $node;
 }
  
+function theme_family_individual_teaser($node) {
+  return family_view_indi($node->fid);
+}
+function theme_family_individual_body($node) {
+  return family_view_indi($node->fid);
+}
 /**
  * Implementation of hook_delete().
  */
diff -urN family/view.inc drupal/modules/family/view.inc
--- family/view.inc	2006-04-30 19:59:21.000000000 -0500
+++ drupal/modules/family/view.inc	2007-09-26 01:39:52.162895500 -0500
@@ -1,7 +1,7 @@
 <?php
 // $Id: view.inc,v 1.3 2006/05/01 00:59:21 amnonj Exp $
 function family_make_link($fid, $text) {
-  $nid = db_result(db_query("SELECT nid FROM family_facts WHERE fid = %d", $fid));
+  $nid = db_result(db_query("SELECT nid FROM {family_facts} WHERE fid = %d", $fid));
   $output = "<a href=\"/node/".$nid."\">";
   $output .= $text;
   $output .= "</a>";
