[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&type=prognostic&host={ip}&pos=1&host_search_phrase={../../../../search_phrase}&host_levels={../../../../levels}&host_first_result={../../../../hosts/@start}&host_max_results={../../../../hosts/@max}&result_hosts_only=1&token={/envelope/token}"
+ <a href="/omp?cmd=get_report&type=prognostic&host={ip}&pos={detail[name/text() = 'report/pos']/value}&host_search_phrase={../../../../search_phrase}&host_levels={../../../../levels}&host_first_result={../../../../hosts/@start}&host_max_results={../../../../hosts/@max}&result_hosts_only=1&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