summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/base.xslt
diff options
context:
space:
mode:
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');" />