diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-03-07 09:06:47 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-03-07 09:06:47 +0545 |
commit | 8389a461a6ddba8414682fc814db36077dd1a590 (patch) | |
tree | ca2fdb626c2faac345c0af5a61c225ee13d3203b /usr/local/www/status_graph.php | |
parent | 232d38abe671158447d800206f27f4f8e508155f (diff) | |
download | pfsense-8389a461a6ddba8414682fc814db36077dd1a590.zip pfsense-8389a461a6ddba8414682fc814db36077dd1a590.tar.gz |
Traffic Graph add option to display FQDN
Diffstat (limited to 'usr/local/www/status_graph.php')
-rwxr-xr-x | usr/local/www/status_graph.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php index 620c996..ec7b73d 100755 --- a/usr/local/www/status_graph.php +++ b/usr/local/www/status_graph.php @@ -218,6 +218,7 @@ foreach ($ifdescrs as $ifn => $ifd) { <select id="hostipformat" name="hostipformat" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <option value="">IP Address</option> <option value="hostname"<?php if ($curhostipformat == "hostname") echo " selected";?>>Host Name</option> + <option value="fqdn"<?php if ($curhostipformat == "fqdn") echo " selected";?>>FQDN</option> </select> </form> <p> @@ -228,7 +229,7 @@ foreach ($ifdescrs as $ifn => $ifd) { <div id="col2" style="float: right; width: 48%; padding: 5px; position: relative;"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td class="listtopic" valign="top"><?=(($curhostipformat=="hostname") ? gettext("Host Name or IP") : gettext("Host IP")); ?></td> + <td class="listtopic" valign="top"><?=(($curhostipformat=="") ? gettext("Host IP") : gettext("Host Name or IP")); ?></td> <td class="listtopic" valign="top"><?=gettext("Bandwidth In"); ?></td> <td class="listtopic" valign="top"><?=gettext("Bandwidth Out"); ?></td> </tr> |