[CMF-checkins] CVS: CMF - content_reject_form.pt:1.1 content_retract_form.pt:1.1 content_submit_form.pt:1.1

andrew@digicool.com andrew@digicool.com
Wed, 20 Jun 2001 16:43:42 -0400 (EDT)


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

Added Files:
	content_reject_form.pt content_retract_form.pt 
	content_submit_form.pt 
Log Message:

*Final files for the CMFDefaul/custom skin ZPT conversion



--- Added File content_reject_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"
     tal:define="member python: here.portal_membership.getAuthenticatedMember(); 
     review_state python: here.portal_workflow.getInfoFor(here, 'review_state');
	 review_history python: here.portal_workflow.getInfoFor(here, 'review_history')">


<h1> Reject <span tal:replace="here/getId">Me</span> </h1>
<span tal:replace="request/message"
   tal:condition="message|nothing"><hr></span>

<p>Use this form to reject the publication of a content item and set its 
   status to <b>Private</b>, thereby making it unavailable to 
   other portal members and visitors.</p>


<form method="post" action="content_status_modify">
 <table class="FormLayout">
  <tr>
   <td valign=top align=left>
    <strong>Status</strong>
   </td>
   <td valign=top align=left>
     This item is currently in <b><span tal:replace="review_state">Private</span></b> status.
     <input type="hidden" name="workflow_action" value="reject">
   </td>
  </tr>
  <tr>
   <td valign=top align=left colspan=2>
    <strong><em>Comments</em></strong><br>
    <textarea name="comment" cols="60" rows="5" wrap="soft"
     style="width: 100%"></textarea>
   </td>
  </tr>
  <tr>
   <td></td>
   <td><input type="submit" value=" Reject this Item "></td>
  </tr>
 </table>
</form>

<div tal:condition="review_history">
      <p><strong>Reviewing history</strong>
	  <br>
    <div tal:repeat="items python: here.reverseList(review_history)">
	<span tal:replace="python: items['time'].aCommon()"></span>
	<span tal:replace="items/action"></span>
  <span tal:condition="items/effective_date|nothing">
  (effective: <span tal:replace="python: items['effective_date'].aCommon()"></span>)
  </span>
  
  by <span tal:replace="items/actor">Actor</span><br>
   <div tal:define="rhComments items/comments"
		 tal:replace="rhComments">Comments</div>
 </div>
 </div>
</div>
</div>
</body>
</html>

--- Added File content_retract_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"
     tal:define="member python: here.portal_membership.getAuthenticatedMember(); 
     review_state python: here.portal_workflow.getInfoFor(here, 'review_state');
	 review_history python: here.portal_workflow.getInfoFor(here, 'review_history')">


<h1> Retract <span tal:replace="here/getId">Me</span> </h1>
<span tal:replace="request/message"
   tal:condition="message|nothing"><hr></span>

<p>Use this form to retract a content item by setting its 
   status to <b>Private</b>, thereby making it unavailable to
   other portal members and visitors.</p>


<form method="post" action="content_status_modify">
 <table class="FormLayout">
  <tr>
   <td valign=top align=left>
    <strong>Status</strong>
   </td>
   <td valign=top align=left>
     This item is currently in <b><span tal:replace="review_state">Private</span></b> status.
     <input type="hidden" name="workflow_action" value="retract">
   </td>
  </tr>
  <tr>
   <td valign=top align=left colspan=2>
    <strong><em>Comments</em></strong><br>
    <textarea name="comment" cols="60" rows="5" wrap="soft"
     style="width: 100%"></textarea>
   </td>
  </tr>
  <tr>
   <td></td>
   <td><input type="submit" value=" Retract this Item "></td>
  </tr>
 </table>
</form>
<div tal:condition="review_history">
      <p><strong>Reviewing history</strong>
	  <br>
    <div tal:repeat="items python: here.reverseList(review_history)">
	<span tal:replace="python: items['time'].aCommon()"></span>
	<span tal:replace="items/action"></span>
  <span tal:condition="items/effective_date|nothing">
  (effective: <span tal:replace="python: items['effective_date'].aCommon()"></span>)
  </span>
  
  by <span tal:replace="items/actor">Actor</span><br>
   <div tal:define="rhComments items/comments"
		 tal:replace="rhComments">Comments</div>
 </div>
 </div>
</div>
</div>
</body>
</html>

--- Added File content_submit_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"
     tal:define="member python: here.portal_membership.getAuthenticatedMember(); 
     review_state python: here.portal_workflow.getInfoFor(here, 'review_state');
	 review_history python: here.portal_workflow.getInfoFor(here, 'review_history')">


<h1> Submit <span tal:replace="here/getId">Me</span> for Review </h1>
<span tal:replace="request/message"
   tal:condition="message|nothing"><hr></span>

<p>To make an item published, it
   has to be reviewed by one of the site's reviewers. 
   A <b>published</b> item is available to the general
   member base and anonymous visitors.</p>

<p>Another way to control the visibility of an item is with its <b>effective
   date</b>.  An item is not publicly available before its effective date,
   <em>even if its status is <b>published</b></em>.</p>


<form method="post" action="content_status_modify">
 <table class="FormLayout">
  <tr>
   <td valign=top align=left>
    <strong>Status</strong>
   </td>
   <td valign=top align=left>
     This item is currently in <b><span tal:replace="review_state">Private</span></b> status.
     <input type="hidden" name="workflow_action" value="submit">
   </td>
  </tr>
  <tr>
   <td valign=top align=left colspan=2>
    <strong><em>Comments</em></strong><br>
    <textarea name="comment" cols="60" rows="5" wrap="soft"
     style="width: 100%"></textarea>
   </td>
  </tr>
  <tr>
   <td></td>
   <td><input type="submit" value=" Submit Item "></td>
  </tr>
 </table>
</form>
<div tal:condition="review_history">
      <p><strong>Reviewing history</strong>
	  <br>
    <div tal:repeat="items python: here.reverseList(review_history)">
	<span tal:replace="python: items['time'].aCommon()"></span>
	<span tal:replace="items/action"></span>
  <span tal:condition="items/effective_date|nothing">
  (effective: <span tal:replace="python: items['effective_date'].aCommon()"></span>)
  </span>
  
  by <span tal:replace="items/actor">Actor</span><br>
   <div tal:define="rhComments items/comments"
		 tal:replace="rhComments">Comments</div>
 </div>
 </div>
</div>
</div>
</body>
</html>