Changeset 6245
- Timestamp:
- 2003-12-12T13:54:37+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/nzdl/transform/style.xsl
r5409 r6245 329 329 <xsl:choose> 330 330 <xsl:when test="@nodeType='root'"> 331 332 <xsl:when test="documentNode">333 <img border="0" width="28" height="23"334 src="interfaces/default/images/openbook.gif"335 alt="Close this book"/>336 </xsl:when>337 <xsl:otherwise>338 <img border="0" width="18" height="11"339 src="interfaces/default/images/book.gif"340 alt="Open this document and view contents"/>341 </xsl:otherwise>342 331 <xsl:choose> 332 <xsl:when test="documentNode"> 333 <xsl:call-template name="openbookimg"> 334 <xsl:with-param name="title">Close this book</xsl:with-param> 335 </xsl:call-template> 336 </xsl:when> 337 <xsl:otherwise> 338 <xsl:call-template name="closedbookimg"> 339 <xsl:with-param name="title">Open this document and view contents</xsl:with-param> 340 </xsl:call-template> 341 </xsl:otherwise> 342 </xsl:choose> 343 343 </xsl:when> 344 345 <!-- Interior node: folder icon (open or closed) -->346 <xsl:when test="@nodeType='interior'">347 348 <xsl:when test="documentNode">349 <img border="0" width="23" height="15"350 src="interfaces/default/images/openfldr.gif"351 alt="Close this folder"/>352 </xsl:when>353 <xsl:otherwise>354 <img border="0" width="23" height="15"355 src="interfaces/default/images/clsdfldr.gif"356 alt="Open this folder and view contents"/>357 </xsl:otherwise>358 359 </xsl:when>360 361 <!-- Leaf node: page icon, and this is the default -->362 <xsl:otherwise>363 <img border="0" width="16" height="21" 364 src="interfaces/default/images/itext.gif"365 alt="View the document"/>344 345 <!-- Interior node: folder icon (open or closed) --> 346 <xsl:when test="@nodeType='interior'"> 347 <xsl:choose> 348 <xsl:when test="documentNode"> 349 <xsl:call-template name="openfolderimg"> 350 <xsl:with-param name="title">Close this folder</xsl:with-param> 351 </xsl:call-template> 352 </xsl:when> 353 <xsl:otherwise> 354 <xsl:call-template name="closedfolderimg"> 355 <xsl:with-param name="title">Open this folder and view contents</xsl:with-param> 356 </xsl:call-template> 357 </xsl:otherwise> 358 </xsl:choose> 359 </xsl:when> 360 361 <!-- Leaf node: page icon, and this is the default --> 362 <xsl:otherwise> 363 <xsl:call-template name="textpageimg"> 364 <xsl:with-param name="title">View the document</xsl:with-param> 365 </xsl:call-template> 366 366 </xsl:otherwise> 367 367 </xsl:choose> 368 368 </xsl:template> 369 369 370 371 <xsl:template name="openbookimg"> 372 <xsl:param name="alt"/> 373 <xsl:param name="title"/> 374 <img border="0" width="28" height="23" 375 src="interfaces/default/images/openbook.gif" 376 alt="{$alt}" title="{$title}"/> 377 </xsl:template> 378 379 <xsl:template name="closedbookimg"> 380 <xsl:param name="alt"/> 381 <xsl:param name="title"/> 382 <img border="0" width="18" height="11" 383 src="interfaces/default/images/book.gif" 384 alt="{$alt}" title="{$title}"/> 385 </xsl:template> 386 387 <xsl:template name="openfolderimg"> 388 <xsl:param name="alt"/> 389 <xsl:param name="title"/> 390 <img border="0" width="23" height="15" 391 src="interfaces/default/images/openfldr.gif" 392 alt="{$alt}" title="{$title}"/> 393 </xsl:template> 394 395 <xsl:template name="closedfolderimg"> 396 <xsl:param name="alt"/> 397 <xsl:param name="title"/> 398 <img border="0" width="23" height="15" 399 src="interfaces/default/images/clsdfldr.gif" 400 alt="{$alt}" title="{$title}"/> 401 </xsl:template> 402 403 <xsl:template name="textpageimg"> 404 <xsl:param name="alt"/> 405 <xsl:param name="title"/> 406 <img border="0" width="16" height="21" 407 src="interfaces/default/images/itext.gif" 408 alt="{$alt}" title="{$title}"/> 409 </xsl:template> 410 411 <xsl:template name="bookshelfimg"> 412 <xsl:param name="alt"/> 413 <xsl:param name="title"/> 414 <img border="0" width="20" height="16" 415 src="interfaces/default/images/bshelf.gif" 416 alt="{$alt}" title="{$title}"/> 417 </xsl:template> 418 370 419 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.