summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_ipsec_leases.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_ipsec_leases.php')
-rw-r--r--src/usr/local/www/status_ipsec_leases.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/local/www/status_ipsec_leases.php b/src/usr/local/www/status_ipsec_leases.php
index 7fee324..fea56a5 100644
--- a/src/usr/local/www/status_ipsec_leases.php
+++ b/src/usr/local/www/status_ipsec_leases.php
@@ -141,8 +141,7 @@ if (isset($mobile['pool']) && is_array($mobile['pool'])) {
<?php
}
- }
- else {
+ } else {
?>
<td colspan="3" class="warning"><?=gettext('No leases from this pool yet.')?></td>
</tr>
@@ -154,9 +153,9 @@ if (isset($mobile['pool']) && is_array($mobile['pool'])) {
</table>
</div>
<?php
-}
-else
+} else {
print_info_box(gettext('No IPsec pools.'));
+}
print_info_box(gettext('You can configure your IPsec subsystem by clicking ') . '<a href="vpn_ipsec.php">' . gettext("here.") . '</a>');
OpenPOWER on IntegriCloud