Changeset 25872 for extensions/ContactForm/include/contact_form.inc.php
- Timestamp:
- Dec 9, 2013, 5:34:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/contact_form.inc.php
r23207 r25872 4 4 global $template, $user, $conf, $page, $pwg_loaded_plugins; 5 5 6 if ( (!is_classic_user() and !$conf['ContactForm']['cf_allow_guest']) or !$conf['ContactForm ']['cf_ready'] )6 if ( (!is_classic_user() and !$conf['ContactForm']['cf_allow_guest']) or !$conf['ContactForm_ready'] ) 7 7 { 8 8 redirect(get_absolute_root_url()); … … 22 22 'send_copy' => isset($_POST['send_copy']), 23 23 ); 24 24 25 25 $comment_action = send_contact_form($contact, @$_POST['key']); 26 26 … … 105 105 )); 106 106 107 $template->set_filename('index', realpath(CONTACT_FORM_PATH . 'template/contact_form.tpl')); 108 109 ?> 107 $template->set_filename('contactform', realpath(CONTACT_FORM_PATH . 'template/contact_form.tpl')); 108 $template->assign_var_from_handle('CONTENT', 'contactform');
Note: See TracChangeset
for help on using the changeset viewer.