forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: parti02 on December 11, 2006, 11:59:30 am

Title: Add newsletter checkbox in Contact Plugin
Post by: parti02 on December 11, 2006, 11:59:30 am
Hi,
i have add a newsletter checkbox in the contact.php

Code: [Select]
       
<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