Improved forward_link

benoit.borrel - November 3, 2009 - 12:15
Project:Forward
Version:6.x-1.9
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

The patch enclosed does 2 things in forward_link function:

1. Set the $links['forward_links']['attributes'] with the 'forward_page_title' variable instead of t('Forward this page to a friend').

2. Improve the link generation by initializing $links['forward_links']['query'] as an array instead of a simple string in order to ease post-processing. For example at template layer, one could use array functions (like array_merge in my situation) to alter the query part w/o bothering with '&' between URL parameters.

Thanks

AttachmentSize
forward_link.patch1.16 KB

#1

seanr - November 3, 2009 - 21:57
Status:active» fixed

Fixed, will be in the next release (later today).

#2

System Message - November 17, 2009 - 22:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.