Commit 475cd241 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) check for post....

parent 871a3251
...@@ -31,7 +31,7 @@ require_once("guiconfig.inc"); ...@@ -31,7 +31,7 @@ require_once("guiconfig.inc");
$pgtitle = gettext("Diagnostics: Limiter Info"); $pgtitle = gettext("Diagnostics: Limiter Info");
$shortcut_section = "trafficshaper-limiters"; $shortcut_section = "trafficshaper-limiters";
if($_REQUEST['getactivity']) { if(isset($_POST['getactivity'])) {
$text = `/sbin/ipfw pipe show`; $text = `/sbin/ipfw pipe show`;
if($text == "") if($text == "")
$text = "We could not find any limiters on this system."; $text = "We could not find any limiters on this system.";
...@@ -67,7 +67,7 @@ include("head.inc"); ...@@ -67,7 +67,7 @@ include("head.inc");
jQuery('#limiteractivitydiv').html('<font face="Courier" size="2"><pre style="text-align:left;">' + transport.responseText + '<\/pre><\/font>'); jQuery('#limiteractivitydiv').html('<font face="Courier" size="2"><pre style="text-align:left;">' + transport.responseText + '<\/pre><\/font>');
setTimeout('getlimiteractivity()', 2000); setTimeout('getlimiteractivity()', 2000);
} }
setTimeout('getlimiteractivity()', 5000); setTimeout('getlimiteractivity()', 1000);
//]]> //]]>
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment