Changeset 28628 for extensions/ContactForm/include
- Timestamp:
- Jun 4, 2014, 1:13:05 PM (10 years ago)
- Location:
- extensions/ContactForm/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/contact_form.inc.php
r28458 r28628 99 99 $template->assign(array( 100 100 'contact' => $contact, 101 'ContactForm_before' => trigger_ event('render_contact_form', nl2br($conf['ContactForm_before'])),102 'ContactForm_after' => trigger_ event('render_contact_form', nl2br($conf['ContactForm_after'])),101 'ContactForm_before' => trigger_change('render_contact_form', nl2br($conf['ContactForm_before'])), 102 'ContactForm_after' => trigger_change('render_contact_form', nl2br($conf['ContactForm_after'])), 103 103 'KEY' => get_ephemeral_key(3), 104 104 'CONTACT_FORM_PATH' => CONTACT_FORM_PATH, -
extensions/ContactForm/include/functions.inc.php
r28458 r28628 233 233 234 234 // perform more spam check 235 $comment_action = trigger_ event('contact_form_check', $comment_action, $comm);235 $comment_action = trigger_change('contact_form_check', $comment_action, $comm); 236 236 237 237 // get admin emails … … 245 245 if ($comment_action == 'validate') 246 246 { 247 $comm['content'] = trigger_ event('render_contact_content', $comm['content']);247 $comm['content'] = trigger_change('render_contact_content', $comm['content']); 248 248 249 249 $prefix = str_replace('%gallery_title%', $conf['gallery_title'], $conf['ContactForm']['cf_subject_prefix']);
Note: See TracChangeset
for help on using the changeset viewer.