[Zope-CVS] CVS: Products/CookieCrumbler/dtml - logged_in.dtml:1.3 logged_out.dtml:1.3

Shane Hathaway shane@zope.com
Thu, 19 Jun 2003 16:28:34 -0400


Update of /cvs-repository/Products/CookieCrumbler/dtml
In directory cvs.zope.org:/tmp/cvs-serv5312/dtml

Modified Files:
	logged_in.dtml logged_out.dtml 
Log Message:
Better default login/logout forms

=== Products/CookieCrumbler/dtml/logged_in.dtml 1.2 => 1.3 ===
--- Products/CookieCrumbler/dtml/logged_in.dtml:1.2	Wed Jun 18 11:49:40 2003
+++ Products/CookieCrumbler/dtml/logged_in.dtml	Thu Jun 19 16:28:34 2003
@@ -5,7 +5,7 @@
  <!-- Redirect or generate an unauthorized response -->
  <dtml-call expr="REQUEST['RESPONSE'].unauthorized()">
 
- <h3>Login failure</h3>
+ <h2>Login failed</h2>
  <p>Please <a href="login_form?came_from=&dtml.url_quote-came_from;"
    >try again.</a></p>
 
@@ -14,7 +14,8 @@
   <dtml-call expr="RESPONSE.redirect(came_from)">
  <dtml-else>
 
-  <p>Welcome!</p>
+ <h2>Login successful</h2>
+ <p><a href="../">Continue</a></p>
 
  </dtml-if>
 </dtml-if>


=== Products/CookieCrumbler/dtml/logged_out.dtml 1.2 => 1.3 ===
--- Products/CookieCrumbler/dtml/logged_out.dtml:1.2	Wed Jun 18 11:49:40 2003
+++ Products/CookieCrumbler/dtml/logged_out.dtml	Thu Jun 19 16:28:34 2003
@@ -1,8 +1,10 @@
 <dtml-var standard_login_header>
 
 <dtml-if expr="_.SecurityGetUser().getUserName() == 'Anonymous User'">
- <h3>Logged out</h3>
- <p>Come again soon!</p>
+
+ <h2>Logged out</h2>
+ <p><a href="../">Continue</a></p>
+
 <dtml-else>
  You are logged in using HTTP authentication.  You may need to
  <a href="/manage_zmi_logout">log out of the Zope management interface</a>.