[CMF-checkins] CVS: CMF/CMFCore/dtml - manageActionProviders.dtml:1.3 membershipRolemapping.dtml:1.2 selectWorkflows.dtml:1.3 skinProps.dtml:1.4
Sidnei da Silva
sidnei@x3ng.com.br
Mon, 1 Jul 2002 16:50:45 -0400
Update of /cvs-repository/CMF/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv26957/CMFCore/dtml
Modified Files:
manageActionProviders.dtml membershipRolemapping.dtml
selectWorkflows.dtml skinProps.dtml
Log Message:
Fixes to make the ZMI look cleaner. (it was badly b0rked since 1.0)
=== CMF/CMFCore/dtml/manageActionProviders.dtml 1.2 => 1.3 ===
-<body bgcolor="#ffffff">
+<dtml-let form_title="'Manage Action Providers'">
+<dtml-if manage_page_header>
+ <dtml-var manage_page_header>
+<dtml-else>
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+ <html lang="en">
+ <head>
+ <title>&dtml-form_title;</title>
+ </head>
+ <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
+ <h3>&dtml-form_title;</h3>
+</dtml-if>
+</dtml-let>
<dtml-var manage_tabs>
-<h2>Action Providers</h2>
+
<form action="manage_aproviders" method="POST">
<table>
<tr>
@@ -9,18 +20,16 @@
</tr>
<dtml-in listActionProviders>
<tr>
- <td>
+ <td class="form-element">
<input type="checkbox" name="chosen:list"
value="&dtml-sequence-item;">
&dtml-sequence-item;
- </td>
+ </td>
</tr>
</dtml-in>
<tr>
- <td>
- <input type="text" name="apname" value="" size="20">
- </td>
+ <td><input type="text" name="apname" value="" size="20"></td>
</tr>
<tr>
=== CMF/CMFCore/dtml/membershipRolemapping.dtml 1.1 => 1.2 ===
-<HTML lang="en">
-<head><title>Membership Tool Role Mappings</title></head>
-<body bgcolor="#ffffff">
+<dtml-let form_title="'Membership Tool Role Mappings'">
+<dtml-if manage_page_header>
+ <dtml-var manage_page_header>
+<dtml-else>
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+ <html lang="en">
+ <head>
+ <title>&dtml-form_title;</title>
+ </head>
+ <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
+ <h3>&dtml-form_title;</h3>
+</dtml-if>
+</dtml-let>
+
<dtml-var name="manage_tabs">
+
<h2>Membership role mappings</h2>
<p>Use this screen if you are using a userfolder other than the built-in folder to map
@@ -12,16 +23,16 @@
<dtml-if name="sequence-start">
<table border="1" cellpadding="3">
<tr>
- <td><b>Portal Role</b></td>
- <td><b>User Folder-defined Role</b></td>
+ <td class="form-label"><b>Portal Role</b></td>
+ <td class="form-label"><b>User Folder-defined Role</b></td>
<td> </td>
</tr>
</dtml-if>
<tr>
<form method="post" action="setRoleMapping">
- <td><dtml-var name="sequence-item"><input type="hidden" name="portal_role" value="&dtml-sequence-item;"></td>
- <td><input type="text" size="30" name="userfolder_role"
+ <td class="form-label"><dtml-var name="sequence-item"><input type="hidden" name="portal_role" value="&dtml-sequence-item;"></td>
+ <td class="form-element"><input type="text" size="30" name="userfolder_role"
value="<dtml-var expr="getMappedRole(_['sequence-item'])">"></td>
<td><input type="submit" value="Set Mapping"></td>
</form>
=== CMF/CMFCore/dtml/selectWorkflows.dtml 1.2 => 1.3 ===
+<dtml-let form_title="'Workflows by Type'">
+<dtml-if manage_page_header>
+ <dtml-var manage_page_header>
+<dtml-else>
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+ <html lang="en">
+ <head>
+ <title>&dtml-form_title;</title>
+ </head>
+ <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
+ <h3>&dtml-form_title;</h3>
+</dtml-if>
+</dtml-let>
+
<dtml-var manage_tabs>
<h3>Workflows by type</h3>
@@ -8,19 +21,19 @@
<dtml-in types_info mapping sort=id>
<tr>
-<td>
+<td class="form-label">
<a href="../portal_types/&dtml.url_quote-id;/manage_workspace"
>&dtml-id;<dtml-if title>(&dtml-title;)</dtml-if></a>
</td>
-<td>
+<td class="form-element">
<input type="text" name="chain_&dtml-id;" value="&dtml-chain;" size="70" />
</td>
</tr>
</dtml-in>
<tr>
-<th align="left">(Default)</th>
-<td>
+<td class="form-label" align="left">(Default)</td>
+<td class="form-element">
<input type="text" name="default_chain" value="&dtml-default_chain;" size="70" />
</td>
</tr>
=== CMF/CMFCore/dtml/skinProps.dtml 1.3 => 1.4 ===
-<body bgcolor="#ffffff">
+<dtml-let form_title="'Properties'">
+<dtml-if manage_page_header>
+ <dtml-var manage_page_header>
+<dtml-else>
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+ <html lang="en">
+ <head>
+ <title>&dtml-form_title;</title>
+ </head>
+ <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
+ <h3>&dtml-form_title;</h3>
+</dtml-if>
+</dtml-let>
<dtml-var manage_tabs>
-<h2>Properties</h2>
+
<form action="manage_properties" method="POST">
<table>
<tr>
@@ -17,12 +28,12 @@
</tr>
<dtml-in getSkinPaths>
<tr>
- <td>
+ <td class="form-label">
<input type="checkbox" name="chosen:list"
value="&dtml-sequence-key;">
&dtml-sequence-key;
</td>
- <td>
+ <td class="form-element">
<input type="text" name="skinpath_&dtml-sequence-key;"
value="&dtml-sequence-item;" size="70">
</td>
@@ -53,8 +64,8 @@
<td> <br /> </td>
</tr>
<tr>
- <th valign="top" align="left">Default skin</th>
- <td><select name="default_skin" size="1">
+ <td class="form-label" valign="top" align="left">Default skin</td>
+ <td class="form-element"><select name="default_skin" size="1">
<dtml-in getSkinSelections>
<option value="&dtml-sequence-item;" <dtml-if
expr="_['sequence-item'] == getDefaultSkin()"
@@ -63,20 +74,20 @@
</select></td>
</tr>
<tr>
- <th valign="top" align="left">REQUEST variable name</th>
- <td><input type="text" name="request_varname"
+ <td class="form-label" valign="top" align="left">REQUEST variable name</td>
+ <td class="form-element"><input type="text" name="request_varname"
value="&dtml-getRequestVarname;" size="25"></td>
</tr>
<tr>
- <th valign="top" align="left">Skin flexibility</th>
- <td><input type="checkbox" name="allow_any" id="cb_allowany"
+ <td class="form-label" valign="top" align="left">Skin flexibility</td>
+ <td class="form-element"><input type="checkbox" name="allow_any" id="cb_allowany"
<dtml-if getAllowAny>checked="checked"</dtml-if> />
<label for="cb_allowany">Allow arbitrary skins to be
selected</label></td>
</tr>
<tr>
- <th valign="top" align="left">Skin Cookie persistence</th>
- <td><input type="checkbox" name="cookie_persistence" id="cb_cookiep"
+ <td class="form-label" valign="top" align="left">Skin Cookie persistence</td>
+ <td class="form-element"><input type="checkbox" name="cookie_persistence" id="cb_cookiep"
<dtml-if getCookiePersistence>checked="checked"</dtml-if> />
<label for="cb_cookiep">Make skin cookie persist indefinitely
</label></td>