summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/base.xslt
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-11-25 18:59:27 +0000
committerrandomdan <randomdan@localhost>2011-11-25 18:59:27 +0000
commite6e7b841d5c6222d3efc320a892da6dfdd4bb224 (patch)
tree2c927f3c7f33e6371857dd52f26848f6f77e93da /gentoobrowse/xslt/base.xslt
parentHTML5 and jQuery (diff)
downloadgentoobrowse-e6e7b841d5c6222d3efc320a892da6dfdd4bb224.tar.bz2
gentoobrowse-e6e7b841d5c6222d3efc320a892da6dfdd4bb224.tar.xz
gentoobrowse-e6e7b841d5c6222d3efc320a892da6dfdd4bb224.zip
Remove the need to implement loadComplete which is empty in most cases
Restructure presenters in layers based on features allowing for simpler cache implementations Minor XSLT changes to support new layout from presentation which is more consistent
Diffstat (limited to 'gentoobrowse/xslt/base.xslt')
-rw-r--r--gentoobrowse/xslt/base.xslt6
1 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt
index 34f2dad..87bffca 100644
--- a/gentoobrowse/xslt/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -29,17 +29,17 @@
<li><a href="/categories">Browse</a></li>
<li><a href="/popular">Popular</a></li>
<li><a href="JavaScript: void(0);" onclick="toggleForm('#search');" rel="nofollow">Search</a></li>
- <xsl:if test="count(/gentoo/project2:session/project2:var[@name='loggedInUserID']) = 0">
+ <xsl:if test="count(/gentoo/project2:session/var[@name='loggedInUserID']) = 0">
<li><a href="JavaScript: void(0);" onclick="toggleForm('#login');" rel="nofollow">Login</a></li>
</xsl:if>
- <xsl:if test="count(/gentoo/project2:session/project2:var[@name='loggedInUserID']) &gt; 0">
+ <xsl:if test="count(/gentoo/project2:session/var[@name='loggedInUserID']) &gt; 0">
<li><a href="/accountHome" rel="nofollow">My Account</a></li>
</xsl:if>
</ul>
<form id="search" class="popup" action="/search" method="get">
<h1>Site search</h1>
<input type="search" name="criteria" placeholder="Search criteria" required="required" autofocus="autofocus">
- <xsl:attribute name="value"><xsl:value-of select="/gentoo/project2:params/project2:param[@name='criteria']/@value" /></xsl:attribute>
+ <xsl:attribute name="value"><xsl:value-of select="/gentoo/project2:params/param[@name='criteria']/@value" /></xsl:attribute>
</input>
<input type="submit" value="Search" class="submit" />
<input type="submit" value="Cancel" class="submit" onclick="return hideForm('#search');" />