summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-06 14:40:01 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-11-06 14:40:01 -0400
commit2c4a13d91b72400c07b965b0a522be8dde2d1110 (patch)
tree01e39dc59f7dd229d16955f2552085a897c1e9b0
parent9c3cac0cb553e1610948e78dd119c1b0fcb04224 (diff)
downloadpfsense-2c4a13d91b72400c07b965b0a522be8dde2d1110.zip
pfsense-2c4a13d91b72400c07b965b0a522be8dde2d1110.tar.gz
Interface names should appear as uppercase
-rwxr-xr-xusr/local/www/status_graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 9c95510..a783999 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -184,8 +184,8 @@ foreach ($ifdescrs as $ifn => $ifd) {
<p>
<div id="niftyOutter">
<div id="col1" style="float: left; width: 46%; padding: 5px; position: relative;">
- <object data="graph.php?ifnum=<?=htmlspecialchars($curif);?>&amp;ifname=<?=rawurlencode($ifdescrs[htmlspecialchars($curif)]);?>" type="image/svg+xml" width="<?=$width;?>" height="<?=$height;?>">
- <param name="src" value="graph.php?ifnum=<?=htmlspecialchars($curif);?>&amp;ifname=<?=rawurlencode($ifdescrs[htmlspecialchars($curif)]);?>" />
+ <object data="graph.php?ifnum=<?=htmlspecialchars($curif);?>&amp;ifname=<?=strtoupper(rawurlencode($ifdescrs[htmlspecialchars($curif)]));?>" type="image/svg+xml" width="<?=$width;?>" height="<?=$height;?>">
+ <param name="src" value="graph.php?ifnum=<?=htmlspecialchars($curif);?>&amp;ifname=<?=strtoupper(rawurlencode($ifdescrs[htmlspecialchars($curif)]));?>" />
<?=gettext("Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin"); ?>.
</object>
</div>
OpenPOWER on IntegriCloud