- Timestamp:
- 2003-08-07T17:05:40+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/document.xsl
r4975 r5119 34 34 <xsl:template match="pageResponse"> 35 35 <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable> 36 < center>37 <xsl:call-template name=" collectionPageBanner">36 <!--<center>--> 37 <xsl:call-template name="standardPageBanner"> 38 38 <xsl:with-param name="collName" select="$collName"/> 39 39 </xsl:call-template> 40 40 <xsl:call-template name="standardNavBar"> 41 <xsl:with-param name="collName" select="$collName"/> 42 </xsl:call-template> 43 <!-- <xsl:call-template name="dividerBar"/>--> 41 44 <!-- display the document --> 42 45 <xsl:apply-templates select="document"> 43 46 <xsl:with-param name="collName" select="$collName"/> 44 47 </xsl:apply-templates> 45 </center>48 <!-- </center>--> 46 49 47 <xsl:call-template name=" greenBar"/>50 <xsl:call-template name="dividerBar"/> 48 51 </xsl:template> 49 52 … … 62 65 <xsl:template name="documentHeading"> 63 66 <xsl:param name="collName"/> 64 <table width=" 537" cellpadding="0" cellspacing="0">67 <table width="100%" cellpadding="0" cellspacing="0"> 65 68 <tr> 66 69 <td valign="top" align="left" width="200"> … … 162 165 <xsl:template match="nodeContent"> 163 166 <p/> 164 <table width=" 537" cellpadding="0" cellspacing="0">167 <table width="100%" cellpadding="0" cellspacing="0"> 165 168 <tr> 166 169 <td align="left"> … … 174 177 </tr> 175 178 </table> 179 </xsl:template> 180 181 <!-- match any link nodes --> 182 183 <xsl:template match="link"> 184 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/> 185 <xsl:variable name="actionargs"> 186 <xsl:choose> 187 <xsl:when test="@type='document'">a=d</xsl:when> 188 <xsl:when test="@type='query'">a=q&s=<xsl:value-of select="@service"/>&rt=r</xsl:when> 189 <xsl:otherwise> 190 p 191 </xsl:otherwise> 192 </xsl:choose> 193 </xsl:variable> 194 <xsl:variable name="serviceargs"> 195 <xsl:for-each select="param">&s1.<xsl:value-of select="@name"/>=<xsl:value-of select="@value"/></xsl:for-each> 196 </xsl:variable> 197 <a href="{$library_name}?{$actionargs}&c={$collName}{$serviceargs}"><xsl:value-of disable-output-escaping="yes" select="."/></a> 176 198 </xsl:template> 177 199
Note:
See TracChangeset
for help on using the changeset viewer.