Commit 5f651fb6 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove non functional allowautocomplete

parent dd680c8e
......@@ -25,8 +25,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$allowautocomplete = true;
function fixup_host_logic($value) {
return str_replace(array(" ", ",", "+", "|", "!"), array("", "and ", "and ", "or ", "not "), $value);
}
......
......@@ -26,7 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Ping"));
require_once("guiconfig.inc");
......
......@@ -27,8 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Test Port"));
require_once("guiconfig.inc");
......
......@@ -28,7 +28,6 @@
require_once("guiconfig.inc");
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"),gettext("Traceroute"));
include("head.inc");
......
......@@ -75,7 +75,7 @@ $pagetitle = gentitle( $pgtitle );
?>
<?php if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php") && !$allowautocomplete): ?>
<?php if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php")): ?>
<script type="text/javascript">
//<![CDATA[
$( document ).ready(function() {
......
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