diff options
author | Scott Dale <sdale@pfsense.org> | 2008-05-23 03:03:52 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2008-05-23 03:03:52 +0000 |
commit | ef3aebc282eb65368ec7d685156dd22127c453cd (patch) | |
tree | 24469e28cc7057efceb4c1a275773706ee39c0dd | |
parent | 2a9db752fb723b6c00ee8c15434ea5b011387940 (diff) | |
download | pfsense-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.php | 4 |
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> <? } else { ?><?=htmlspecialchars($ifinfo['status']); }?> - <?php if ($ifinfo['ipaddr']){ ?> - <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);}?> + + <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);?> <?php if ($ifinfo['dhcplink']) { ?> (DHCP)<br> <? } ?></div> |