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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Nov 10 08:04:46 CET 2011


Author: mattm
Date: 2011-11-10 08:04:44 +0100 (Thu, 10 Nov 2011)
New Revision: 12082

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
	* src/html/omp.xsl (host): Get the right pos, from the XML, for the
	prognostic report icon.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-11-09 19:26:28 UTC (rev 12081)
+++ trunk/gsa/ChangeLog	2011-11-10 07:04:44 UTC (rev 12082)
@@ -1,3 +1,8 @@
+2011-11-10  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/html/omp.xsl (host): Get the right pos, from the XML, for the
+	prognostic report icon.
+
 2011-11-09  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	* src/gsad_omp.c (create_note_omp, delete_note_omp, save_note_omp)

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-11-09 19:26:28 UTC (rev 12081)
+++ trunk/gsa/src/html/omp.xsl	2011-11-10 07:04:44 UTC (rev 12082)
@@ -11019,7 +11019,7 @@
          title="Help: Hosts (Host Details)">
          <img src="/img/help.png"/>
        </a>
-       <a href="/omp?cmd=get_report&amp;type=prognostic&amp;host={ip}&amp;pos=1&amp;host_search_phrase={../../../../search_phrase}&amp;host_levels={../../../../levels}&amp;host_first_result={../../../../hosts/@start}&amp;host_max_results={../../../../hosts/@max}&amp;result_hosts_only=1&amp;token={/envelope/token}"
+       <a href="/omp?cmd=get_report&amp;type=prognostic&amp;host={ip}&amp;pos={detail[name/text() = 'report/pos']/value}&amp;host_search_phrase={../../../../search_phrase}&amp;host_levels={../../../../levels}&amp;host_first_result={../../../../hosts/@start}&amp;host_max_results={../../../../hosts/@max}&amp;result_hosts_only=1&amp;token={/envelope/token}"
           title="Prognostic Report" style="margin-left:3px;">
          <img src="/img/prognosis.png" border="0" alt="Prognostic Report"/>
        </a>



More information about the Openvas-commits mailing list