| 1 |
<?php |
<?php |
| 2 |
/* $Id: wishlist.module,v 1.44 2008/01/26 23:01:53 smclewin Exp $ */ |
/* $Id: wishlist.module,v 1.45 2008/01/26 23:05:37 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 |
| 991 |
|| _wishlist_hide_purchase_info($node)) { |
|| _wishlist_hide_purchase_info($node)) { |
| 992 |
$output .= _wishlist_url($url, 30); |
$output .= _wishlist_url($url, 30); |
| 993 |
} else { |
} else { |
| 994 |
|
$linkattributes = array(); |
| 995 |
if(variable_get("wishlist_url_in_new_window", FALSE)) { |
if(variable_get("wishlist_url_in_new_window", FALSE)) { |
| 996 |
$url_link_target["target"] = "_wishlist_url_window"; |
$linkattributes = array('attributes' => array('target' => '_wishlist_url_window')); |
| 997 |
} |
} |
| 998 |
$output .= t("See")." ".l(_wishlist_url($url, 50), $url, array('attributes' => array('target' => $url_link_target))); |
$output .= t("See")." ".l(_wishlist_url($url, 50), $url, $linkattributes); |
| 999 |
} |
} |
| 1000 |
|
|
| 1001 |
if(_wishlist_hide_purchase_info($node)) { |
if(_wishlist_hide_purchase_info($node)) { |