/[drupal]/contributions/modules/wishlist/wishlist.page.inc
ViewVC logotype

Diff of /contributions/modules/wishlist/wishlist.page.inc

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

revision 1.1, Sun Nov 25 03:34:04 2007 UTC revision 1.1.2.1, Sat Mar 1 06:11:16 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  /* $Id:$ */  /* $Id: wishlist.page.inc,v 1.1 2007/11/25 03:34:04 smclewin Exp $ */
3  // Wishlist management module for Drupal  // Wishlist management module for Drupal
4  // Written by Scott McLewin and Melanie Paul-McLewin  // Written by Scott McLewin and Melanie Paul-McLewin
5  // drupal AT mclewin DOT com  // drupal AT mclewin DOT com
# Line 188  function _wishlist_fill_list_table_array Line 188  function _wishlist_fill_list_table_array
188           $body = $node->body;           $body = $node->body;
189        }        }
190        $body = check_markup($body, $node->format);        $body = check_markup($body, $node->format);
191    
192    
193        // If the module is configured to toss links open in new windows, then generate the appropriate attributes for the link        // If the module is configured to toss links open in new windows, then generate the appropriate attributes for the link
194          $linkattributes = array();
195        if(variable_get("wishlist_url_in_new_window", FALSE)) {        if(variable_get("wishlist_url_in_new_window", FALSE)) {
196          $url_link_target["target"] = "_wishlist_url_window";           $linkattributes = array('attributes' => array('target' => '_wishlist_url_window'));
197        }        }
198    
199    
# Line 204  function _wishlist_fill_list_table_array Line 206  function _wishlist_fill_list_table_array
206                || _wishlist_hide_purchase_info($node)) {                || _wishlist_hide_purchase_info($node)) {
207            $links = _wishlist_url($node->item_url1, 20) . "<BR>" . _wishlist_url($node->item_url2, 20);            $links = _wishlist_url($node->item_url1, 20) . "<BR>" . _wishlist_url($node->item_url2, 20);
208        } else {        } else {
209            $links = l(_wishlist_url($node->item_url1, 20), $node->item_url1, array('attributes' => array('target' => $url_link_target)))."<BR>".l(_wishlist_url($node->item_url2, 20), $node->item_url2, array('attributes' => array('target' => $url_link_target)));            $links = l(_wishlist_url($node->item_url1, 20), $node->item_url1, $linkattributes)."<BR>".l(_wishlist_url($node->item_url2, 20), $node->item_url2, $linkattributes);
210        }        }
211    
212        $rowdata = array();        $rowdata = array();

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2