rename compareWith to original
This commit is contained in:
@ -14,18 +14,18 @@
|
||||
<xsl:strip-space elements='*'/>
|
||||
|
||||
<xsl:param name="savedAs" select=""/>
|
||||
<xsl:param name="compareWith" select=""/>
|
||||
<xsl:param name="original" select=""/>
|
||||
<xsl:param name="refreshPeriod" select="0"/>
|
||||
<xsl:param name="sudo" select="false"/>
|
||||
|
||||
<xsl:variable name="current" select="./nmaprun"/>
|
||||
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'),'"')"/>
|
||||
<xsl:variable name="basedir" select="concat($stylesheetURL, '/../..')"/>
|
||||
<xsl:variable name="init" select="document($compareWith)/nmaprun"/>
|
||||
<xsl:variable name="init" select="document($original)/nmaprun"/>
|
||||
<xsl:variable name="nextCompareWith">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$savedAs"><xsl:value-of select="$savedAs"/></xsl:when>
|
||||
<xsl:when test="$compareWith"><xsl:value-of select="$compareWith"/></xsl:when>
|
||||
<xsl:when test="$original"><xsl:value-of select="$original"/></xsl:when>
|
||||
<xsl:otherwise></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
@ -13,18 +13,18 @@
|
||||
<xsl:strip-space elements='*'/>
|
||||
|
||||
<xsl:param name="savedAs" select=""/>
|
||||
<xsl:param name="compareWith" select=""/>
|
||||
<xsl:param name="original" select=""/>
|
||||
<xsl:param name="refreshPeriod" select="0"/>
|
||||
<xsl:param name="sudo" select="false"/>
|
||||
|
||||
<xsl:variable name="current" select="./nmaprun"/>
|
||||
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'),'"')"/>
|
||||
<xsl:variable name="basedir" select="concat($stylesheetURL, '/../..')"/>
|
||||
<xsl:variable name="init" select="document($compareWith)/nmaprun"/>
|
||||
<xsl:variable name="init" select="document($original)/nmaprun"/>
|
||||
<xsl:variable name="nextCompareWith">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$savedAs"><xsl:value-of select="$savedAs"/></xsl:when>
|
||||
<xsl:when test="$compareWith"><xsl:value-of select="$compareWith"/></xsl:when>
|
||||
<xsl:when test="$original"><xsl:value-of select="$original"/></xsl:when>
|
||||
<xsl:otherwise></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
@ -14,18 +14,18 @@
|
||||
<xsl:strip-space elements='*'/>
|
||||
|
||||
<xsl:param name="savedAs" select=""/>
|
||||
<xsl:param name="compareWith" select=""/>
|
||||
<xsl:param name="original" select=""/>
|
||||
<xsl:param name="refreshPeriod" select="0"/>
|
||||
<xsl:param name="sudo" select="false"/>
|
||||
|
||||
<xsl:variable name="current" select="./nmaprun"/>
|
||||
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'),'"')"/>
|
||||
<xsl:variable name="basedir" select="concat($stylesheetURL, '/../..')"/>
|
||||
<xsl:variable name="init" select="document($compareWith)/nmaprun"/>
|
||||
<xsl:variable name="init" select="document($original)/nmaprun"/>
|
||||
<xsl:variable name="nextCompareWith">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$savedAs"><xsl:value-of select="$savedAs"/></xsl:when>
|
||||
<xsl:when test="$compareWith"><xsl:value-of select="$compareWith"/></xsl:when>
|
||||
<xsl:when test="$original"><xsl:value-of select="$original"/></xsl:when>
|
||||
<xsl:otherwise></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
@ -28,7 +28,7 @@
|
||||
<xsl:with-param name="argList" select="substring-before(substring-after(@args, ' -'), ' -oX')"/>
|
||||
<xsl:with-param name="asURL" select="true()"/>
|
||||
</xsl:call-template>
|
||||
<xsl:text>compareWith=</xsl:text>
|
||||
<xsl:text>original=</xsl:text>
|
||||
<xsl:value-of select="$nextCompareWith"/>
|
||||
<xsl:text>&refreshPeriod=</xsl:text>
|
||||
<xsl:value-of select="$refreshPeriod"/>
|
||||
|
@ -31,7 +31,7 @@
|
||||
Exemples: 192.168.1.0/24 scanme.nmap.org 10.0-255.0-255.1-254"/>
|
||||
<i class="satellite dish icon"></i>
|
||||
</div>
|
||||
<input type="hidden" name="compareWith" value="{$nextCompareWith}"/>
|
||||
<input type="hidden" name="original" value="{$nextCompareWith}"/>
|
||||
<input type="hidden" name="refreshPeriod" value="{$refreshPeriod}"/>
|
||||
<input type="hidden" name="sudo" value="{$sudo}"/>
|
||||
<button id="hiddenButton" style="display: none;" type="submit" formmethod="get" formaction="{$basedir}/scan.php"></button>
|
||||
|
@ -13,18 +13,18 @@
|
||||
<xsl:strip-space elements='*'/>
|
||||
|
||||
<xsl:param name="savedAs" select=""/>
|
||||
<xsl:param name="compareWith" select=""/>
|
||||
<xsl:param name="original" select=""/>
|
||||
<xsl:param name="refreshPeriod" select="0"/>
|
||||
<xsl:param name="sudo" select="false"/>
|
||||
|
||||
<xsl:variable name="current" select="./nmaprun"/>
|
||||
<xsl:variable name="stylesheetURL" select="substring-before(substring-after(processing-instruction('xml-stylesheet'),'href="'),'"')"/>
|
||||
<xsl:variable name="basedir" select="concat($stylesheetURL, '/../..')"/>
|
||||
<xsl:variable name="init" select="document($compareWith)/nmaprun"/>
|
||||
<xsl:variable name="init" select="document($original)/nmaprun"/>
|
||||
<xsl:variable name="nextCompareWith">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$savedAs"><xsl:value-of select="$saveAs"/></xsl:when>
|
||||
<xsl:when test="$compareWith"><xsl:value-of select="$compareWith"/></xsl:when>
|
||||
<xsl:when test="$original"><xsl:value-of select="$original"/></xsl:when>
|
||||
<xsl:otherwise></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
Reference in New Issue
Block a user