[Zope-Checkins] CVS: Zope2 - editUser.dtml:1.4.4.1

chrism@serenade.digicool.com chrism@serenade.digicool.com
Tue, 3 Jul 2001 16:13:16 -0400


Update of /cvs-repository/Zope2/lib/python/AccessControl/dtml
In directory serenade:/home/chrism/sandboxes/Zope24Branch/lib/python/AccessControl/dtml

Modified Files:
      Tag: Zope-2_4-branch
	editUser.dtml 
Log Message:
Make domain text box display value conditional on domainAuthModeEnabled return value.


--- Updated File editUser.dtml in package Zope2 --
--- editUser.dtml	2001/05/21 17:58:29	1.4
+++ editUser.dtml	2001/07/03 20:13:16	1.4.4.1
@@ -50,6 +50,8 @@
 </dtml-if>
 <TR>
 <TD VALIGN="TOP">
+
+<dtml-if domainAuthModeEnabled>
 <div class="form-optional">
 Domains
 </div>
@@ -59,7 +61,10 @@
   VALUE="<dtml-if expr="user.domains"><dtml-in expr="user.domains"><dtml-var sequence-item html_quote> </dtml-in></dtml-if>" />
 </TD>
 </TR>
-
+<dtml-else>
+<input type="hidden" name="domains:tokens"
+  value="<dtml-if expr="user.domains"><dtml-in expr="user.domains"><dtml-var sequence-item html_quote> </dtml-in></dtml-if>" />
+</dtml-if>
 <TR>
 <TD VALIGN="TOP">
 <div class="form-label">