[CMF-checkins] CVS: CMF - discussion_reply_preview.dtml:1.2
tseaver@digicool.com
tseaver@digicool.com
Wed, 28 Mar 2001 17:13:01 -0500 (EST)
Update of /cvs-repository/CMF/CMFDefault/skins/generic
In directory korak:/tmp/cvs-serv30464/generic
Modified Files:
discussion_reply_preview.dtml
Log Message:
* Ensure that reply's Creator propagates through preview (thanks
to Jeff Sasmor for reporting that our fix to Tracker issue #206
missed the "Preview" case).
--- Updated File discussion_reply_preview.dtml in package CMF --
--- discussion_reply_preview.dtml 2001/02/23 14:24:09 1.1
+++ discussion_reply_preview.dtml 2001/03/28 22:13:00 1.2
@@ -2,21 +2,25 @@
<h3><dtml-var "REQUEST.form['title']"></h3>
-<dtml-var content_byline>
-
<dtml-var "REQUEST.form['text']" fmt="structured-text">
<form method="POST" action="<dtml-var expr="absolute_url() + '/talkback'">">
- <input type="hidden" name="title" value="<dtml-var "REQUEST.form['title']" html_quote>">
- <input type="hidden" name="text" value="<dtml-var "REQUEST.form['text']" html_quote>">
+ <input type="hidden" name="title"
+ value="<dtml-var "REQUEST.form['title']" html_quote>">
+ <input type="hidden" name="text"
+ value="<dtml-var "REQUEST.form['text']" html_quote>">
<input type="hidden" name="title_override"
- value="<dtml-var "REQUEST.form['title']" html_quote>">
+ value="<dtml-var "REQUEST.form['title']" html_quote>">
<input type="hidden" name="text_override"
- value="<dtml-var "REQUEST.form['text']" html_quote>">
+ value="<dtml-var "REQUEST.form['text']" html_quote>">
+ <dtml-let member="portal_membership.getAuthenticatedMember()">
+ <input type="hidden" name="Creator" value="&dtml-member;">
+ </dtml-let>
<table><tr>
<td width="15%"></td>
<td>
- <input type="submit" value="Edit" name="&dtml-id;/discussion_reply_form:method">
+ <input type="submit" value="Edit"
+ name="&dtml-id;/discussion_reply_form:method">
<input type="submit" value="Reply" name="createReply:method">
</td>
</tr></table>