summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-12-21 18:43:40 +0000
committerrandomdan <randomdan@localhost>2012-12-21 18:43:40 +0000
commit3eee30d9f3d4cc9704602c314c72c527b0de0414 (patch)
treed8e073d6280ca276903f8551954792b0b8dcd467
parentCorrect split homepages for package URLs (diff)
downloadgentoobrowse-3eee30d9f3d4cc9704602c314c72c527b0de0414.tar.bz2
gentoobrowse-3eee30d9f3d4cc9704602c314c72c527b0de0414.tar.xz
gentoobrowse-3eee30d9f3d4cc9704602c314c72c527b0de0414.zip
Fix signup process
-rw-r--r--gentoobrowse/emails/signup.xslt2
-rw-r--r--gentoobrowse/xslt/base.xslt3
2 files changed, 3 insertions, 2 deletions
diff --git a/gentoobrowse/emails/signup.xslt b/gentoobrowse/emails/signup.xslt
index 509a155..d0a0823 100644
--- a/gentoobrowse/emails/signup.xslt
+++ b/gentoobrowse/emails/signup.xslt
@@ -12,7 +12,7 @@
<body>
<p>Welcome to Gentoo Browse!</p>
<p>
- Click <a><xsl:attribute name="href">http://<xsl:value-of select="/signup/project2:environment/servername" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" />
+ Click <a><xsl:attribute name="href">http://gentoobrowse.randomdan.homeip.net/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" />
</xsl:attribute>this link</a> to confirm your account.
</p>
<p>Or alternatively, copy and paste this code into the confirmation page: <xsl:value-of select="/signup/verifyguids/verifyguid/guid" /></p>
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt
index 1f6dcd7..19b019e 100644
--- a/gentoobrowse/xslt/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -30,7 +30,7 @@
<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/loggedInUserID) = 0">
- <li><a href="JavaScript: void(0);" onclick="toggleForm('#login');" rel="nofollow">Login</a></li>
+ <li><a href="JavaScript: void(0);" onclick="toggleForm('#login');" rel="nofollow">Login/Sign up</a></li>
</xsl:if>
<xsl:if test="count(/gentoo/project2:session/loggedInUserID) &gt; 0">
<li><a href="/accountHome" rel="nofollow">My Account</a></li>
@@ -50,6 +50,7 @@
<input type="password" name="password" placeholder="Password" required="required" />
<input type="submit" value="Login" class="submit" />
<input type="submit" value="Cancel" class="submit" onclick="return hideForm('#login');" />
+ <div style="text-align:right"><a href="/signup">Sign up</a></div>
</form>
</nav>
<aside id="news">