/[drupal]/contributions/modules/lightbox2/lightbox2.formatter.inc
ViewVC logotype

Diff of /contributions/modules/lightbox2/lightbox2.formatter.inc

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

revision 1.1.2.18, Sun Jun 7 11:28:20 2009 UTC revision 1.1.2.19, Sun Sep 13 22:25:37 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: lightbox2.formatter.inc,v 1.1.2.17 2009/06/07 10:12:44 snpower Exp $  // $Id: lightbox2.formatter.inc,v 1.1.2.18 2009/06/07 11:28:20 snpower Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 184  function theme_imagefield_image_imagecac Line 184  function theme_imagefield_image_imagecac
184      }      }
185      $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original'));      $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original'));
186      if (!empty($download_link_text) && user_access('download original image')) {      if (!empty($download_link_text) && user_access('download original image')) {
187        $node_links[] = l($download_link_text, $item['filepath'], array('attributes' => array('target' => '_blank', 'id' => 'download_link_text')));        $node_links[] = l($download_link_text, file_create_url($item['filepath']), array('attributes' => array('target' => '_blank', 'id' => 'download_link_text')));
188      }      }
189    }    }
190    

Legend:
Removed from v.1.1.2.18  
changed lines
  Added in v.1.1.2.19

  ViewVC Help
Powered by ViewVC 1.1.2