[Zope-Checkins] CVS: Zope/lib/python/AccessControl/dtml - listLocalRoles.dtml:1.4.22.1 userFolderProps.dtml:1.1.2.1
Matthew T. Kromer
matt@zope.com
Fri, 28 Sep 2001 14:38:43 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl/dtml
In directory cvs.zope.org:/tmp/cvs-serv14607/dtml
Modified Files:
Tag: matt-userfolder-apiext
listLocalRoles.dtml userFolderProps.dtml
Log Message:
Tacks a 'max user to list' field in acl_users properties, when list size
is exceeded, displays a text box rather than a list for local role assignment.
=== Zope/lib/python/AccessControl/dtml/listLocalRoles.dtml 1.4 => 1.4.22.1 ===
<td align="left" valign="top">
<div class="form-element">
+ <dtml-try>
<select name="userid" size="5">
<dtml-in get_valid_userids>
<option value="<dtml-var sequence-item html_quote>"><dtml-var
sequence-item></option>
</dtml-in>
</select>
+ <dtml-except OverflowError>
+
+ <input name="userid" size=10>
+
+ </dtml-try>
</div>
</td>
<td align="left" valign="top">
=== Zope/lib/python/AccessControl/dtml/userFolderProps.dtml 1.1 => 1.1.2.1 ===
</td>
</tr>
+<tr>
+ <td align="left" valign="center" class="form-label">
+ Role assignment presents search dialog when more users than N (-1 is always, 0 is never).
+ </td>
+ <td align="left" valign="center" class="form-element">
+ <input type=text name="maxlistusers" value="&dtml.missing-maxlistusers;" size=3>
+ </td>
+</tr>
</table>