/[drupal]/contributions/modules/image/contrib/image_attach/image_attach_views_handler_field_attached_images.inc
ViewVC logotype

Diff of /contributions/modules/image/contrib/image_attach/image_attach_views_handler_field_attached_images.inc

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

revision 1.3, Sat Oct 3 07:39:08 2009 UTC revision 1.4, Fri Nov 6 17:05:20 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image_attach_views_handler_field_attached_images.inc,v 1.2 2009/09/05 15:33:18 joachim Exp $  // $Id: image_attach_views_handler_field_attached_images.inc,v 1.3 2009/10/03 07:39:08 joachim Exp $
3    
4  /**  /**
5   * Field handler to display the attached images on a node.   * Field handler to display the attached images on a node.
# Line 108  class image_attach_views_handler_field_a Line 108  class image_attach_views_handler_field_a
108    
109          switch($this->options['as_link']) {          switch($this->options['as_link']) {
110            case 'node':            case 'node':
111              $output .= l($image_img, 'node/' . $values->{$this->aliases['nid']}, array('html' => true));              $output = l($image_img, 'node/' . $values->{$this->aliases['nid']}, array('html' => true));
112              break;              break;
113            case 'image':            case 'image':
114              $output .= l($image_img, 'node/' . $node->nid, array('html' => true));              $output = l($image_img, 'node/' . $node->nid, array('html' => true));
115              break;              break;
116            default:            default:
117              $output .= $image_img;              $output = $image_img;
118              break;              break;
119          }          }
120        }        }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2