[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow/stateful - add.pt:1.2 addstate.pt:1.2 addtransition.pt:1.2 contentworkflow_index.pt:1.2 instance_manage.pt:1.2
Philipp von Weitershausen
philikon@philikon.de
Wed, 25 Jun 2003 14:43:13 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv32346/workflow/stateful
Modified Files:
add.pt addstate.pt addtransition.pt contentworkflow_index.pt
instance_manage.pt
Log Message:
More XHTML compliance ("xhtml gheddon"?). Files were validated running
the following command (using the xmllint command line tool from
http://xmlsoft.org/)::
find . -name "*pt" -exec xmllint --noout --dtdvalid \
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd {} \;
Emacs's grep-find mode can parse this output. Instead of specifying
the URL, one can also download the DTD to speed up the process.
=== Zope3/src/zope/app/browser/workflow/stateful/add.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/add.pt:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/add.pt Wed Jun 25 14:43:12 2003
@@ -2,7 +2,7 @@
<body>
<div metal:fill-slot="body">
-<form action="action.html" method="POST">
+<form action="action.html" method="post">
<table class="TypeListing" cellpadding="3">
<caption>Add Content</caption>
=== Zope3/src/zope/app/browser/workflow/stateful/addstate.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/addstate.pt:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/addstate.pt Wed Jun 25 14:43:12 2003
@@ -14,7 +14,7 @@
<tr>
<th>Id:</th>
<td>
- <input type="text" name="id" size="40" value="">
+ <input type="text" name="id" size="40" value="" />
</td>
</tr>
=== Zope3/src/zope/app/browser/workflow/stateful/addtransition.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/addtransition.pt:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/addtransition.pt Wed Jun 25 14:43:12 2003
@@ -14,7 +14,7 @@
<tr>
<th>Id:</th>
<td>
- <input type="text" name="id" size="40" value="">
+ <input type="text" name="id" size="40" value="" />
</td>
</tr>
@@ -41,14 +41,14 @@
<tr>
<th>Condition:</th>
<td>
- <input type="text" name="condition" size="40" value="">
+ <input type="text" name="condition" size="40" value="" />
</td>
</tr>
<tr>
<th>Permission:</th>
<td>
- <input type="text" name="permission" size="40" value="">
+ <input type="text" name="permission" size="40" value="" />
</td>
</tr>
=== Zope3/src/zope/app/browser/workflow/stateful/contentworkflow_index.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/contentworkflow_index.pt:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/contentworkflow_index.pt Wed Jun 25 14:43:12 2003
@@ -17,7 +17,7 @@
<span tal:define="dummy context/unsubscribe" tal:omit-tag=""/>
</span>
- <form method="POST">
+ <form method="post">
<span tal:condition="context/isSubscribed" tal:omit-tag="">
Subscription state: ON
<input type="submit" value="Unsubscribe" name="callUnsubscribe" />
=== Zope3/src/zope/app/browser/workflow/stateful/instance_manage.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/instance_manage.pt:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/instance_manage.pt Wed Jun 25 14:43:12 2003
@@ -36,15 +36,17 @@
<br/>
Possible State Changes:
<form action="@@fireTransition.html" method="get">
- <input type="hidden" name="workflow" tal:attributes="value request/workflow | nothing">
+ <input type="hidden" name="workflow"
+ tal:attributes="value request/workflow | nothing" />
<div tal:repeat="trans info/transitions"
tal:condition="info/transitions | nothing"
tal:omit-tag="">
<input type="radio"
name="selTransition"
- tal:attributes="value trans/name"/> <span tal:replace="trans/title"/><br/>
+ tal:attributes="value trans/name"/>
+ <span tal:replace="trans/title"/><br/>
</div>
- <input type="submit" value="do it">
+ <input type="submit" value="do it" />
</form>
</div>
</div>