Changeset 28333 for documentation/trunk/tutorial_sample_files
- Timestamp:
- 2013-09-30T16:30:01+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorial_sample_files/custom/home-tutorial-final.xsl
r27885 r28333 14 14 <meta name="description" content="" /> 15 15 <title><xsl:call-template name="siteName"/></title> 16 <link href="interfaces/default/style/themes/tutorialbliss/style.css" rel="stylesheet" type="text/css" media="screen" /> 16 <link href="interfaces/{$interface_name}/style/themes/tutorialbliss/style.css" rel="stylesheet" type="text/css" media="screen" /> 17 <link rel="icon" href="interfaces/{$interface_name}/style/themes/tutorialbliss/images/icon.jpg" type="image/jpg"/> 17 18 <!-- 18 19 Design by Free CSS Templates … … 29 30 <body> 30 31 <div id="banner-wrapper"> 31 <div id="banner"><img src="interfaces/ default/style/themes/tutorialbliss/images/ngunguru.jpg" width="1200" height="300" alt="" /></div>32 <div id="banner"><img src="interfaces/{$interface_name}/style/themes/tutorialbliss/images/ngunguru.jpg" width="1200" height="300" alt="" /></div> 32 33 </div> 33 34 <div id="header-wrapper"> 34 35 <div id="header"> 35 36 <div id="logo"> 36 <h1><a href=" library"><xsl:call-template name="siteName"/></a></h1>37 <h1><a href="{$library_name}"><xsl:call-template name="siteName"/></a></h1> 37 38 <p>A <a href="http://www.greenstone.org/">Greenstone3</a> Digital Library</p> 38 39 </div> … … 57 58 <ul> 58 59 <xsl:call-template name="loginButton"/> 59 <li><a href=" library/collection//page/help">Help</a></li>60 <li><a href=" library/collection//page/pref">Preferences</a></li>60 <li><a href="{$library_name}/collection//page/help">Help</a></li> 61 <li><a href="{$library_name}/collection//page/pref">Preferences</a></li> 61 62 </ul> 62 63 </li> … … 113 114 <xsl:variable name="collectionName" select="@name"/> 114 115 <li> 115 <a href=" library/collection/{$collectionName}/page/about">116 <a href="{$library_name}/collection/{$collectionName}/page/about"> 116 117 <xsl:value-of select="displayItem[@name='name']"/> 117 118 </a> … … 142 143 <xsl:when test="$username"> 143 144 <li><a> 144 <xsl:attribute name="href"> library/admin/AccountSettings?s1.username=<xsl:value-of select="$username"/></xsl:attribute><xsl:value-of select="$username"/>145 <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"/> 145 146 </a></li> 146 <li><a href=" library/admin/Register">Register a new user</a></li>147 <li><a href=" library/admin/ListUsers">Administration</a></li>148 <li><a><xsl:attribute name="href"> library?logout=</xsl:attribute>Logout</a></li>147 <li><a href="{$library_name}/admin/AddUser">Register a new user</a></li> 148 <li><a href="{$library_name}/admin/ListUsers">Administration</a></li> 149 <li><a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>?logout=</xsl:attribute>Logout</a></li> 149 150 </xsl:when> 150 151 <xsl:otherwise> 151 <li><a href="?a=p&sa=login&redirectURL= library%3Fa=p%26sa=home">Login152 <li><a href="?a=p&sa=login&redirectURL={$library_name}%3Fa=p%26sa=home">Login 152 153 <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_tip')"/></xsl:attribute> 153 154
Note:
See TracChangeset
for help on using the changeset viewer.