<dtml-var standard_html_header>

<dtml-let member="portal_membership.getAuthenticatedMember()"
  review_state="portal_workflow.getInfoFor(this(), 'review_state')"
  review_history="portal_workflow.getInfoFor(this(), 'review_history')">

<div class="Desktop">

<h1> Retract Item </h1>

<dtml-if message>
 <h2 class="DesktopTitle">&dtml-message;</h2>
</dtml-if>

<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>&dtml-review_state;</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>

<dtml-if review_history>
 <p><strong>Reviewing history</strong><br>
 <dtml-in review_history mapping reverse>
  <dtml-var time fmt="aCommon"> &dtml-action;
  <dtml-if effective_date>
  (effective: <dtml-var effective_date fmt="aCommon">)
  </dtml-if>
  by &dtml-actor;<br>
  <dtml-if "_['sequence-item']['comments']">
   </p><dtml-var "_['sequence-item']['comments']" fmt="structured-text"><p>
  </dtml-if>
 </dtml-in>
 </p>
</dtml-if>

</dtml-let>

</div>

<dtml-var standard_html_footer>
