Revision 076a82d1
Added by Sebastian Fiebig almost 6 years ago
src/usr/local/www/widgets/widgets/ipsec.widget.php | ||
---|---|---|
138 | 138 |
$data->tunnel .= "<td>" . $ipsec['remote-subnet'] . "<br />(" . htmlspecialchars($ipsec['dest']) . ")</td>"; |
139 | 139 |
$data->tunnel .= "<td>" . htmlspecialchars($ipsec['descr']) . "</td>"; |
140 | 140 |
if ($ipsec['status'] == "true") { |
141 |
$data->tunnel .= '<td><i class=\"fa fa-arrow-up text-success\"></i></td>';
|
|
141 |
$data->tunnel .= '<td><i class="fa fa-arrow-up text-success"></i></td>';
|
|
142 | 142 |
} else { |
143 |
$data->tunnel .= '<td><i class=\"fa fa-arrow-down text-danger\"></i></td>';
|
|
143 |
$data->tunnel .= '<td><i class="fa fa-arrow-down text-danger"></i></td>';
|
|
144 | 144 |
} |
145 | 145 |
$data->tunnel .= "</tr>"; |
146 | 146 |
} |
Also available in: Unified diff
Removed escaping of CSS classes
(cherry picked from commit c8954c9f0957264a0287d3591b44fab5d52d0998)