Index: openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml,v
diff -u -r1.22 -r1.23
--- openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 15 Jul 2007 23:46:35 -0000 1.22
+++ openacs-4/packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml 17 Jul 2007 00:16:19 -0000 1.23
@@ -9,15 +9,16 @@
edit tags
Form constraint contains invalid characters
From field '%name%' has unknown attribute '%entry%'
+ Unknown editor %editor%. Possible values are: %editors%
From field '%name%' has unknown specification '%entry%'
- Syntax: adp <name of adp-file> {<argument list>}<br/>
-
+ Syntax: adp <name of adp-file> {<argument list>}<br/>
+
Invalid argument list: '%adp%'; must be of form: attribute value pairs (even number of elements)
- <pre>%errMsg%</pre>
-
+ <pre>%errMsg%</pre>
+
Argument list must contain attribute value pairs (attributes with dashes)
evaluation of adp file returned error message: %errorMsg%
- Error in includelet '%page_name%':
+ Error in includelet '%page_name%':
<pre>%::errorInfo%</pre>
Nesting of includelets is to deep
Error: includelet '%page_name%' unknown
@@ -27,10 +28,12 @@
Form Constraints
Anwers
Fill out
+ OK
%errorMsg%
Index
New Page
Notifications
+ Invalid numeric value
Creator
Description
Name
Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v
diff -u -r1.19 -r1.20
--- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 16 Jul 2007 22:43:35 -0000 1.19
+++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 17 Jul 2007 00:16:19 -0000 1.20
@@ -318,6 +318,25 @@
###########################################################
#
+ # ::xowiki::FormField::submit_button
+ #
+ ###########################################################
+
+ Class FormField::submit_button -superclass FormField
+ FormField::submit_button instproc initialize {} {
+ my set type submit
+ }
+ FormField::submit_button instproc render_content {} {
+ my set value [::xo::localize [_ xowiki.Form-submit_button]]
+ ::html::div -class form-button {
+ #::html::br
+ ::html::input [my get_attributes type {CSSclass class} value] {}
+ my render_localizer
+ }
+ }
+
+ ###########################################################
+ #
# ::xowiki::FormField::hidden
#
###########################################################
Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v
diff -u -r1.78 -r1.79
--- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 16 Jul 2007 22:43:35 -0000 1.78
+++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 17 Jul 2007 00:16:19 -0000 1.79
@@ -758,8 +758,8 @@
$f render_error_msg
}
}
- ::html::br
- ::html::input -type submit -class $submit_button_class
+ set f [::xowiki::FormField::submit_button new -destroy_on_cleanup -name __form_button_ok]
+ $f render_content
}
set form [lindex [$root selectNodes //form] 0]
if {$form eq ""} {