Changeset 18315


Ignore:
Timestamp:
09/27/12 20:44:55 (7 years ago)
Author:
mistic100
Message:

add nl2br to personal texts

Location:
extensions/ContactForm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/contact_form.inc.php

    r17945 r18315  
    8989$template->assign(array( 
    9090  'contact' => $contact, 
    91   'ContactForm_before' => trigger_event('render_contact_form', $conf['ContactForm_before']), 
    92   'ContactForm_after' => trigger_event('render_contact_form', $conf['ContactForm_after']), 
     91  'ContactForm_before' => trigger_event('render_contact_form', nl2br($conf['ContactForm_before'])), 
     92  'ContactForm_after' => trigger_event('render_contact_form', nl2br($conf['ContactForm_after'])), 
    9393  'KEY' => get_ephemeral_key(3), 
    9494  'CONTACT_FORM_PATH' => CONTACT_FORM_PATH, 
  • extensions/ContactForm/main.inc.php

    r17945 r18315  
    1818define('CONTACT_FORM_PUBLIC',  get_absolute_root_url() . make_index_url(array('section' => 'contact')) . '/'); 
    1919define('CONTACT_FORM_TABLE',   $prefixeTable .'contact_form'); 
    20 define('CONTACT_FORM_VERSION', '2.5.0'); 
     20define('CONTACT_FORM_VERSION', 'auto'); 
    2121 
    2222 
Note: See TracChangeset for help on using the changeset viewer.