Ignore:
Timestamp:
Aug 9, 2012, 3:31:15 PM (12 years ago)
Author:
mistic100
Message:
  • restaure contact link on footer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/main.inc.php

    r17483 r17491  
    2222{
    2323  add_event_handler('get_admin_plugin_menu_links', 'contact_form_admin_menu');
     24  define('CONTACT_FORM_PUBLIC', make_index_url(array('section' => 'contact')) . '/');
    2425}
    2526
     
    2930function contact_form_init()
    3031{
    31   global $conf;
     32  global $conf, $template;
    3233  $conf['ContactForm'] = unserialize($conf['ContactForm']);
    3334 
     
    3839    contact_form_initialize_emails();
    3940  }
     41 
     42  $template->set_prefilter('tail', 'contact_form_footer_link');
    4043}
    4144
Note: See TracChangeset for help on using the changeset viewer.