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

Diff of /contributions/modules/affiliates/affiliates.module

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

revision 1.1.4.5.2.11, Mon Feb 9 10:53:50 2009 UTC revision 1.1.4.5.2.12, Mon Feb 9 13:49:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: affiliates.module,v 1.1.4.5.2.10 2009/01/20 11:00:19 paulbooker Exp $  // $Id: affiliates.module,v 1.1.4.5.2.11 2009/02/09 10:53:50 paulbooker Exp $
3    
4  // Portions Copyright 2006 http://2bits.com  // Portions Copyright 2006 http://2bits.com
5  define ('AFFILIATE_BUTTONS_DIRECTORY_RELATIVE_FILES', '/affiliates');  define ('AFFILIATE_BUTTONS_DIRECTORY_RELATIVE_FILES', '/affiliates');
# Line 665  function affiliates_ad_button_list($cat_ Line 665  function affiliates_ad_button_list($cat_
665    
666    $result = pager_query($sql, 50);    $result = pager_query($sql, 50);
667    while ($data = db_fetch_object($result)) {    while ($data = db_fetch_object($result)) {
668            if (module_exists('lightbox2') && ($data->type == 'image')) {
669              $data->label = l($data->label, $data->anchor, array('attributes' => array('rel' => 'lightbox')));
670            }
671      $rows[] = array(      $rows[] = array(
672              array('data' => $data->ad_id),              array('data' => $data->ad_id),
673              array('data' => $data->label),              array('data' => $data->label),

Legend:
Removed from v.1.1.4.5.2.11  
changed lines
  Added in v.1.1.4.5.2.12

  ViewVC Help
Powered by ViewVC 1.1.2