Projet

Général

Profil

Révision 1f623f01

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/templates/system/status-messages.func.php
60 60
    $output .= "  <a class=\"close\" data-dismiss=\"alert\" href=\"#\">&times;</a>\n";
61 61

  
62 62
    if (!empty($status_heading[$type])) {
63
      $output .= '<h4 class="element-invisible">' . $status_heading[$type] . "</h4>\n";
63
      $output .= '<h4 class="element-invisible">' . _bootstrap_filter_xss($status_heading[$type]) . "</h4>\n";
64 64
    }
65 65

  
66 66
    if (count($messages) > 1) {
67 67
      $output .= " <ul>\n";
68 68
      foreach ($messages as $message) {
69
        $output .= '  <li>' . $message . "</li>\n";
69
        $output .= '  <li>' . _bootstrap_filter_xss($message) . "</li>\n";
70 70
      }
71 71
      $output .= " </ul>\n";
72 72
    }

Formats disponibles : Unified diff