Changeset 1dca852
- Timestamp:
- 08/25/2005 07:54:56 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- b0ddfae5
- Parents:
- 519bbf6
- Location:
- stylesheets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/blfs.css
r519bbf6 r1dca852 210 210 } 211 211 212 213 212 div.revhistory th { 213 text-align: left; 214 line-height: 2em; 215 } 216 217 div.revhistory td { 218 padding-right: 1em; 219 } 214 220 215 221 span.term { -
stylesheets/xhtml/lfs-mixed.xsl
r519bbf6 r1dca852 127 127 <!-- or other titles that may already be represented with <strong>'s. --> 128 128 <xsl:choose> 129 <xsl:when test="local-name(..) = 'title' and (local-name(../..) = 'figure' 129 <xsl:when test="local-name(..) = 'title' and (local-name(../..) = 'figure' 130 130 or local-name(../..) = 'example' or local-name(../..) = 'table' or local-name(../..) = 'formalpara')"> 131 131 <tt class="{local-name(.)}"> … … 174 174 </xsl:template> 175 175 176 <!-- Revision History --> 177 <xsl:template match="revhistory" mode="titlepage.mode"> 178 <xsl:variable name="numcols"> 179 <xsl:choose> 180 <xsl:when test="//authorinitials">4</xsl:when> 181 <xsl:otherwise>3</xsl:otherwise> 182 </xsl:choose> 183 </xsl:variable> 184 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> 185 <xsl:variable name="title"> 186 <xsl:call-template name="gentext"> 187 <xsl:with-param name="key">RevHistory</xsl:with-param> 188 </xsl:call-template> 189 </xsl:variable> 190 <xsl:variable name="contents"> 191 <div class="{name(.)}"> 192 <table summary="Revision history"> 193 <tr> 194 <th colspan="{$numcols}"> 195 <b> 196 <xsl:call-template name="gentext"> 197 <xsl:with-param name="key" select="'RevHistory'"/> 198 </xsl:call-template> 199 </b> 200 </th> 201 </tr> 202 <xsl:apply-templates mode="titlepage.mode"> 203 <xsl:with-param name="numcols" select="$numcols"/> 204 </xsl:apply-templates> 205 </table> 206 </div> 207 </xsl:variable> 208 <!--<xsl:choose> 209 <xsl:when test="$generate.revhistory.link != 0"> 210 <xsl:variable name="filename"> 211 <xsl:call-template name="make-relative-filename"> 212 <xsl:with-param name="base.dir" select="$base.dir"/> 213 <xsl:with-param name="base.name" select="concat($id,$html.ext)"/> 214 </xsl:call-template> 215 </xsl:variable> 216 <a href="{concat($id,$html.ext)}"> 217 <xsl:copy-of select="$title"/> 218 </a> 219 <xsl:call-template name="write.chunk"> 220 <xsl:with-param name="filename" select="$filename"/> 221 <xsl:with-param name="quiet" select="$chunk.quietly"/> 222 <xsl:with-param name="content"> 223 <xsl:call-template name="user.preroot"/> 224 <html> 225 <head> 226 <xsl:call-template name="system.head.content"/> 227 <xsl:call-template name="head.content"> 228 <xsl:with-param name="title"> 229 <xsl:value-of select="$title"/> 230 <xsl:if test="../../title"> 231 <xsl:value-of select="concat(' (', ../../title, ')')"/> 232 </xsl:if> 233 </xsl:with-param> 234 </xsl:call-template> 235 <xsl:call-template name="user.head.content"/> 236 </head> 237 <body> 238 <xsl:call-template name="body.attributes"/> 239 <xsl:copy-of select="$contents"/> 240 </body> 241 </html> 242 </xsl:with-param> 243 </xsl:call-template> 244 </xsl:when> 245 <xsl:otherwise>--> 246 <xsl:copy-of select="$contents"/> 247 <!--</xsl:otherwise> 248 </xsl:choose>--> 249 </xsl:template> 250 251 <xsl:template match="revhistory/revision" mode="titlepage.mode"> 252 <xsl:param name="numcols" select="'3'"/> 253 <xsl:variable name="revnumber" select="revnumber"/> 254 <xsl:variable name="revdate" select="date"/> 255 <xsl:variable name="revauthor" select="authorinitials"/> 256 <xsl:variable name="revremark" select="revremark|revdescription"/> 257 <tr> 258 <td> 259 <xsl:if test="$revnumber"> 260 <xsl:call-template name="gentext"> 261 <xsl:with-param name="key" select="'Revision'"/> 262 </xsl:call-template> 263 <xsl:call-template name="gentext.space"/> 264 <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> 265 </xsl:if> 266 </td> 267 <td> 268 <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> 269 </td> 270 <xsl:choose> 271 <xsl:when test="$revauthor"> 272 <td align="left"> 273 <xsl:for-each select="$revauthor"> 274 <xsl:apply-templates select="." mode="titlepage.mode"/> 275 <xsl:if test="position() != last()"> 276 <xsl:text>, </xsl:text> 277 </xsl:if> 278 </xsl:for-each> 279 </td> 280 </xsl:when> 281 <xsl:when test="$numcols > 3"> 282 <td> </td> 283 </xsl:when> 284 <xsl:otherwise/> 285 </xsl:choose> 286 <td> 287 <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> 288 </td> 289 </tr> 290 </xsl:template> 291 176 292 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.