/[drupal]/contributions/modules/views/modules/views_node.inc
ViewVC logotype

Diff of /contributions/modules/views/modules/views_node.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.30.2.19 by merlinofchaos, Sat Jul 14 19:30:51 2007 UTC revision 1.30.2.20 by merlinofchaos, Mon Jan 21 18:45:12 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: views_node.inc,v 1.30.2.18 2007/07/14 19:07:03 merlinofchaos Exp $  // $Id: views_node.inc,v 1.30.2.19 2007/07/14 19:30:51 merlinofchaos Exp $
3    
4  /**  /**
5   * This include file implements views functionality on behalf of node.module   * This include file implements views functionality on behalf of node.module
# Line 460  function views_handler_field_body($field Line 460  function views_handler_field_body($field
460    }    }
461    // Allow modules to change $node->body before viewing.    // Allow modules to change $node->body before viewing.
462    node_invoke_nodeapi($node, 'view', $teaser, TRUE);    node_invoke_nodeapi($node, 'view', $teaser, TRUE);
463    
464    // Set the proper node part, then unset unused $node part so that a bad    // Set the proper node part, then unset unused $node part so that a bad
465    // theme can not open a security hole.    // theme can not open a security hole.
466    $content = drupal_render($node->content);    $content = drupal_render($node->content);
# Line 831  function views_post_view_make_url($view, Line 831  function views_post_view_make_url($view,
831        }        }
832      }      }
833    }    }
834    
835    return views_get_url($view, $args);    return views_get_url($view, $args);
836  }  }
837    
# Line 851  function views_post_view_make_args($view Line 851  function views_post_view_make_args($view
851          $args[] = $arg;          $args[] = $arg;
852        }        }
853        else if ($argdata['argdefault'] != 1) {        else if ($argdata['argdefault'] != 1) {
854          $args[] = '*';          $args[] = $argdata['wildcard'];
855        }        }
856      }      }
857    }    }
858    
859    return $args;    return $args;
860  }  }
861    

Legend:
Removed from v.1.30.2.19  
changed lines
  Added in v.1.30.2.20

  ViewVC Help
Powered by ViewVC 1.1.3