Changeset 5686 for trunk/gsdl3/web/interfaces/default/transform/style.xsl
- Timestamp:
- 2003-10-21T10:11:56+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/style.xsl
r5390 r5686 22 22 <body xsl:use-attribute-sets="body-style"> 23 23 <table border="0" cellspacing="0" cellpadding="0" width="100%"> 24 <td valign="top" width="65"> 25 <img src="interfaces/default/images/spacer.gif" width="65" height="1" alt="" border="0"/> 26 </td> 24 <td valign="top" width="65"/><!-- a space for our side bar--> 27 25 <td> 28 26 <table width="100%"> … … 73 71 <center> 74 72 <p/> 75 <small> powered by greenstone3</small>73 <small><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gs3power')"/></small> 76 74 </center> 77 75 </xsl:template> … … 191 189 <xsl:choose> 192 190 <xsl:when test="@nodeType='root'"> 193 194 <xsl:when test="documentNode">195 <img border="0" width="28" height="23"196 src="interfaces/default/images/openbook.gif"197 alt="Close this book"/>198 </xsl:when>199 <xsl:otherwise>200 <img border="0" width="18" height="11"201 src="interfaces/default/images/book.gif"202 alt="Open this document and view contents"/>203 </xsl:otherwise>204 191 <xsl:choose> 192 <xsl:when test="documentNode"> 193 <xsl:call-template name="openbookimg"> 194 <xsl:with-param name="title">Close this book</xsl:with-param> 195 </xsl:call-template> 196 </xsl:when> 197 <xsl:otherwise> 198 <xsl:call-template name="closedbookimg"> 199 <xsl:with-param name="title">Open this document and view contents</xsl:with-param> 200 </xsl:call-template> 201 </xsl:otherwise> 202 </xsl:choose> 205 203 </xsl:when> 206 207 <!-- Interior node: folder icon (open or closed) -->208 <xsl:when test="@nodeType='interior'">209 210 <xsl:when test="documentNode">211 <img border="0" width="23" height="15"212 src="interfaces/default/images/openfldr.gif"213 alt="Close this folder"/>214 </xsl:when>215 <xsl:otherwise>216 <img border="0" width="23" height="15"217 src="interfaces/default/images/clsdfldr.gif"218 alt="Open this folder and view contents"/>219 </xsl:otherwise>220 221 </xsl:when>222 223 <!-- Leaf node: page icon, and this is the default -->224 <xsl:otherwise>225 <img border="0" width="16" height="21" 226 src="interfaces/default/images/itext.gif"227 alt="View the document"/>204 205 <!-- Interior node: folder icon (open or closed) --> 206 <xsl:when test="@nodeType='interior'"> 207 <xsl:choose> 208 <xsl:when test="documentNode"> 209 <xsl:call-template name="openfolderimg"> 210 <xsl:with-param name="title">Close this folder</xsl:with-param> 211 </xsl:call-template> 212 </xsl:when> 213 <xsl:otherwise> 214 <xsl:call-template name="closedfolderimg"> 215 <xsl:with-param name="title">Open this folder and view contents</xsl:with-param> 216 </xsl:call-template> 217 </xsl:otherwise> 218 </xsl:choose> 219 </xsl:when> 220 221 <!-- Leaf node: page icon, and this is the default --> 222 <xsl:otherwise> 223 <xsl:call-template name="textpageimg"> 224 <xsl:with-param name="title">View the document</xsl:with-param> 225 </xsl:call-template> 228 226 </xsl:otherwise> 229 227 </xsl:choose> 230 228 </xsl:template> 231 229 230 <xsl:template name="openbookimg"> 231 <xsl:param name="alt"/> 232 <xsl:param name="title"/> 233 <img border="0" width="28" height="23" 234 src="interfaces/default/images/openbook.gif" 235 alt="{$alt}" title="{$title}"/> 236 </xsl:template> 237 238 <xsl:template name="closedbookimg"> 239 <xsl:param name="alt"/> 240 <xsl:param name="title"/> 241 <img border="0" width="18" height="11" 242 src="interfaces/default/images/book.gif" 243 alt="{$alt}" title="{$title}"/> 244 </xsl:template> 245 246 <xsl:template name="openfolderimg"> 247 <xsl:param name="alt"/> 248 <xsl:param name="title"/> 249 <img border="0" width="23" height="15" 250 src="interfaces/default/images/openfldr.gif" 251 alt="{$alt}" title="{$title}"/> 252 </xsl:template> 253 254 <xsl:template name="closedfolderimg"> 255 <xsl:param name="alt"/> 256 <xsl:param name="title"/> 257 <img border="0" width="23" height="15" 258 src="interfaces/default/images/clsdfldr.gif" 259 alt="{$alt}" title="{$title}"/> 260 </xsl:template> 261 262 <xsl:template name="textpageimg"> 263 <xsl:param name="alt"/> 264 <xsl:param name="title"/> 265 <img border="0" width="16" height="21" 266 src="interfaces/default/images/itext.gif" 267 alt="{$alt}" title="{$title}"/> 268 </xsl:template> 269 270 <xsl:template name="bookshelfimg"> 271 <xsl:param name="alt"/> 272 <xsl:param name="title"/> 273 <img border="0" width="20" height="16" 274 src="interfaces/default/images/bshelf.gif" 275 alt="{$alt}" title="{$title}"/> 276 </xsl:template> 232 277 </xsl:stylesheet> 233 278
Note:
See TracChangeset
for help on using the changeset viewer.