(legacy) remove non functional allowautocomplete

This commit is contained in:
Ad Schellevis 2015-07-06 08:41:00 +00:00
parent dd680c8e0c
commit 5f651fb65c
5 changed files with 1 additions and 7 deletions

View File

@ -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);
}

View File

@ -26,7 +26,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Ping"));
require_once("guiconfig.inc");

View File

@ -27,8 +27,6 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Test Port"));
require_once("guiconfig.inc");

View File

@ -28,7 +28,6 @@
require_once("guiconfig.inc");
$allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"),gettext("Traceroute"));
include("head.inc");

View File

@ -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() {