[CMF-checkins] CVS: CMF/CMFWorkspaces/www - explainOrganizationTool.dtml:1.1 placement.zpt:1.1
Shane Hathaway
shane@cvs.zope.org
Fri, 24 May 2002 13:48:38 -0400
Update of /cvs-repository/CMF/CMFWorkspaces/www
In directory cvs.zope.org:/tmp/cvs-serv27973/www
Added Files:
explainOrganizationTool.dtml placement.zpt
Log Message:
Linked in the organization tool.
=== Added File CMF/CMFWorkspaces/www/explainOrganizationTool.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<h3> <code>portal_organization</code> Tool </h3>
<p> This tool specifies locations for new content. Workspaces use this tool
to display the list of addable content types.
</p>
<dtml-var manage_page_footer>
=== Added File CMF/CMFWorkspaces/www/placement.zpt ===
<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
tal:replace="structure here/manage_tabs">Tabs</h2>
<form action="setLocationInfo" method="post">
<table tal:define="records here/getLocationInfo">
<th>
CMF Type
</th>
<th>
Path (relative to portal)
</th>
<th>
Factory skin method name
</th>
<tr tal:repeat="record records">
<td>
<select name="info.type:records">
<option tal:repeat="name here/portal_types/listContentTypes"
tal:attributes="value name; selected python: name == record['type']"
tal:content="name">Document</option>
<option value="">(delete)</option>
</td>
<td><input type="text" name="info.location:records" size="40"
tal:attributes="value record/location" /></td>
<td><input type="text" name="info.skin_name:records" size="20"
tal:attributes="value record/skin_name" /></td>
</tr>
<tr>
<td>
<select name="info.type:records">
<option value="">Add a type...</option>
<option tal:repeat="name here/portal_types/listContentTypes"
tal:attributes="value name"
tal:content="name">Document</option>
</td>
<td><input type="text" name="info.location:records" size="40" /></td>
<td><input type="text" name="info.skin_name:records" size="20" /></td>
</tr>
</table>
<input type="submit" name="submit" value="Save Changes" />
</form>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>