Unverified Commit 53833d79 authored by Parker Brown's avatar Parker Brown
Browse files

Remove html tag from t() string

parent 2afb30ce
Loading
Loading
Loading
Loading
+11 −13
Changes for email_domain_validate_mxr.module: 11 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -412,11 +412,9 @@ function email_domain_validate_mxr_cached_table() {
  $cached_domains = email_domain_validate_mxr_get_cached_allowed_domains();
  $rows = array();

  $table_title = t('!label_openCached Domains!label_close',
    array(
      '!label_open' => '<label for="cached-domains-table">',
      '!label_close' => '</label>',
    ));
  $table_title = '<label for="cached-domains-table">';
  $table_title .= t('Cached Domains');
  $table_title .= '</label>';

  foreach ($cached_domains as $domain) {
    $rows[] = array(
@@ -435,14 +433,14 @@ function email_domain_validate_mxr_cached_table() {
      )
    ) . '</div>';

  $description = t('!description_openAll emails shown have passed the mail exchange record check.
  !line_breakThey have been cached to reduce record checking overhead.
  !line_breakThis cache can be cleared on the configure page.!description_close!line_break',
    array(
      '!description_open' => '<div class="description">',
      '!description_close' => '</div>',
      '!line_break' => '<br>',
    ));
  $description = '<div class="description">';
  $description .= t('All emails shown have passed the mail exchange record check.');
  $description .= '<br>';
  $description .= t('They have been cached to reduce record checking overhead.');
  $description .= '<br>';
  $description .= t('This cache can be cleared on the configure page.');
  $description .= '</div><br>';

  return $table_title . $description . $table;
}