Add newsletter checkbox in Contact Plugin Add newsletter checkbox in Contact Plugin
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add newsletter checkbox in Contact Plugin

Started by parti02, December 11, 2006, 11:59:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

parti02

Hi,
i have add a newsletter checkbox in the contact.php

       
<tr>
         <td colspan="2" class="tableb" valign="top" align="center">
            <input type="checkbox" name="newsletter" id="newsletter" class="checkbox" /><label for="newsletter" class="clickable_option"> Yes, i want to get a newsletter.</label>
         </td>
</tr>
<tr>
<td colspan="2" class="tableb" valign="top" align="center"><b> <?php echo $lang_plugin_contact['spam_question'];?></b></td>
</tr>


If the checkbox is checked, i want to add a little text on the end of the email message. For example "send newsletter".
How can i make it?

Parti