diff --git a/filter_inputs.php b/filter_inputs.php index 920db09..29a8dc7 100644 --- a/filter_inputs.php +++ b/filter_inputs.php @@ -110,7 +110,7 @@ if ($preset && isset($presets[$preset])) { '--stylesheet' => FILTER_VALIDATE_URL, // lanScan 'saveAs' => ['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => $fileNameRegex]], - 'compareWith' => FILTER_VALIDATE_URL, + 'original' => FILTER_VALIDATE_URL, 'refreshPeriod' => ['filter' => FILTER_VALIDATE_INT, 'options' => ['min_range' => 0]], 'sudo' => FILTER_VALIDATE_BOOLEAN, ], false) ?: $presets["default"]; diff --git a/index.php b/index.php index 7c703a6..940e513 100755 --- a/index.php +++ b/index.php @@ -593,8 +593,8 @@ foreach (scandir('templates') as $filename) {
- - "> $name\n"; } else { echo " \n"; diff --git a/templates/cards.xsl b/templates/cards.xsl index dc2723a..b7f1cb2 100755 --- a/templates/cards.xsl +++ b/templates/cards.xsl @@ -14,18 +14,18 @@ - + - + - + diff --git a/templates/compact.xsl b/templates/compact.xsl index 8d96aef..786a871 100755 --- a/templates/compact.xsl +++ b/templates/compact.xsl @@ -13,18 +13,18 @@ - + - + - + diff --git a/templates/hostsTable.xsl b/templates/hostsTable.xsl index c9ae761..592b773 100755 --- a/templates/hostsTable.xsl +++ b/templates/hostsTable.xsl @@ -14,18 +14,18 @@ - + - + - + diff --git a/templates/lib/head.xsl b/templates/lib/head.xsl index a6d547a..c91172b 100644 --- a/templates/lib/head.xsl +++ b/templates/lib/head.xsl @@ -28,7 +28,7 @@ - compareWith= + original= &refreshPeriod= diff --git a/templates/lib/nav.xsl b/templates/lib/nav.xsl index a99ae51..5a60efb 100644 --- a/templates/lib/nav.xsl +++ b/templates/lib/nav.xsl @@ -31,7 +31,7 @@ Exemples: 192.168.1.0/24 scanme.nmap.org 10.0-255.0-255.1-254"/>
- + diff --git a/templates/servicesTable.xsl b/templates/servicesTable.xsl index 9126bad..3db97ab 100755 --- a/templates/servicesTable.xsl +++ b/templates/servicesTable.xsl @@ -13,18 +13,18 @@ - + - + - +