Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Add newsletter checkbox in Contact Plugin  (Read 6007 times)

0 Members and 1 Guest are viewing this topic.

parti02

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Add newsletter checkbox in Contact Plugin
« 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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.