Revision 7c945f74
Added by k-paulius over 9 years ago
src/etc/inc/gmirror.inc | ||
---|---|---|
93 | 93 |
$mirrors = gmirror_get_status(); |
94 | 94 |
$output = ""; |
95 | 95 |
if (count($mirrors) < 1) { |
96 |
?> |
|
97 |
<div class="alert alert-warning" role="alert"> |
|
98 |
<p>No Mirrors Found</p> |
|
99 |
</div> |
|
100 |
<?php |
|
96 |
print_info_box(gettext("No Mirrors Found"), 'warning', false); |
|
101 | 97 |
return; |
102 | 98 |
} |
103 | 99 |
|
Also available in: Unified diff
Use print_info_box() to generate alerts