diff --git a/CHANGELOG.txt b/CHANGELOG.txt index aba171883d6c2a442b974fda9fbcb7ae489b08b5..186bc4405b2224eeeece3f586b90fbd8046edd2d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,22 @@ +February 5, 2009 + Update changelog + Add warning for incompatible mimemail settings + Fix for #364535: add some warnings about incompatibility of custom strings and the localization mechanism + Add explanation of the relation between the type- and node-specific print settings + Updated all translations (Dutch 100% thanks to joostvdl) +February 2, 2009 + Fix #365041: node-specific settings not initialized when adding new content + Fix #364535: move custom text strings to separate form to prevent conflicts with the translation mechanism + Fix #366835: support RTL languages in TCPDF generated PDFs +January 27, 2009 + by Zoltan Balogh: Updated Hungarian translation +January 21, 2009 + Updated french translation by remi + Coder fixes + Fix #361107: Ensure that per-node configurations are available for block view use + Revert #349991 until the cause of #359343 can be determined January 14, 2009 + Add configuration for a default sender message Update changelog Fix #349991 by moshe weitzman: Use node build_mode instead of custom property for customizing node fields Fix #351043: Add specific permission to edit the node-specific settings diff --git a/print_mail/print_mail.module b/print_mail/print_mail.module index 62a8380d9b67d95ac79e480518537c858025d48c..612d9bae78ec11b7559b456ed8219d20828579e7 100644 --- a/print_mail/print_mail.module +++ b/print_mail/print_mail.module @@ -79,6 +79,27 @@ function print_mail_menu() { return $items; } +/** + * Implementation of hook_requirements(). + */ +function print_mail_requirements($phase) { + $requirements = array(); + $t = get_t(); + switch ($phase) { + case 'runtime': + if (module_exists('mimemail') && variable_get('mimemail_alter', 0) && (variable_get('mimemail_format', FILTER_FORMAT_DEFAULT) != '3')) { + $requirements['print_mail_mimemail'] = array( + 'title' => $t('Send by e-mail'), + 'value' => l($t('Mime Mail configuration'), 'admin/settings/mimemail'), + 'description' => $t("The current configuration of the Mime Mail module creates problems with the 'Send to Friend' function. Please set Mime Mail's input format to 'PHP code' to avoid them."), + 'severity' => REQUIREMENT_WARNING, + ); + } + break; + } + return $requirements; +} + /** * Implementation of hook_block(). */