[CMF-checkins] CVS: CMF - discussion_reply_preview.pt:1.1 discussion_reply_form.pt:1.2

andrew@digicool.com andrew@digicool.com
Mon, 25 Jun 2001 13:48:23 -0400 (EDT)


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

Modified Files:
	discussion_reply_form.pt 
Added Files:
	discussion_reply_preview.pt 
Log Message:

*discussion_reply_form.pt - removed a tal:define, making the
value a little more concise.
*discussion_reply_preview.pt - converted to ZPT



--- Added File discussion_reply_preview.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">

<h3 tal:content="python: request.form['title']"></h3>

<div tal:define="pss modules/Products.PythonScripts.standard"
     tal:replace="structure python: pss.structured_text(request.form['text'])">Text Body</div>

<form method="POST" action=""
      tal:attributes="action python: here.absolute_url() + '/talkback'">
 <input type="hidden" name="title" value=""
      tal:attributes="value python: request.form['title']">
 <input type="hidden" name="text" value=""
      tal:attributes="value python: request.form['text']">
 <input type="hidden" name="title_override" value=""
      tal:attributes="value python:  request.form['title']">
 <input type="hidden" name="text_override" value=""
      tal:attributes="value python:  request.form['text']">
  <input type="hidden" name="Creator" value=""
         tal:attributes="value python: here.portal_membership.getAuthenticatedMember()">
 <table><tr>
  <td width="15%"></td>
  <td>
   <input type="submit" value="Edit" name=""
          tal:define="hId here/getId"
		  tal:attributes="name python: hId + '/discussion_reply_form:method'">
   <input type="submit" value="Reply" name="discussion_reply:method">
  </td>
 </tr></table>
</form>
</div>
</body>
</html>


--- Updated File discussion_reply_form.pt in package CMF --
--- discussion_reply_form.pt	2001/06/25 17:29:20	1.1
+++ discussion_reply_form.pt	2001/06/25 17:48:23	1.2
@@ -8,8 +8,7 @@
 <form method="POST" action="" 
       tal:attributes="action python: here.absolute_url() + '/talkback'">
 <input type="hidden" name="Creator" value=""
-       tal:define="member python: here.portal_membership.getAuthenticatedMember()"
-	   tal:attributes="value member">
+	   tal:attributes="value python: here.portal_membership.getAuthenticatedMember()">
 
 <table class="FormLayout">
  <tr>