[CMF-checkins] CVS: Products/CMFCore/dtml - editActions.dtml:1.3

Tres Seaver tseaver@digicool.com
Mon, 6 Aug 2001 14:16:20 -0400


Update of /cvs-repository/Products/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv4458/dtml

Modified Files:
	editActions.dtml 
Log Message:


 - Add 'visible' attribute to actions, to permit indirection (via
   'getActionById') without exposing the action in the CMF UI.


=== Products/CMFCore/dtml/editActions.dtml 1.2 => 1.3 ===
 </tr>
 
+<tr>
+<td></td>
+<td>
+  <div class="form-label">
+  Visible?
+  </div>
+</td>
+<td>
+  <div class="form-element">
+  <input type="hidden" name="visible_&dtml-index;:int:default"
+         value="0" />
+  <dtml-let chk="visible and 'checked' or ''">
+  <input type="checkbox" name="visible_&dtml-index;:boolean" &dtml-chk; />
+  </dtml-let>
+  </div>
+</td>
+</tr>
+
 </dtml-let>
 
 <tr><td colspan="3">
@@ -202,6 +220,22 @@
 <td>
   <div class="form-element">
   <input type="text" name="category" value="" />
+  </div>
+</td>
+</tr>
+<tr>
+
+<td></td>
+<td>
+  <div class="form-label">
+  Visible?
+  </div>
+</td>
+<td>
+  <div class="form-element">
+  <input type="hidden" name="visible:int:default"
+         value="0" />
+  <input type="checkbox" name="visible:boolean" checked />
   </div>
 </td>
 </tr>