Changeset 8659 for trunk/gsdl3/web/interfaces/default/transform/style.xsl
- Timestamp:
- 2004-11-24T16:40:07+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/style.xsl
r8530 r8659 91 91 </td> 92 92 <td align="right"> 93 <table cellspacing='4'> 94 <tr> 95 <td class="gsbutton"> 96 <a class="gsbutton" href="{$library_name}?a=p&sa=home"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_tip')"/></xsl:attribute> 97 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/> 98 </a> 99 </td> 100 <xsl:choose> 101 <xsl:when test="$pageType='help'"> 102 <td class="gsbuttonoff"> 103 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 104 </td> 105 </xsl:when> 106 <xsl:otherwise> 107 <td class="gsbutton"> 108 <a class="gsbutton" href="{$library_name}?a=p&sa=help&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute> 109 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 110 </a> 111 </td> 112 </xsl:otherwise> 113 </xsl:choose> 114 <xsl:choose> 115 <xsl:when test="$pageType='pref'"> 116 <td class="gsbuttonoff"> 117 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 118 </td> 119 </xsl:when> 120 <xsl:otherwise> 121 <td class="gsbutton"> 122 <a class="gsbutton" href="{$library_name}?a=p&sa=pref&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute> 123 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 124 </a> 125 </td> 126 </xsl:otherwise> 127 </xsl:choose> 128 </tr> 129 </table> 93 <xsl:call-template name="top-buttons"> 94 <xsl:with-param name="collName" select="$collName"/> 95 <xsl:with-param name="pageType" select="$pageType"/> 96 </xsl:call-template> 130 97 </td> 131 98 </tr> … … 133 100 <p/> 134 101 </xsl:template> 135 102 103 <xsl:template name="top-buttons"> 104 <xsl:param name="collName"/> 105 <xsl:param name="pageType"/> 106 <table cellspacing='4'> 107 <tr> 108 <td class="gsbutton"> 109 <a class="gsbutton" href="{$library_name}?a=p&sa=home"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_tip')"/></xsl:attribute> 110 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home_b')"/> 111 </a> 112 </td> 113 <xsl:choose> 114 <xsl:when test="$pageType='help'"> 115 <td class="gsbuttonoff"> 116 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 117 </td> 118 </xsl:when> 119 <xsl:otherwise> 120 <td class="gsbutton"> 121 <a class="gsbutton" href="{$library_name}?a=p&sa=help&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute> 122 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/> 123 </a> 124 </td> 125 </xsl:otherwise> 126 </xsl:choose> 127 <xsl:choose> 128 <xsl:when test="$pageType='pref'"> 129 <td class="gsbuttonoff"> 130 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 131 </td> 132 </xsl:when> 133 <xsl:otherwise> 134 <td class="gsbutton"> 135 <a class="gsbutton" href="{$library_name}?a=p&sa=pref&c={$collName}"><xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_tip')"/></xsl:attribute> 136 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_b')"/> 137 </a> 138 </td> 139 </xsl:otherwise> 140 </xsl:choose> 141 </tr> 142 </table> 143 144 </xsl:template> 136 145 137 146 <xsl:template name="navigationBar"> … … 168 177 </xsl:otherwise> 169 178 </xsl:choose> 170 <br/>171 179 </xsl:template> 172 180
Note:
See TracChangeset
for help on using the changeset viewer.