Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.524 -r1.525 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 20 May 2018 11:01:57 -0000 1.524 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 11 Jun 2018 18:47:26 -0000 1.525 @@ -911,9 +911,9 @@ set :$attribute $default_party } else { set :$attribute [:reverse_map_party \ - -entry [set :$attribute] \ - -default_party $default_party \ - -create_user_ids $create_user_ids] + -entry [set :$attribute] \ + -default_party $default_party \ + -create_user_ids $create_user_ids] } } @@ -2501,7 +2501,7 @@ Page instproc set_content {text} { :text [list [string map [list >> "\n>>" << "<<\n"] \ - [string trim $text " \n"]] text/html] + [string trim $text " \n"]] text/html] } Page instproc get_rich_text_spec {field_name default} { @@ -2606,8 +2606,8 @@ [::xo::get_user_name [::xo::cc user_id]]] append footer "
" \ [:include [list my-yahoo-publisher \ - -publisher $publisher \ - -rssurl "$package_url?rss"]] \ + -publisher $publisher \ + -rssurl "$package_url?rss"]] \ "
\n" } @@ -3759,8 +3759,7 @@ # First check for invalid meta characters for security reasons. # if {[regexp {[\[\]]} $form_constraints]} { - :uplevel [list set errorMsg \ - [_ xowiki.error-form_constraint-invalid_characters]] + :uplevel [list set errorMsg [_ xowiki.error-form_constraint-invalid_characters]] return 0 } # @@ -4339,22 +4338,17 @@ set is_form [:property is_form__ 0] if {[:is_form]} { return [:include [list form-menu -form_item_id ${:item_id} \ - -buttons [list new answers [list form [:page_template]]]]] + -buttons [list new answers [list form [:page_template]]]]] } else { return [:include [list form-menu -form_item_id [:page_template] -buttons form]] } } } - # FormPage instproc form_attributes {} { - # :log "DEPRECATRED, use 'field_names_from_form' instead " - # return [:field_names_from_form] - # } - FormPage instproc field_names_from_form {{-form ""}} { # - # this method returns the form attributes (including _*) + # This method returns the form attributes (including _*). # set allvars [list {*}[[:info class] array names db_slot] \ {*}[::xo::db::CrClass set common_query_atts]]