[CMF-checkins] CVS: CMF - addWorkflow.dtml:1.1 selectWorkflows.dtml:1.1
shane@digicool.com
shane@digicool.com
Sat, 7 Apr 2001 19:14:05 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore/dtml
In directory korak:/tmp/cvs-serv9426/dtml
Added Files:
addWorkflow.dtml selectWorkflows.dtml
Log Message:
Made WorkflowTool into a folder, moved DefaultWorkflow to CMFDefault, and
provided an interface for connecting types to workflows. Woohoo!
--- Added File addWorkflow.dtml in package CMF ---
<dtml-let form_title="'Add workflow'">
<dtml-var manage_page_header>
<dtml-var manage_form_title>
</dtml-let>
<form action="manage_addWorkflow" method="POST">
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
<div class="form-label">
Id
</div>
</td>
<td align="left" valign="top">
<input type="text" name="id" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
Type
</label></div>
</td>
<td align="left" valign="top">
<dtml-in workflow_types>
<input type="radio" name="workflow_type" value="&dtml-sequence-key;">
&dtml-sequence-item;<br />
</dtml-in>
</td>
</tr>
<tr>
<td align="left" valign="top">
</td>
<td align="left" valign="top">
<div class="form-element">
<input class="form-element" type="submit" name="submit"
value=" Add " />
</div>
</td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>
--- Added File selectWorkflows.dtml in package CMF ---
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<h3>Workflows by type</h3>
<form action="manage_changeWorkflows" method="POST">
<table>
<dtml-in types_info mapping sort=id>
<tr>
<td>
<a href="../portal_types/&dtml-id;/manage_workspace">&dtml-id;<dtml-if
title>(&dtml-title;)</dtml-if></a>
</td>
<td>
<input type="text" name="chain_&dtml-id;" value="&dtml-chain;" size="70" />
</td>
</tr>
</dtml-in>
<tr>
<th align="left">(Default)</th>
<td>
<input type="text" name="default_chain" value="&dtml-default_chain;" size="70" />
</td>
</tr>
</table>
<input type="submit" name="submit" value="Change" />
</form>
<dtml-var manage_page_footer>