Update Port Real Time Graph error (#15846)

* Update graph-realtime.php

Fix Typo

* Update realtime.inc.php
This commit is contained in:
Justin Lentz 2024-02-21 20:04:32 -06:00 committed by GitHub
parent 4c7181d010
commit 80e0ee44f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if (is_numeric($_GET['id']) && (Config::get('allow_unauth_graphs') || port_permi
$title .= ' :: Port ' . generate_port_link($port);
$auth = true;
} else {
echo 'Unauthenticad';
echo 'Unauthenticated';
exit;
}

View File

@ -37,6 +37,6 @@ print_optionbar_end();
<div align="center" style="margin: 30px;">
<object data="graph-realtime.php?type=bits&id=<?php echo $port['port_id'] . '&interval=' . htmlspecialchars($vars['interval']); ?>" type="image/svg+xml" width="1000" height="400">
<param name="src" value="graph.php?type=bits&id=<?php echo $port['port_id'] . '&interval=' . htmlspecialchars($vars['interval']); ?>" />
Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin.
<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">Your webserver has header X-Frame-Options set to DENY. Please change to SAMEORIGIN for realtime graphs.</a>
</object>
</div>