| |
---|
| | <xsl:call-template name="PaperYear" /> |
---|
| | </h2> |
---|
| | |
---|
| | <!-- The calendar itself. --> |
---|
| | <div class="sans"> |
---|
| | <table class="small calendar" summary="Teaching calendar with relevant links" cellspacing="0"> |
---|
| | <div class="sans small"> |
---|
| | <table class="calendar" summary="Teaching calendar with relevant links" cellspacing="0"> |
---|
| | <!-- |
---|
| | I was going to generate COL elements here, but they don't seem to be supported by all browsers. Damn. The same applies for THEAD/TFOOT/TBODY, but I may as well leave them in for the browsers that do support them. |
---|
| | --> |
---|
| | <thead class="calendar"> |
---|
| |
---|
| | <xsl:call-template name="generate-content-cell"> |
---|
| | <xsl:with-param name="columns" select="xs:integer( $num-columns )" /> |
---|
| | <xsl:with-param name="rows">1</xsl:with-param> |
---|
| | <xsl:with-param name="colour">blue-ou large</xsl:with-param> |
---|
| | <xsl:with-param name="style">border: 2px solid #777777; font-weight: bold;</xsl:with-param> |
---|
| | <xsl:with-param name="style">border: 2px solid #777777; font-weight: normal;</xsl:with-param> |
---|
| | </xsl:call-template> |
---|
| | </tr> |
---|
| | </common> |
---|
| | </template> |
---|
| |
---|
| | <xsl:call-template name="generate-content-cell"> |
---|
| | <xsl:with-param name="colour">blue-ou</xsl:with-param> |
---|
| | <xsl:with-param name="columns">2</xsl:with-param> |
---|
| | <xsl:with-param name="rows" select="if ( @rows ) then @rows else 1" /> |
---|
| | <xsl:with-param name="style">font-style: italic; font-weight: bold;</xsl:with-param> |
---|
| | <xsl:with-param name="style">font-style: italic; font-weight: normal;</xsl:with-param> |
---|
| | </xsl:call-template> |
---|
| | </common> |
---|
| | </template> |
---|
| | |
---|
| |
---|
|