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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 26 09:10:24 CEST 2011


Author: hdoreau
Date: 2011-09-26 09:10:23 +0200 (Mon, 26 Sep 2011)
New Revision: 11683

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp.xsl (get_cve_details, get_cpe_details): Make item name
unclickable to prevent these recursive links to confuse users.


Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-09-25 12:16:57 UTC (rev 11682)
+++ trunk/gsa/ChangeLog	2011-09-26 07:10:23 UTC (rev 11683)
@@ -1,3 +1,8 @@
+2011-09-26  Henri Doreau <henri.doreau at greenbone.net>
+
+	* src/html/omp.xsl (get_cve_details, get_cpe_details): Make item name
+	unclickable to prevent these recursive links to confuse users.
+
 2011-09-22  Henri Doreau <henri.doreau at greenbone.net>
 
 	Add new CVE and CPE details dialog.

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-09-25 12:16:57 UTC (rev 11682)
+++ trunk/gsa/src/html/omp.xsl	2011-09-26 07:10:23 UTC (rev 11683)
@@ -8315,14 +8315,11 @@
     <table>
       <tr>
         <td><b>ID</b></td>
-        <td><b>
-          <xsl:call-template name="get_info_cve_lnk">
-            <xsl:with-param name="cve">
-              <xsl:value-of select="cve:entry/@id"/>
-            </xsl:with-param>
-          </xsl:call-template>
-        </b></td>
-
+        <td>
+          <b>
+            <xsl:value-of select="cve:entry/@id"/>
+          </b>
+        </td>
       </tr>
       <tr>
         <td><b>Published</b></td>
@@ -8420,13 +8417,11 @@
     <table>
       <tr>
         <td><b>Name</b></td>
-        <td><b>
-          <xsl:call-template name="get_info_cpe_lnk">
-            <xsl:with-param name="cpe">
-              <xsl:value-of select="cpe:cpe-item/@name"/>
-            </xsl:with-param>
-          </xsl:call-template>
-        </b></td>
+        <td>
+          <b>
+            <xsl:value-of select="cpe:cpe-item/@name"/>
+          </b>
+        </td>
       </tr>
       <xsl:for-each select="cpe:cpe-item/cpe:title">
         <tr>



More information about the Openvas-commits mailing list