Changeset 23207 for extensions/ContactForm/include/functions.inc.php
- Timestamp:
- Jun 14, 2013, 3:10:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/functions.inc.php
r23206 r23207 48 48 if ( !$conf['ContactForm']['cf_menu_link'] ) return; 49 49 if ( !is_classic_user() and !$conf['ContactForm']['cf_allow_guest'] ) return; 50 if ( ! count(get_contact_emails())) return;50 if ( !$conf['ContactForm']['cf_ready'] ) return; 51 51 52 52 $menu = &$menu_ref_arr[0]; … … 65 65 function contact_form_footer_link($content, &$smarty) 66 66 { 67 global $conf; 68 if ( !$conf['ContactForm']['cf_ready'] ) return $content; 69 67 70 $search = '<a href="mailto:{$CONTACT_MAIL}?subject={\'A comment on your site\'|@translate|@escape:url}">'; 68 71 $replace = '<a href="'.CONTACT_FORM_PUBLIC.'">';
Note: See TracChangeset
for help on using the changeset viewer.