[CMF-checkins] CVS: CMF - content_byline.pt:1.1 join_form.pt:1.1

andrew@digicool.com andrew@digicool.com
Wed, 20 Jun 2001 17:50:22 -0400 (EDT)


Update of /cvs-repository/CMF/CMFDecor/skins/zpt_generic
In directory korak.digicool.com:/tmp/cvs-serv2276/zpt_generic

Added Files:
	content_byline.pt join_form.pt 
Log Message:

*Converted to ZPT



--- Added File content_byline.pt in package CMF ---
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal">
<body>

 <div tal:define="creator here/Creator; home_url python: here.portal_membership.getHomeUrl(creator)"
       tal:condition="home_url">
   			Created by <span><a href="here.html" title="Here"
			       tal:define="title creator"
			       tal:attributes="href home_url; title title"
				   tal:content="title">Me</a>.</span>
			<span tal:condition="python: not(home_url)"
			      tal:replace="creator">Me</span>
</div>
 <span tal:condition="here/ModificationDate">
     Last modified on <span tal:content="here/ModificationDate">Today</span>
 </span>
</body>
</html>
--- Added File join_form.pt in package CMF ---
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:use-macro="here/main_template/macros/master">
<body>
<div metal:fill-slot="main">
<div class="Desktop">

<h1>Become a member</h1>

<div tal:define="registered python: here.portal_membership.getAuthenticatedMember().has_role('Member')">
    <div tal:condition="python: here.portal_membership.getAuthenticatedMember().has_role('Member')">
		<p>You are already a member. You may use the <a href="personalize_form">personalization form</a> 
		to change your membership information. </p>
    </div>
 <div tal:condition="python: not(registered)">
	<p> Becoming a member gives you the ability to personalize the site and participate in the community.</p>
	<p> It does not cost any money to become a member and your email and other personal information will remain private.</p>
       <span tal:condition="python: here.portal_properties.validate_email">
	   <p> You must submit a valid email address. This address will be used to send you your randomly-generated password.  
	   Once you have logged in with this password, you may change it to anything you like.</p>
	   </span>
<div class="ErrorMessage"
     tal:replace="request/error"
     tal:condition="error|nothing"><hr>
</div>
<form action="register" method="POST">

<input type="hidden" name="last_visit:date" value=""
	   tal:attributes="value here/ZopeTime">
<input type="hidden" name="prev_visit:date" value=""
       tal:attributes="value here/ZopeTime">

<table class="FormLayout">
 <tr>
  <th> Login Name
  </th>
  <td>
   <input type="text"
          name="username" size="30"
          value=""
		  tal:condition="request/username|nothing"
		  tal:attributes="value request/username">
   <input type="text"
          name="username" size="30"
          value=""
		  tal:condition="python: not(request.has_key('username'))">
  </td>
 </tr>
 <tr>
  <th> Email Address
  </th>
  <td align="left" valign="top">
   <input type="text" name="email" size="30"
          value=""
		  tal:condition="request/email|nothing"
		  tal:attributes="value request/email">
  </td>
 </tr>

<div tal:condition="python: not(here.portal_properties.validate_email)">
 <tr>
  <th> Password
  </th>
  <td align="left" valign="top">
   <input type="password" name="password" size="30">
  </td>
 </tr>
 <tr>
  <th> Password (confirm)
  </th>
  <td align="left" valign="top">
   <input type="password" name="confirm" size="30">
  </td>
 </tr>
 <tr>
  <th> Mail Password? 
  </th>
  <td>
   <input type="checkbox" name="mail_me" size="30" id="cb_mailme" />
   <em><label for="cb_mailme">Check this box to have your password 
   mailed to you.</label></em>
  </td>
 </tr>
</div>

 <tr>
  <td><br></td>
  <td>
   <input type="submit" name="submit" value="Register"> 
  </td>
 </tr>
</table>
</form>
</div>
</div>
</div>
</div>
</body>
</html>