[Openvas-commits] r8161 - in trunk/gsa: . src/html

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 24 11:29:52 CEST 2010


Author: mattm
Date: 2010-06-24 11:29:51 +0200 (Thu, 24 Jun 2010)
New Revision: 8161

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
	* src/html/omp.xsl (html-config-nvt-table): Select prefs from inside NVT.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2010-06-24 09:28:34 UTC (rev 8160)
+++ trunk/gsa/ChangeLog	2010-06-24 09:29:51 UTC (rev 8161)
@@ -1,3 +1,7 @@
+2010-06-24  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/html/omp.xsl (html-config-nvt-table): Select prefs from inside NVT.
+
 2010-06-23  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	* src/gsad_omp.c (get_nvts, get_config_family_omp, get_config_family_omp)

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2010-06-24 09:28:34 UTC (rev 8160)
+++ trunk/gsa/src/html/omp.xsl	2010-06-24 09:29:51 UTC (rev 8161)
@@ -3785,7 +3785,7 @@
           <input type="hidden"
                  name="oid"
                  value="{get_nvts_response/nvt/@oid}"/>
-          <xsl:for-each select="get_nvts_response/preferences">
+          <xsl:for-each select="get_nvts_response/nvt/preferences">
             <xsl:call-template name="preferences-edit-details">
               <xsl:with-param name="config" select="$config"/>
             </xsl:call-template>
@@ -3793,7 +3793,7 @@
         </form>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:for-each select="get_nvts_response/preferences">
+        <xsl:for-each select="get_nvts_response/nvt/preferences">
           <xsl:call-template name="preferences-details">
             <xsl:with-param name="config" select="$config"/>
           </xsl:call-template>



More information about the Openvas-commits mailing list