Changeset 28331
- Timestamp:
- 2013-09-30T16:28:24+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorial_sample_files/custom/gs3-homepage.txt
r27885 r28331 2 2 3 3 <xsl:template name="collectionsList"> 4 <xsl:for-each select="./page/pageResponse/collectionList/collection">5 <xsl:variable name="collectionName" select="@name"/>6 <li>7 <a href="library/collection/{$collectionName}/page/about">8 <xsl:value-of select="displayItem[@name='name']"/>9 </a>10 </li>11 </xsl:for-each>12 </xsl:template> 4 <xsl:for-each select="./page/pageResponse/collectionList/collection"> 5 <xsl:variable name="collectionName" select="@name"/> 6 <li> 7 <a href="{$library_name}/collection/{$collectionName}/page/about"> 8 <xsl:value-of select="displayItem[@name='name']"/> 9 </a> 10 </li> 11 </xsl:for-each> 12 </xsl:template> 13 13 14 14 … … 49 49 <xsl:when test="$username"> 50 50 <li><a> 51 <xsl:attribute name="href"> library/admin/AccountSettings?s1.username=<xsl:value-of select="$username"/></xsl:attribute><xsl:value-of select="$username"/>51 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/admin/AccountSettings?s1.username=<xsl:value-of select="$username"/></xsl:attribute><xsl:value-of select="$username"/> 52 52 </a></li> 53 <li><a href=" library/admin/AddUser">Register a new user</a></li>54 <li><a href=" library/admin/ListUsers">Administration</a></li>55 <li><a><xsl:attribute name="href"> library?logout=</xsl:attribute>Logout</a></li>53 <li><a href="{$library_name}/admin/AddUser">Register a new user</a></li> 54 <li><a href="{$library_name}/admin/ListUsers">Administration</a></li> 55 <li><a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>?logout=</xsl:attribute>Logout</a></li> 56 56 </xsl:when> 57 57 <xsl:otherwise> 58 <li><a href="?a=p&sa=login&redirectURL= library%3Fa=p%26sa=home">Login58 <li><a href="?a=p&sa=login&redirectURL={$library_name}%3Fa=p%26sa=home">Login 59 59 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_tip')"/></xsl:attribute> 60 61 60 </a></li> 62 61 </xsl:otherwise>
Note:
See TracChangeset
for help on using the changeset viewer.