summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/interfaces.widget.php
diff options
context:
space:
mode:
authorCharlie Marshall <charlie0440@gmail.com>2013-10-25 20:15:05 +0100
committerCharlie Marshall <charlie0440@gmail.com>2013-10-25 20:15:05 +0100
commit0c951d98a34999f45d1a0145cb2f795ee711d88b (patch)
tree27f762e7d507c00033da0dd0972b695e46abd366 /usr/local/www/widgets/widgets/interfaces.widget.php
parentb4a62651f8bf6e67e812b904f98c90c481a0d4c9 (diff)
downloadpfsense-0c951d98a34999f45d1a0145cb2f795ee711d88b.zip
pfsense-0c951d98a34999f45d1a0145cb2f795ee711d88b.tar.gz
cleanup interfaces.widget.php
Diffstat (limited to 'usr/local/www/widgets/widgets/interfaces.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/interfaces.widget.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php
index ebef0ba..3473783 100644
--- a/usr/local/www/widgets/widgets/interfaces.widget.php
+++ b/usr/local/www/widgets/widgets/interfaces.widget.php
@@ -77,32 +77,14 @@ require_once("/usr/local/www/widgets/include/interfaces.inc");
<td>
<div id="<?php echo $ifname;?>-up" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_up.gif" title="<?=$ifname;?> is up" alt="up" /></div>
</td>
- <td>
- <div id="<?php echo $ifname;?>-down" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_down.gif" title="<?=$ifname;?> is down" alt="down" /></div>
- </td>
- <td>
- <div id="<?php echo $ifname;?>-block" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" title="<?=$ifname;?> is disabled" alt="disabled" /></div>
- </td>
<?php } else if ($ifinfo['status'] == "no carrier") { ?>
<td>
<div id="<?php echo $ifname;?>-down" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_down.gif" title="<?=$ifname;?> is down" alt="down" /></div>
</td>
- <td>
- <div id="<?php echo $ifname;?>-block" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" title="<?=$ifname;?> is disabled" alt="disabled" /></div>
- </td>
- <td>
- <div id="<?php echo $ifname;?>-up" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_up.gif" title="<?=$ifname;?> is up" alt="up" /></div>
- </td>
<?php } else if ($ifinfo['status'] == "down") { ?>
<td>
<div id="<?php echo $ifname;?>-block" style="display:inline" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" title="<?=$ifname;?> is disabled" alt="disabled" /></div>
</td>
- <td>
- <div id="<?php echo $ifname;?>-up" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_up.gif" title="<?=$ifname;?> is up" alt="up" /></div>
- </td>
- <td>
- <div id="<?php echo $ifname;?>-down" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_down.gif" title="<?=$ifname;?> is down" alt="down" /></div>
- </td>
<?php } else { ?><?=htmlspecialchars($ifinfo['status']); }?>
<td>
<div id="<?php echo $ifname;?>-media" style="display:inline"><?=htmlspecialchars($ifinfo['media']);?></div>
OpenPOWER on IntegriCloud