/[drupal]/contributions/modules/slider/slider.module
ViewVC logotype

Diff of /contributions/modules/slider/slider.module

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

revision 1.1.2.3, Wed Feb 25 11:45:28 2009 UTC revision 1.1.2.4, Thu Feb 26 09:24:06 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: slider.module,v 1.1.2.2 2008/12/16 15:37:35 marktheunissen Exp $  // $Id: slider.module,v 1.1.2.3 2009/02/25 11:45:28 marktheunissen Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 50  function slider_nodeapi(&$node, $op, $te Line 50  function slider_nodeapi(&$node, $op, $te
50      case 'view':      case 'view':
51        // check the node type        // check the node type
52        $slider_types = variable_get('slider_node_types', array());        $slider_types = variable_get('slider_node_types', array());
53        if (in_array($node->type, $slider_types)) {        if (in_array($node->type, $slider_types, TRUE)) {
54          // full node view, by itself on a page          // full node view, by itself on a page
55          if (!$teaser && $page) {          if (!$teaser && $page) {
56            // this is a slider node, so perform modifications!            // this is a slider node, so perform modifications!

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2