Mercurial > p > roundup > code
diff doc/customizing.txt @ 1113:a95428868bf4
Added the missing keyword/topic interface to classic template (blush)
Cleaned up the classhelp API
Fixed some stuff in the customisation doc example.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 11 Sep 2002 02:49:56 +0000 |
| parents | f96deb4fb935 |
| children | 644d3075c2df |
line wrap: on
line diff
--- a/doc/customizing.txt Wed Sep 11 02:20:35 2002 +0000 +++ b/doc/customizing.txt Wed Sep 11 02:49:56 2002 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.27 $ +:Version: $Revision: 1.28 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -974,7 +974,7 @@ <th nowrap>Superseder</th> <td> <span tal:replace="structure python:context.superseder.field(showid=1, size=20)" /> - <span tal:replace="structure python:db.issue.classhelp('id,title', label='list', width=500)" /> + <span tal:replace="structure python:db.issue.classhelp('id,title')" /> <span tal:condition="context/superseder"> <br>View: <span tal:replace="structure python:context.superseder.link(showid=1)" /> </span> @@ -982,7 +982,7 @@ <th nowrap>Nosy List</th> <td> <span tal:replace="structure context/nosy/field" /> - <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone', label='list', width=500)" /> + <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone')" /> </td> </tr> @@ -1293,7 +1293,7 @@ and put a nice big header on it so the user has an idea what is happening:: <table class="form"> - <tr class="strong-header"><td colspan=2>Category</td></tr> + <tr><th class="header" colspan=2>Category</th></tr> Next we need the actual field that the user is going to enter the new category. The "context.name.field(size=60)" bit tells roundup to generate a @@ -1303,7 +1303,7 @@ will be created with that name:: <tr> - <td nowrap>Name</td> + <th nowrap>Name</th> <td tal:content="structure python:context.name.field(size=60)">name</td> </tr> @@ -1326,10 +1326,10 @@ <input type="hidden" name=":required" value="name"> <table class="form"> - <tr class="strong-header"><td colspan=2>Category</td></tr> + <tr><th class="header" colspan=2>Category</th></tr> <tr> - <td nowrap>Name</td> + <th nowrap>Name</th> <td tal:content="structure python:context.name.field(size=60)">name</td> </tr> @@ -1362,8 +1362,7 @@ <th nowrap>Category</th> <td><span tal:replace="structure context/category/field" /> - <span tal:replace="structure python:db.category.classhelp('name', - label='list', width=500)" /> + <span tal:replace="structure db/category/classhelp" /> </td> First we define a nice header so that the user knows what the next section
