Index: mailsave.module =================================================================== RCS file: /cvs/drupal/contributions/modules/mailsave/mailsave.module,v retrieving revision 1.14.2.1 diff -u -p -r1.14.2.1 mailsave.module --- mailsave.module 12 Jul 2008 22:11:54 -0000 1.14.2.1 +++ mailsave.module 5 Aug 2008 03:28:53 -0000 @@ -22,13 +22,13 @@ function mailsave_help($path, $arg) { case 'admin/help#mailsave': - $output .= '
' . t('mailsave works with mailhandler to detach files from incoming emails and attach them to the resulting nodes.') . '
'; + $output = '' . t('mailsave works with mailhandler to detach files from incoming emails and attach them to the resulting nodes.') . '
'; $output .= '' . t('If upload is installed you can allow users to submit files by email if they have both save attachments and upload files permissions.') . '
'; $output .= '' . t('You can enable other modules, such as mailsave to image, to extend the functions of mailsave. For example, having messages with jpeg attachments automatically turned in to image nodes.') . '
'; return $output; case 'admin/settings/mailsave': - $output .= '' . t('This page shows all the cleanup plug-ins that are available to mailhandler to carry out pre-processing of messages prior to saving them. These plug-ins are generally of most help when receiving messages that are submitted via a mobile phone multimedia messaging service (MMS) gateway.') . '
'; + $output = '' . t('This page shows all the cleanup plug-ins that are available to mailhandler to carry out pre-processing of messages prior to saving them. These plug-ins are generally of most help when receiving messages that are submitted via a mobile phone multimedia messaging service (MMS) gateway.') . '
'; $output .= '' . t('If additional modules have been installed that also provide clean up functions then these will not appear in this list. These modules must be enabled separately using the site\'s !admin.', array('!admin' => l(t('module adminstration page'), 'admin/build'))) . '
'; return $output; } @@ -192,11 +192,11 @@ function mailsave_menu() { $items = array(); $items['admin/settings/mailsave'] = array( - 'title' => t('Mailsave'), - 'description' => t('Choose which e-mail and MMS clean up filters to apply to incoming messages.'), + 'title' => 'Mailsave', + 'description' => 'Choose which e-mail and MMS clean up filters to apply to incoming messages.', 'page callback' => 'drupal_get_form', 'page arguments' => array('mailsave_admin_settings'), - 'access' => user_access('administer mailsave'), + 'access arguments' => array('administer mailsave'), ); return $items;