Commit e7084012 authored by Nancy Wichmann's avatar Nancy Wichmann
Browse files

Fix annoying lower casing by menu module.

parent 249f2b8d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ function mail_logger_permission() {
function mail_logger_menu() {
  $items = array();
  $items['admin/reports/mail-logger'] = array(
    'title'             => 'Outgoing Mail log',
    'title'             => 'Outgoing Mail Log',
    'description'       => 'View Mails that have been sent from this site.',
    'page callback'     => 'mail_logger_overview',
    'access arguments'  => array('access mail logger'),
@@ -46,7 +46,7 @@ function mail_logger_menu() {
  );

  $items['admin/reports/mail-logger/mail/%'] = array(
    'title'             => 'Outgoing Mail log entries',
    'title'             => 'Outgoing Mail Log Entry',
    'description'       => 'View information about a single logged mail entry',
    'page callback'     => 'mail_logger_read_mail',
    'page arguments'    => array(4),
+3 −0
Original line number Diff line number Diff line
@@ -13,6 +13,9 @@ function mail_logger_overview() {
  $output = drupal_render($form);
  $date_format = variable_get('mail_logger_log_date_format', 'short');

  // Fix the annoying lower casing by the menu module.
  drupal_set_title(t('Outgoing Mail Log'));

  $table = array(
    'header' => array(
      array('data' => t('Date Sent'), 'field' => 'date_sent', 'sort' => 'desc'),