Changeset 23375 for extensions/ContactForm
- Timestamp:
- Jun 19, 2013, 10:25:22 PM (11 years ago)
- Location:
- extensions/ContactForm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/admin/config.php
r23208 r23375 5 5 if (isset($_POST['save_config'])) 6 6 { 7 $was_ready = $conf['ContactForm']['cf_ready']; 8 7 9 $conf['ContactForm'] = array( 8 10 'cf_must_initialize' => false, … … 16 18 'cf_redirect_url' => ($_POST['cf_redirect_url']!='http://') ? $_POST['cf_redirect_url'] : null, 17 19 'cf_theme' => $_POST['cf_theme'], 18 'cf_ready' => $conf['ContactForm']['cf_ready'],19 20 ); 20 21 $conf['ContactForm_before'] = $_POST['cf_before']; … … 24 25 conf_update_param('ContactForm_before', $conf['ContactForm_before']); 25 26 conf_update_param('ContactForm_after', $conf['ContactForm_after']); 27 28 $conf['ContactForm']['cf_ready'] = $was_ready; 26 29 27 30 array_push($page['infos'], l10n('Information data registered in database')); -
extensions/ContactForm/include/functions.inc.php
r23207 r23375 66 66 { 67 67 global $conf; 68 if ( ! $conf['ContactForm']['cf_ready'] ) return $content;68 if ( !@$conf['ContactForm']['cf_ready'] ) return $content; 69 69 70 70 $search = '<a href="mailto:{$CONTACT_MAIL}?subject={\'A comment on your site\'|@translate|@escape:url}">'; -
extensions/ContactForm/main.inc.php
r23207 r23375 4 4 Version: auto 5 5 Description: Add a "Contact" item in the Menu block to offer a contact form to users 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=3046 Plugin URI: auto 7 7 Author: Piwigo Team 8 8 Author URI: http://piwigo.org
Note: See TracChangeset
for help on using the changeset viewer.