mango r276 - in branches/django: . www



Author: ovitters
Date: Sun Jun 29 00:21:38 2008
New Revision: 276
URL: http://svn.gnome.org/viewvc/mango?rev=276&view=rev

Log:
	* www/login.xsl: Correct various links.
	* www/page.xsl:


Modified:
   branches/django/   (props changed)
   branches/django/ChangeLog
   branches/django/www/login.xsl
   branches/django/www/page.xsl

Modified: branches/django/www/login.xsl
==============================================================================
--- branches/django/www/login.xsl	(original)
+++ branches/django/www/login.xsl	Sun Jun 29 00:21:38 2008
@@ -13,7 +13,7 @@
 
   <xsl:include href="common.xsl" />
 
-   <xsl:variable name="script" value="'login.php'"/>
+   <xsl:variable name="script" value="'.'"/>
 
    <xsl:template match="loginform">
    <xsl:choose>
@@ -30,7 +30,7 @@
     </xsl:otherwise>
    </xsl:choose>
 
-   <form method="post" action="login.php" name="f">
+   <form method="post" action="{script}" name="f">
     <input type="hidden" name="action" value="login"/>
     <input type="hidden" name="mango_token" value="{/page/@token}"/>
     <xsl:if test="boolean(@redirect)">
@@ -138,7 +138,7 @@
   <xsl:template match="loggedoutpage">
    <h1>Logged out</h1>
    <p>Thanks for dropping by. Catch you again next time.</p>
-   <p>Please <a href="{/page/@baseurl}/index.php">click here</a> to continue.</p>
+   <p>Please <a href="{/page/@baseurl}/">click here</a> to continue.</p>
   </xsl:template>
 
 <!--

Modified: branches/django/www/page.xsl
==============================================================================
--- branches/django/www/page.xsl	(original)
+++ branches/django/www/page.xsl	Sun Jun 29 00:21:38 2008
@@ -73,7 +73,7 @@
 	     <li><xsl:if test="$channel = 'login'"><xsl:attribute name="class">selected</xsl:attribute></xsl:if><a href="{/page/@baseurl}/logout/"><span>Logout</span></a></li>
 	   </xsl:if>
 	   <xsl:if test="not(boolean(user))">
-	    <li><xsl:if test="$channel = 'login'"><xsl:attribute name="class">selected</xsl:attribute></xsl:if><a href="{/page/@baseurl}/login.php"><span>Login</span></a></li>
+	    <li><xsl:if test="$channel = 'login'"><xsl:attribute name="class">selected</xsl:attribute></xsl:if><a href="{/page/@baseurl}/login/"><span>Login</span></a></li>
 	   </xsl:if>
 	  </ul>
 	</div> <!-- end of #tabs -->
@@ -100,7 +100,7 @@
   </xsl:template>
 
   <xsl:template match="/page/notloggedin">
-   <p class="error">You must be <a href="{/page/@baseurl}/login.php?redirect={/page/@thisurl}">logged in</a> to use this page.</p>
+   <p class="error">You must be <a href="{/page/@baseurl}/login/?redirect={/page/@thisurl}">logged in</a> to use this page.</p>
   </xsl:template>
 
   <xsl:template match="/page/notauthorised">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]