From 15b6dcac6ae1697336a762b955cbde19d30047c4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 8 Mar 2016 11:14:58 -0500 Subject: Correct some icon usage inconsistencies. Fixes #5965 --- src/usr/local/www/firewall_nat_1to1.php | 2 +- src/usr/local/www/status_dhcp_leases.php | 5 ++++- src/usr/local/www/status_dhcpv6_leases.php | 5 ++++- src/usr/local/www/status_logs_vpn.php | 8 ++++---- src/usr/local/www/status_wireless.php | 2 +- src/usr/local/www/system_crlmanager.php | 22 ++++++++-------------- src/usr/local/www/widgets/widgets/ipsec.widget.php | 4 ++-- .../www/widgets/widgets/wake_on_lan.widget.php | 8 ++++---- 8 files changed, 28 insertions(+), 28 deletions(-) (limited to 'src/usr/local') diff --git a/src/usr/local/www/firewall_nat_1to1.php b/src/usr/local/www/firewall_nat_1to1.php index 0c77c76..2750da6 100644 --- a/src/usr/local/www/firewall_nat_1to1.php +++ b/src/usr/local/www/firewall_nat_1to1.php @@ -210,7 +210,7 @@ display_top_tabs($tab_array); " title=""> -  "> +  "> diff --git a/src/usr/local/www/status_dhcp_leases.php b/src/usr/local/www/status_dhcp_leases.php index 48d7b33..a6710bf 100644 --- a/src/usr/local/www/status_dhcp_leases.php +++ b/src/usr/local/www/status_dhcp_leases.php @@ -398,11 +398,14 @@ foreach ($leases as $data): } if ($data['act'] == $active_string) { + /* Active DHCP Lease */ $icon = 'fa-check-circle-o'; } elseif ($data['act'] == $expired_string) { + /* Expired DHCP Lease */ $icon = 'fa-ban'; } else { - $icon = 'fa-times-circle-o'; + /* Static Mapping */ + $icon = 'fa-user'; } if ($data['act'] != $static_string) { diff --git a/src/usr/local/www/status_dhcpv6_leases.php b/src/usr/local/www/status_dhcpv6_leases.php index 9b7f37e..d56eb67 100644 --- a/src/usr/local/www/status_dhcpv6_leases.php +++ b/src/usr/local/www/status_dhcpv6_leases.php @@ -474,11 +474,14 @@ foreach ($leases as $data): } if ($data['act'] == $active_string) { + /* Active DHCP Lease */ $icon = 'fa-check-circle-o'; } elseif ($data['act'] == $expired_string) { + /* Expired DHCP Lease */ $icon = 'fa-ban'; } else { - $icon = 'fa-times-circle-o'; + /* Static Mapping */ + $icon = 'fa-user'; } if ($data['act'] == $static_string) { diff --git a/src/usr/local/www/status_logs_vpn.php b/src/usr/local/www/status_logs_vpn.php index 7500c81..a4c251f 100644 --- a/src/usr/local/www/status_logs_vpn.php +++ b/src/usr/local/www/status_logs_vpn.php @@ -183,9 +183,9 @@ if (!$rawfilter) { - + - + @@ -310,9 +310,9 @@ function dump_clog_vpn($logfile, $tail) { echo "" . htmlspecialchars(join(" ", array_slice($logent, 0, 3))) . "\n"; if ($llent[0] == "login") { - echo "\n"; + echo "\n"; } else { - echo "\n"; + echo "\n"; } echo "" . htmlspecialchars($llent[3]) . "\n"; diff --git a/src/usr/local/www/status_wireless.php b/src/usr/local/www/status_wireless.php index af2b6d7..c2c3b2b 100644 --- a/src/usr/local/www/status_wireless.php +++ b/src/usr/local/www/status_wireless.php @@ -237,7 +237,7 @@ display_top_tabs($tab_array); diff --git a/src/usr/local/www/system_crlmanager.php b/src/usr/local/www/system_crlmanager.php index dd9e778..e94917f 100644 --- a/src/usr/local/www/system_crlmanager.php +++ b/src/usr/local/www/system_crlmanager.php @@ -526,8 +526,8 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) { - ')"> - " alt=""> + + " alt=""> @@ -645,12 +645,14 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) { if ($cainternal == "YES"): ?> + + - - - + "> - - - + "> - - - + "> - - - + "> diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php index aa64ff4..b05482c 100644 --- a/src/usr/local/www/widgets/widgets/ipsec.widget.php +++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php @@ -171,9 +171,9 @@ if ($_REQUEST && $_REQUEST['ajax']) { print( "" . htmlspecialchars($ipsec['descr']) . "\n"); if ($ipsec['status'] == "true") { - print('' . "\n"); + print('' . "\n"); } else { - print('' . "\n"); + print('' . "\n"); } print( "\n"); diff --git a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php index 57edd9b..60628b9 100644 --- a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php +++ b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php @@ -93,16 +93,16 @@ if (count($wolcomputers) > 0): - "> + "> - "> + "> - "> + "> - "> + "> -- cgit v1.1