diff options
author | jim-p <jimp@pfsense.org> | 2015-11-23 10:25:00 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-11-23 10:26:17 -0500 |
commit | 0520c675f697b41077ab1db6b47a6f77d65d9d29 (patch) | |
tree | 37f8aeda7a41900946977a8083282bf0d85246d2 /src/usr/local/www/widgets | |
parent | e7c1f181393533828c27734317d00a988c1f7e31 (diff) | |
download | pfsense-0520c675f697b41077ab1db6b47a6f77d65d9d29.zip pfsense-0520c675f697b41077ab1db6b47a6f77d65d9d29.tar.gz |
Don't reuse $icon here - results should be two different icons. Fixes #5519
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/interfaces.widget.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/widgets/widgets/interfaces.widget.php b/src/usr/local/www/widgets/widgets/interfaces.widget.php index 266829a..88c1a85 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -70,11 +70,11 @@ foreach ($ifdescrs as $ifdescr => $ifname): $ifinfo = get_interface_info($ifdescr); if ($ifinfo['ppplink']) { - $icon = 'headphones'; + $typeicon = 'headphones'; } else if (is_interface_wireless($ifdescr)) { - $icon = 'signal'; + $typeicon = 'signal'; } else { - $icon = 'cog'; + $typeicon = 'cog'; } $known_status = true; @@ -93,7 +93,7 @@ foreach ($ifdescrs as $ifdescr => $ifname): ?> <tr> <td title="<?=htmlspecialchars($ifinfo['macaddr'])?>"> - <i class="fa fa-<?=$icon?>"></i> + <i class="fa fa-<?=$typeicon?>"></i> <a href="/interfaces.php?if=<?=$ifdescr?>"> <?=htmlspecialchars($ifname);?> </a> |