summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2009-02-05 17:22:39 (GMT)
committer Joao Ventura2009-02-05 17:22:39 (GMT)
commitd92adc6a0ed0ddc31556a6da1262d776b32e9c9c (patch)
tree78bd8e770e50b420884ca47163067a95d0669184
parentdaf48ffae51411bed4139434b94afe5067c4f0ab (diff)
Update changelog6.x-1.2
Add warning for incompatible mimemail settings
-rw-r--r--CHANGELOG.txt18
-rw-r--r--print_mail/print_mail.module21
2 files changed, 39 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index aba1718..186bc44 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 62a8380..612d9ba 100644
--- a/print_mail/print_mail.module
+++ b/print_mail/print_mail.module
@@ -80,6 +80,27 @@ function print_mail_menu() {
}
/**
+ * 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().
*/
function print_mail_block($op = 'list', $delta = 0, $edit = array()) {