Changeset 11065


Ignore:
Timestamp:
2006-01-19T13:52:09+13:00 (18 years ago)
Author:
mdewsnip
Message:

Removed a lot of stuff that is unnecessary now that we're no longer making the "Contents" boxes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/help/gen-many-html.xsl

    r11035 r11065  
    44  <xsl:output method="html" encoding="UTF-8"/>
    55
    6   <!-- we need to get rid of the anchors and replace the advanced ones with Breaks. leave a <p/> here for now otherwise there is no break before the advanced section -->
    7   <xsl:template match="Anchor">
    8     <p/>
    9   </xsl:template>
    10 <!--  <xsl:template match="Anchor">
    11     <p/>
    12     <img height="20" src="../gatherer_small.gif" width="20"/>
    13     <a name="{@name}"><xsl:text> </xsl:text><xsl:apply-templates/></a>
    14     <p style="text-align:justify"/>
    15   </xsl:template>-->
     6
     7  <xsl:template match="Anchor"/>
    168
    179
     
    2012  </xsl:template>
    2113
     14
    2215  <xsl:template match="Contents"/>
    23   <!--
    24   <xsl:template match="Contents">
    25     <p/>
    26     <table align="center" border="2" cellpadding="2" width="480" bgcolor="#B0D0B0">
    27       <tr>
    28         <td align="center">
    29           <font face="Verdana" size="4">
    30             <strong>
    31               Contents
    32             </strong>
    33           </font>
    34         </td>
    35       </tr>
    3616
    37       <tr>
    38         <td>
    39           <table bgcolor="#FFFFFF" border="0" cellpadding="2" width="100%">
    40             <xsl:apply-templates/>
    41           </table>
    42         </td>
    43       </tr>
    44     </table>
    45     <p/>
    46   </xsl:template>
    47 
    48 
    49   <xsl:template match="ContentsGroup">
    50     <tr>
    51       <td colspan="3">
    52         <a href="#{@linkto}">
    53       <xsl:variable name="linkTo" select="@linkto"/>
    54       <xsl:value-of select="parent::Contents/parent::Section/Anchor[@name=$linkTo]"/>
    55     </a>
    56       </td>
    57     </tr>
    58 
    59     <xsl:apply-templates/>
    60   </xsl:template>
    61 
    62 
    63   <xsl:template match="ContentsItem">
    64     <xsl:variable name="depth" select="count(ancestor::ContentsItem) + 1"/>
    65     <tr>
    66       <td colspan="{$depth}">
    67         <xsl:text> </xsl:text>
    68       </td>
    69       <td colspan="{3 - $depth}">
    70         <xsl:apply-templates/>
    71       </td>
    72     </tr>
    73   </xsl:template>
    74 -->
    7517
    7618  <xsl:template match="Document">
Note: See TracChangeset for help on using the changeset viewer.