Revision 1f623f01
Added by Assos Assos almost 8 years ago
drupal7/sites/all/themes/bootstrap/templates/system/status-messages.func.php | ||
---|---|---|
60 | 60 |
$output .= " <a class=\"close\" data-dismiss=\"alert\" href=\"#\">×</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 |
} |
Also available in: Unified diff
Weekly update of contrib modules