[Openvas-commits] r5977 - in trunk/gsa: . src/html/src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Nov 26 13:16:22 CET 2009
Author: mattm
Date: 2009-11-26 13:16:21 +0100 (Thu, 26 Nov 2009)
New Revision: 5977
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/html/src/omp.xsl
Log:
* src/html/src/omp.xsl: Convert tabs to spaces.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2009-11-26 11:44:14 UTC (rev 5976)
+++ trunk/gsa/ChangeLog 2009-11-26 12:16:21 UTC (rev 5977)
@@ -1,3 +1,7 @@
+2009-11-26 Matthew Mundell <matthew.mundell at intevation.de>
+
+ * src/html/src/omp.xsl: Convert tabs to spaces.
+
2009-11-24 Matthew Mundell <matthew.mundell at intevation.de>
Add per-NVT timeout support.
Modified: trunk/gsa/src/html/src/omp.xsl
===================================================================
--- trunk/gsa/src/html/src/omp.xsl 2009-11-26 11:44:14 UTC (rev 5976)
+++ trunk/gsa/src/html/src/omp.xsl 2009-11-26 12:16:21 UTC (rev 5977)
@@ -1607,19 +1607,19 @@
<td>
<xsl:value-of select="@oid"/>
</td>
- <td>
- <xsl:variable
- name="timeout"
+ <td>
+ <xsl:variable
+ name="timeout"
select="../../../get_nvt_details_response/nvt[@oid=$id]/timeout"/>
- <xsl:choose>
- <xsl:when test="string-length($timeout) > 0">
- <xsl:value-of select="$timeout"/>
- </xsl:when>
- <xsl:otherwise>
- default
- </xsl:otherwise>
- </xsl:choose>
- </td>
+ <xsl:choose>
+ <xsl:when test="string-length($timeout) > 0">
+ <xsl:value-of select="$timeout"/>
+ </xsl:when>
+ <xsl:otherwise>
+ default
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
<td style="text-align:center;">
<xsl:choose>
<xsl:when test="preference_count>0">
@@ -1645,11 +1645,11 @@
title="NVT Details" style="margin-left:3px;">
<img src="/img/details.png" border="0" alt="Details"/>
</a>
- <a href="/omp?cmd=edit_config_nvt&oid={@oid}&name={$config}&family={$family}"
- title="Select and Edit NVT Details"
- style="margin-left:3px;">
- <img src="/img/edit.png" border="0" alt="Details"/>
- </a>
+ <a href="/omp?cmd=edit_config_nvt&oid={@oid}&name={$config}&family={$family}"
+ title="Select and Edit NVT Details"
+ style="margin-left:3px;">
+ <img src="/img/edit.png" border="0" alt="Details"/>
+ </a>
</td>
</tr>
</xsl:for-each>
@@ -1691,16 +1691,16 @@
<td>
<xsl:value-of select="@oid"/>
</td>
- <td>
- <xsl:choose>
- <xsl:when test="string-length(timeout) > 0">
- <xsl:value-of select="timeout"/>
- </xsl:when>
- <xsl:otherwise>
- default
- </xsl:otherwise>
- </xsl:choose>
- </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="string-length(timeout) > 0">
+ <xsl:value-of select="timeout"/>
+ </xsl:when>
+ <xsl:otherwise>
+ default
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
<td style="text-align:center;">
<xsl:choose>
<xsl:when test="preference_count>0">
@@ -1911,20 +1911,20 @@
</tr>
<!-- Special case the NVT timeout. -->
- <tr class="even">
- <td>Timeout</td>
- <td>
- <xsl:choose>
- <xsl:when test="string-length(timeout) > 0">
- <xsl:value-of select="timeout"/>
- </xsl:when>
- <xsl:otherwise>
- default
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <td></td>
- </tr>
+ <tr class="even">
+ <td>Timeout</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="string-length(timeout) > 0">
+ <xsl:value-of select="timeout"/>
+ </xsl:when>
+ <xsl:otherwise>
+ default
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td></td>
+ </tr>
<xsl:apply-templates select="preference" mode="details"/>
</table>
@@ -1941,44 +1941,44 @@
</tr>
<!-- Special case the NVT timeout. -->
- <tr class="even">
- <td>Timeout</td>
- <td>
- <xsl:choose>
- <xsl:when test="string-length(timeout) > 0">
- <input type="radio"
- name="timeout"
- value="0"/>
- </xsl:when>
- <xsl:otherwise>
- <input type="radio"
- name="timeout"
- value="0"
- checked="1"/>
- </xsl:otherwise>
- </xsl:choose>
- Apply default timeout
- <br/>
- <xsl:choose>
- <xsl:when test="string-length(timeout) > 0">
- <input type="radio"
- name="timeout"
- value="1"
- checked="1"/>
- </xsl:when>
- <xsl:otherwise>
- <input type="radio"
- name="timeout"
- value="1"/>
- </xsl:otherwise>
- </xsl:choose>
- <input type="text"
- name="preference:scanner[scanner]:timeout.{../nvt/@oid}"
- value="{timeout}"/>
- <br/>
- </td>
- <td></td>
- </tr>
+ <tr class="even">
+ <td>Timeout</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="string-length(timeout) > 0">
+ <input type="radio"
+ name="timeout"
+ value="0"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <input type="radio"
+ name="timeout"
+ value="0"
+ checked="1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ Apply default timeout
+ <br/>
+ <xsl:choose>
+ <xsl:when test="string-length(timeout) > 0">
+ <input type="radio"
+ name="timeout"
+ value="1"
+ checked="1"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <input type="radio"
+ name="timeout"
+ value="1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <input type="text"
+ name="preference:scanner[scanner]:timeout.{../nvt/@oid}"
+ value="{timeout}"/>
+ <br/>
+ </td>
+ <td></td>
+ </tr>
<xsl:apply-templates
select="preference"
More information about the Openvas-commits
mailing list