Changeset 20795


Ignore:
Timestamp:
02/17/13 12:47:51 (7 years ago)
Author:
mistic100
Message:

add trigger for content render

File:
1 edited

Legend:

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

    r20441 r20795  
    1313    $page['section'] = 'contact'; 
    1414    $page['title'] = $page['section_title'] = '<a href="'.get_absolute_root_url().'">'.l10n('Home').'</a>'.$conf['level_separator'].'<a href="'.CONTACT_FORM_PUBLIC.'">'.l10n('Contact').'</a>'; 
    15      
     15    $page['is_homepage'] = false; 
    1616  } 
    1717} 
     
    223223     
    224224    // format content 
     225    $comm['content'] = trigger_event('render_contact_content', $comm['content']); 
    225226    if ($conf['ContactForm']['cf_mail_type'] == 'text/html') 
    226227    { 
Note: See TracChangeset for help on using the changeset viewer.