Advanced search  


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.

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Add newsletter checkbox in Contact Plugin
« on: December 11, 2006, 11:59:30 am »

i have add a newsletter checkbox in the contact.php

Code: [Select]
         <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 colspan="2" class="tableb" valign="top" align="center"><b> <?php echo $lang_plugin_contact['spam_question'];?></b></td>

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?

Pages: [1]   Go Up

Page created in 0.053 seconds with 20 queries.