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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 26 14:45:38 CEST 2011


Author: hdoreau
Date: 2011-09-26 14:45:37 +0200 (Mon, 26 Sep 2011)
New Revision: 11689

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp.xsl (result-detailed): Make CPE and CVE clickable in the
prognostic scan reports.


Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-09-26 12:41:41 UTC (rev 11688)
+++ trunk/gsa/ChangeLog	2011-09-26 12:45:37 UTC (rev 11689)
@@ -1,5 +1,10 @@
 2011-09-26  Henri Doreau <henri.doreau at greenbone.net>
 
+	* src/html/omp.xsl (result-detailed): Make CPE and CVE clickable in the
+	prognostic scan reports.
+
+2011-09-26  Henri Doreau <henri.doreau at greenbone.net>
+
 	* src/html/omp.xsl (cve-details, cpe-details): Add help icons.
 
 	* src/html/help.xsl (contents.html, glossary.html): Document CPE and

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-09-26 12:41:41 UTC (rev 11688)
+++ trunk/gsa/src/html/omp.xsl	2011-09-26 12:45:37 UTC (rev 11689)
@@ -11353,7 +11353,9 @@
     <xsl:choose>
       <xsl:when test="$prognostic=1">
         <div class="float_right" style="text-align:right">
-          <xsl:value-of select="cve/cpe/@id"/>
+          <xsl:call-template name="get_info_cpe_lnk">
+            <xsl:with-param name="cpe" select="cve/cpe/@id"/>
+          </xsl:call-template>
         </div>
       </xsl:when>
       <xsl:otherwise>
@@ -11400,7 +11402,9 @@
     <div>
       <xsl:choose>
         <xsl:when test="$prognostic=1">
-          <xsl:value-of select="cve/@id"/>
+          <xsl:call-template name="get_info_cve_lnk">
+            <xsl:with-param name="cve" select="cve/@id"/>
+          </xsl:call-template>
         </xsl:when>
         <xsl:when test="nvt/@oid = 0">
           <xsl:if test="delta/text()">



More information about the Openvas-commits mailing list