[Bps-public-commit] r17164 - RT-FormTools/html/FormTools

sartak at bestpractical.com sartak at bestpractical.com
Wed Dec 10 15:11:05 EST 2008


Author: sartak
Date: Wed Dec 10 15:11:05 2008
New Revision: 17164

Modified:
   RT-FormTools/html/FormTools/Field

Log:
If the field is UpdateContent, then display a messagebox

Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field	(original)
+++ RT-FormTools/html/FormTools/Field	Wed Dec 10 15:11:05 2008
@@ -44,9 +44,19 @@
 }
 
 </%init>
+
+% if ($field_type eq 'core' && $name eq 'UpdateContent') {
+
+<& /Elements/MessageBox, Name => $name, IncludeSignature => 0 &>
+
+% } else {
+
 <table style="display: inline; "><tr><th valign="top"><label><%$field_label%></label></th><td style="display:block;">
+
 % if ($field_type eq 'core') {
+
 <input type="text" name=<%$name%> size="20" value="<%$default%>">
+
 % } else {
 
 
@@ -111,3 +121,4 @@
 
 % }
 </td></tr></table>
+% }



More information about the Bps-public-commit mailing list