[Zope-CVS] CVS: Products/CookieCrumbler/dtml - index_html.dtml:1.1 standard_login_footer.dtml:1.1 standard_login_header.dtml:1.1 addCC.dtml:1.2 logged_in.dtml:1.2 logged_out.dtml:1.2 login_form.dtml:1.2

Shane Hathaway shane@zope.com
Wed, 18 Jun 2003 11:50:11 -0400


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

Modified Files:
	addCC.dtml logged_in.dtml logged_out.dtml login_form.dtml 
Added Files:
	index_html.dtml standard_login_footer.dtml 
	standard_login_header.dtml 
Log Message:
CookieCrumblers are now folders that hold login forms.

This makes it easier to use CookieCrumblers in sites that disallow
anonymous access.  You now only need to grant the "View" permission to
anonymous users in the context of the cookie crumbler.



=== Added File Products/CookieCrumbler/dtml/index_html.dtml ===
<dtml-var login_form>


=== Added File Products/CookieCrumbler/dtml/standard_login_footer.dtml ===
</body>
</html>


=== Added File Products/CookieCrumbler/dtml/standard_login_header.dtml ===
<html>
<head>
<title>Zope</title>
</head>
<body>


=== Products/CookieCrumbler/dtml/addCC.dtml 1.1 => 1.2 ===
--- Products/CookieCrumbler/dtml/addCC.dtml:1.1	Fri Jun  6 11:15:37 2003
+++ Products/CookieCrumbler/dtml/addCC.dtml	Wed Jun 18 11:49:40 2003
@@ -18,13 +18,13 @@
     </div>
     </td>
     <td align="left" valign="top">
-    <input type="text" name="id" size="25" value="cookie_authentication" />
+    <input type="text" name="id" size="25" value="login" />
     </td>
   </tr>
   <tr>
     <td align="left" valign="top">
     <div class="form-label">
-    Create login_form, logged_in, and logged_out DTML methods
+    Create default forms
     </div>
     </td>
     <td align="left" valign="top">


=== Products/CookieCrumbler/dtml/logged_in.dtml 1.1 => 1.2 ===
--- Products/CookieCrumbler/dtml/logged_in.dtml:1.1	Fri Jun  6 11:15:37 2003
+++ Products/CookieCrumbler/dtml/logged_in.dtml	Wed Jun 18 11:49:40 2003
@@ -1,4 +1,4 @@
-<dtml-var standard_html_header>
+<dtml-var standard_login_header>
 
 <dtml-let came_from="REQUEST.get('came_from', '')">
 <dtml-if expr="_.SecurityGetUser().getUserName() == 'Anonymous User'">
@@ -20,4 +20,4 @@
 </dtml-if>
 </dtml-let>
 
-<dtml-var standard_html_footer>
+<dtml-var standard_login_footer>


=== Products/CookieCrumbler/dtml/logged_out.dtml 1.1 => 1.2 ===
--- Products/CookieCrumbler/dtml/logged_out.dtml:1.1	Fri Jun  6 11:15:37 2003
+++ Products/CookieCrumbler/dtml/logged_out.dtml	Wed Jun 18 11:49:40 2003
@@ -1,4 +1,4 @@
-<dtml-var standard_html_header>
+<dtml-var standard_login_header>
 
 <dtml-if expr="_.SecurityGetUser().getUserName() == 'Anonymous User'">
  <h3>Logged out</h3>
@@ -8,4 +8,4 @@
  <a href="/manage_zmi_logout">log out of the Zope management interface</a>.
 </dtml-if>
 
-<dtml-var standard_html_footer>
+<dtml-var standard_login_footer>


=== Products/CookieCrumbler/dtml/login_form.dtml 1.1 => 1.2 ===
--- Products/CookieCrumbler/dtml/login_form.dtml:1.1	Fri Jun  6 11:15:37 2003
+++ Products/CookieCrumbler/dtml/login_form.dtml	Wed Jun 18 11:49:40 2003
@@ -1,4 +1,4 @@
-<dtml-var standard_html_header>
+<dtml-var standard_login_header>
 
 <h1 class="DesktopTitle">
  Log in
@@ -67,4 +67,4 @@
 so that when you next log in, your user name will already be filled in for you.
 </p>
 
-<dtml-var standard_html_footer>
+<dtml-var standard_login_footer>