send mailkey to theme()

m3avrck - April 25, 2007 - 03:59
Project:Mime Mail
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

The theme function is SUPER useful, however, without the mailkey, it sometimes can be useless.

If this is a user-* email I might want to a one column layout, but if it's a og-* I might want 2 columns and throw in an ad or two.

Attached patch fixes that.

AttachmentSize
t_15.patch2.62 KB

#1

m3avrck - June 20, 2007 - 03:03

Updated patch... pass $mailkey AND $recipient to theme function, these are needed to do nifty and customized theming tricks :-)

AttachmentSize
ts_12.patch3.13 KB

#2

jerdavis - February 18, 2008 - 03:25
Version:5.x-1.x-dev» HEAD

Updated patch against current copy of HEAD and spot tested to verify things were still working

AttachmentSize
mimemail_mailkey.patch2.63 KB

#3

Allie Micka - February 19, 2008 - 03:07
Status:patch (reviewed & tested by the community)» fixed

Committed to HEAD.

Thanks a lot, Ted!

#4

Anonymous (not verified) - March 4, 2008 - 03:11
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.