[Openvas-commits] r9349 - in trunk/openvas-manager: . src/schema_formats/HTML

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 3 18:19:31 CET 2010


Author: mattm
Date: 2010-11-03 18:19:31 +0100 (Wed, 03 Nov 2010)
New Revision: 9349

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl
Log:
	* src/schema_formats/HTML/HTML.xsl: Rename command "breakdown" to
	"structure".

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2010-11-03 17:16:50 UTC (rev 9348)
+++ trunk/openvas-manager/ChangeLog	2010-11-03 17:19:31 UTC (rev 9349)
@@ -1,5 +1,10 @@
 2010-11-03  Matthew Mundell <matthew.mundell at greenbone.net>
 
+	* src/schema_formats/HTML/HTML.xsl: Rename command "breakdown" to
+	"structure".
+
+2010-11-03  Matthew Mundell <matthew.mundell at greenbone.net>
+
 	* src/schema_formats/HTML/HTML.xsl: Reduce the amount of bold, so that the
 	headings stand out a bit better.
 

Modified: trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl
===================================================================
--- trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl	2010-11-03 17:16:50 UTC (rev 9348)
+++ trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl	2010-11-03 17:19:31 UTC (rev 9349)
@@ -236,13 +236,13 @@
     </xsl:choose>
   </xsl:template>
 
-  <xsl:template name="breakdown-line">
+  <xsl:template name="structure-line">
     <xsl:param name="line-element"/>
     <xsl:param name="element-suffix"/>
     <xsl:choose>
       <xsl:when test="name() = 'any'">
         <xsl:for-each select="*">
-          <xsl:call-template name="breakdown-line">
+          <xsl:call-template name="structure-line">
             <xsl:with-param name="line-element" select="$line-element"/>
             <xsl:with-param name="element-suffix" select="'*'"/>
           </xsl:call-template>
@@ -279,7 +279,7 @@
           </xsl:if>
           <ul style="list-style: none">
             <xsl:for-each select="$new-line-element/pattern/*">
-              <xsl:call-template name="breakdown-line">
+              <xsl:call-template name="structure-line">
                 <xsl:with-param name="line-element" select="$new-line-element"/>
               </xsl:call-template>
             </xsl:for-each>
@@ -291,7 +291,7 @@
           <i>The group</i><b><xsl:value-of select="$element-suffix"/></b>
           <ul style="list-style: none">
             <xsl:for-each select="*">
-              <xsl:call-template name="breakdown-line">
+              <xsl:call-template name="structure-line">
                 <xsl:with-param name="line-element" select="$line-element"/>
               </xsl:call-template>
             </xsl:for-each>
@@ -300,7 +300,7 @@
       </xsl:when>
       <xsl:when test="name() = 'o'">
         <xsl:for-each select="*">
-          <xsl:call-template name="breakdown-line">
+          <xsl:call-template name="structure-line">
             <xsl:with-param name="line-element" select="$line-element"/>
             <xsl:with-param name="element-suffix" select="'?'"/>
           </xsl:call-template>
@@ -311,7 +311,7 @@
           <i>One of</i>
           <ul style="list-style: none">
             <xsl:for-each select="*">
-              <xsl:call-template name="breakdown-line">
+              <xsl:call-template name="structure-line">
                 <xsl:with-param name="line-element" select="$line-element"/>
               </xsl:call-template>
             </xsl:for-each>
@@ -321,7 +321,7 @@
     </xsl:choose>
   </xsl:template>
 
-  <xsl:template name="command-breakdown">
+  <xsl:template name="command-structure">
     <ul style="list-style: none">
       <xsl:choose>
         <xsl:when test="(count(pattern/*) = 0) and (string-length(normalize-space(pattern)) = 0)">
@@ -330,7 +330,7 @@
         <xsl:otherwise>
           <xsl:variable name="command" select="."/>
           <xsl:for-each select="pattern/*">
-            <xsl:call-template name="breakdown-line">
+            <xsl:call-template name="structure-line">
               <xsl:with-param name="line-element" select="$command"/>
             </xsl:call-template>
           </xsl:for-each>
@@ -352,17 +352,17 @@
 
       <xsl:apply-templates select="description"/>
 
-      <h4><xsl:value-of select="$index"/>.1 Breakdown</h4>
+      <h4><xsl:value-of select="$index"/>.1 Structure</h4>
 
       <ul style="list-style: none">
         <li>
           <i>Command</i>
-          <xsl:call-template name="command-breakdown"/>
+          <xsl:call-template name="command-structure"/>
         </li>
         <li style="margin-top: 15px;">
           <i>Response</i>
           <xsl:for-each select="response">
-            <xsl:call-template name="command-breakdown"/>
+            <xsl:call-template name="command-structure"/>
           </xsl:for-each>
         </li>
       </ul>



More information about the Openvas-commits mailing list