defaults.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. // Those default options are used ONLY on FIRST setup and on plugin updates but limited to
  3. // new options that may have been added between your and new version.
  4. //
  5. // This is the main language file, too, which is always loaded by Newsletter. Other language
  6. // files are loaded according the WPLANG constant defined in wp-config.php file. Those language
  7. // specific files are "merged" with this one and the language specific configuration
  8. // keys override the ones in this file.
  9. //
  10. // Language specific files only need to override configurations containing texts
  11. // langiage dependant.
  12. $options = array();
  13. $options['noconfirmation'] = 1;
  14. //$options['antiflood'] = 10;
  15. //$options['ip_blacklist'] = array();
  16. //$options['address_blacklist'] = array();
  17. //$options['domain_check'] = 0;
  18. //$options['akismet'] = 1;
  19. //$options['captcha'] = 1;
  20. $options['notify_email'] = get_option('admin_email');
  21. $options['multiple'] = 1;
  22. $options['notify'] = 0;
  23. $options['error_text'] = '<p>' . __('You cannot subscribe with the email address you entered, please contact the site administrator.', 'newsletter') . '</p>';
  24. //$options['already_confirmed_text'] = '<p>This email address is already subscribed, anyway a welcome email has been sent again. Thank you.</p>';
  25. // Subscription page introductory text (befor the subscription form)
  26. $options['subscription_text'] = "{subscription_form}";
  27. // Message show after a subbscription request has made.
  28. $options['confirmation_text'] = '<p>' . __('A confirmation email is on the way. Follow the instructions and check the spam folder. Thank you.') . '</p>';
  29. // Confirmation email subject (double opt-in)
  30. $options['confirmation_subject'] = __("Please confirm your subscription", 'newsletter');
  31. $options['confirmation_tracking'] = '';
  32. // Confirmation email body (double opt-in)
  33. $options['confirmation_message'] = '<p>' . __('Please confirm your subscription <a href="{subscription_confirm_url}">clicking here</a>', 'newsletter') . '</p>';
  34. // Subscription confirmed text (after a user clicked the confirmation link
  35. // on the email he received
  36. $options['confirmed_text'] = '<p>' . __('Your subscription has been confirmed', 'newsletter') . '</p>';
  37. $options['confirmed_subject'] = __('Welcome', 'newsletter');
  38. $options['confirmed_message'] =
  39. "<p>" . __('This message confirms your subscription to our newsletter. Thank you!', 'newsletter') . '</p>' .
  40. '<hr>' .
  41. '<p><a href="{profile_url}">' . __('Change your profile', 'newsletter') . '</p>';
  42. $options['confirmed_tracking'] = '';