summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dale <sdale@pfsense.org>2008-05-23 03:03:52 +0000
committerScott Dale <sdale@pfsense.org>2008-05-23 03:03:52 +0000
commitef3aebc282eb65368ec7d685156dd22127c453cd (patch)
tree24469e28cc7057efceb4c1a275773706ee39c0dd
parent2a9db752fb723b6c00ee8c15434ea5b011387940 (diff)
downloadpfsense-ef3aebc282eb65368ec7d685156dd22127c453cd.zip
pfsense-ef3aebc282eb65368ec7d685156dd22127c453cd.tar.gz
insert IP div always, so ajax updates always succeed
-rw-r--r--usr/local/www/widgets/widgets/interfaces.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php
index e411504..f8186ca 100644
--- a/usr/local/www/widgets/widgets/interfaces.widget.php
+++ b/usr/local/www/widgets/widgets/interfaces.widget.php
@@ -91,8 +91,8 @@ require_once("/usr/local/www/widgets/include/interfaces.inc");
<div id="<?php echo $ifname;?>-down" style="display:none" ><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_interface_down.gif" title="<?=$ifname;?> is down" /></div>
&nbsp;
<? } else { ?><?=htmlspecialchars($ifinfo['status']); }?>
- <?php if ($ifinfo['ipaddr']){ ?>
- <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);}?>&nbsp;
+
+ <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);?>&nbsp;
<?php if ($ifinfo['dhcplink']) { ?>
(DHCP)<br>
<? } ?></div>
OpenPOWER on IntegriCloud