Projet

Général

Profil

Révision 7547bb19

Ajouté par Assos Assos il y a environ 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">' . _bootstrap_filter_xss($status_heading[$type]) . "</h4>\n";
63
      $output .= '<h4 class="element-invisible">' . filter_xss_admin($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>' . _bootstrap_filter_xss($message) . "</li>\n";
69
        $output .= '  <li>' . filter_xss_admin($message) . "</li>\n";
70 70
      }
71 71
      $output .= " </ul>\n";
72 72
    }
73 73
    else {
74
      $output .= _bootstrap_filter_xss($messages[0]);
74
      $output .= filter_xss_admin($messages[0]);
75 75
    }
76 76

  
77 77
    $output .= "</div>\n";

Formats disponibles : Unified diff