Changeset 19180
- Timestamp:
- Nov 26, 2012, 5:26:53 PM (11 years ago)
- Location:
- extensions/ContactForm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/contact_form.inc.php
r18331 r19180 20 20 'subject' => trim($_POST['subject']), 21 21 'content' => $_POST['content'], 22 'send_copy' => isset($_POST['send_copy']), 22 23 ); 23 24 -
extensions/ContactForm/include/functions.inc.php
r18814 r19180 274 274 $args 275 275 ); 276 277 if ( $comm['send_copy'] and !empty($comm['email']) ) 278 { 279 trigger_event('send_mail', 280 false, /* Result */ 281 trigger_event('send_mail_to', $args['from']), 282 trigger_event('send_mail_subject', $subject), 283 trigger_event('send_mail_content', $content), 284 trigger_event('send_mail_headers', $headers), 285 $args 286 ); 287 } 276 288 277 289 unset_make_full_url(); -
extensions/ContactForm/language/en_UK/plugin.lang.php
r19119 r19180 58 58 $lang['Each category is displayed as a distinct "service" on the contact form (example: "Technical", "Commercial", "General question"). Using categories is not mandatory.'] = 'Each category is displayed as a distinct "service" on the contact form (example: "Technical", "Commercial", "General question"). Using categories is not mandatory.'; 59 59 $lang['Send'] = 'Send'; 60 $lang['Send copy to my email'] = 'Send copy to my email'; 60 61 61 62 ?> -
extensions/ContactForm/language/fr_FR/plugin.lang.php
r19119 r19180 59 59 $lang['Each category is displayed as a distinct "service" on the contact form (example: "Technical", "Commercial", "General question"). Using categories is not mandatory.'] = 'Chaque catégorie est affichée comme un "service" distinct sur la page de contact (exemple: "Technique", "Commercial", "Question générale"). Utiliser les catégories n\'est pas obligatoire.'; 60 60 $lang['Send'] = 'Envoyer'; 61 $lang['Send copy to my email'] = 'Envoyer une copie à mon email'; 61 62 62 63 ?> -
extensions/ContactForm/template/contact_form.tpl
r18814 r19180 54 54 55 55 <div class="contact"> 56 <form method="post" action="{$F_ACTION}" class="filter">56 <form method="post" action="{$F_ACTION}"> 57 57 <table> 58 58 <tr> … … 99 99 <tr> 100 100 <td class="title"> </td> 101 <td><input class="submit" type="submit" name="send_mail" value="{'Send'|@translate}"></td> 101 <td> 102 <input class="submit" type="submit" name="send_mail" value="{'Send'|@translate}"> 103 <label><input type="checkbox" name="send_copy"> {'Send copy to my email'|@translate}</label> 104 </td> 102 105 </tr> 103 106 </table> -
extensions/ContactForm/template/mail/content_html.tpl
r17662 r19180 19 19 <div id="the_content"> 20 20 <p> 21 {'Name'|@translate}:{$contact.author}<br>22 {'Email address'|@translate}:{$contact.email}21 <b>{'Name'|@translate}:</b> {$contact.author}<br> 22 <b>{'Email address'|@translate}:</b> {$contact.email} 23 23 {if $contact.show_ip}<br>{'IP: %s'|@translate|@sprintf:$contact.ip}{/if} 24 24 </p>
Note: See TracChangeset
for help on using the changeset viewer.