New features patch

psynaptic - May 8, 2009 - 22:51
Project:Spread
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have made a few changes:

- Ability to choose destination for link (options are current page (default), front page or custom page.
- Added class to thank you message div to match theme status message (class="messages status").
- Ability to turn off JavaScript.
- Ability to modify thank you message.
- Name input field added. Can be used in the email as !name.
- Removed unnecessary calls to variable_set. Using system_settings_form is enough.
- Added spread_add_files() so files can be added via the theme layer. A static variable is used to ensure files are only added once.
- Added proper labels to the friend's email fields. This should be hidden using CSS on the theme layer if required.
- Changed the validation a bit.

Hope you like the changes.

AttachmentSize
spread-new_features.patch12.28 KB

#1

jchatard - May 11, 2009 - 07:10
Status:needs review» fixed

Ok, commited with a few changes.

Many thanks psynaptic!

#2

psynaptic - May 12, 2009 - 11:11

Awesome, thanks a lot!

Perfect timing on the CAPTCHA integration too! Just what we needed. :)

#3

System Message - May 26, 2009 - 11:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.