refreshPeriod input

This commit is contained in:
2024-10-14 23:37:57 +02:00
parent 9cb008785c
commit f8f1183fe7
6 changed files with 50 additions and 28 deletions

View File

@ -41,6 +41,7 @@ $xml->load($tempPath);
$saveAsURL = $saveAs? "$BASEDIR/$SCANSDIR/$saveAs.xml" : "";
$xml->insertBefore($xml->createProcessingInstruction('xslt-param', "name='savedAs' value='".htmlentities($saveAsURL, ENT_QUOTES)."'"), $xml->documentElement);
$xml->insertBefore($xml->createProcessingInstruction('xslt-param', "name='compareWith' value='".htmlentities($compareWith, ENT_QUOTES)."'"), $xml->documentElement);
$xml->insertBefore($xml->createProcessingInstruction('xslt-param', "name='refreshPeriod' value='".htmlentities($refreshPeriod, ENT_QUOTES)."'"), $xml->documentElement);
if ($saveAs) {
$path = "$SCANSDIR/$saveAs.xml";