• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed the underline button, and made it return an empty value when contents is unset, so that 'required' fires (thanks to Ola).

Fixed typo with $ instead of # in comment

Made richtext buttons not participate in tab order

Added richtext widget and datatype, as mentioned on the bboard thread about rich input

    • -0
    • +191
    ./richtext-procs.tcl
adds template::data::validate::email patch 496 Deds Castillo

merge add of template::data::validate::boolean from 4.6 to head

adds template::data::validate::boolean bug 151/patch 46 Roberto Mello

merge patch 14 from oacs-4-6

Bad varname in template::util::multirow_to_list closes 91/patch 14 Ola Hansson

Changes to how buttons work: Form-builder now takes care of determining which buttons to use, not the template; Added actions functionality to form builder

  1. … 7 more files in changeset.
modified case tag to allow <case in foo bar baz> and <case value=foo> forms.

added template tags switch, case, and default to create a switch statement for use in openacs templates

Implemented Tilmann's suggestion of cancel_url/cancel_label switches to form create, so the form builder can handle the cancel button for you.

  1. … 1 more file in changeset.
Implemented some enhancements to the form builder:

- support a -mode switch on forms, which can be either 'display' or 'edit'. If 'display', all fields are grayed out, and the pretty value is displayed instead of the internal value (e.g. the label of the element of a list).

- support multiple buttons on the form. Used for the 'Edit' button, but can be used for other buttons as well.

- Fixed all the standard templates to include the new buttons and to use the <label> tag.

- Added an example to the documentation showing how this new display/edit mode looks.

  1. … 10 more files in changeset.
merge from oacs-4-6

  1. … 129 more files in changeset.
Added a template::form::get_error function that returns an "array get" version of the errors on the form. It's mostly a convenient proc for debugging forms that don't work as expected due to the common situation where some hidden form element contains errors that cause the form to not process.

Date/time/number localization

  1. … 85 more files in changeset.
making the template::expand_percentage_signs proc honor quoted percentage signs (double percentage sings) and reuse the regexp pattern from acs-lang

adds template::paginator::get_row_last, template::paginator::get_pages_info

better documentation

template::paginator::get_page_count now correct.

non integer ID support

patch 493 Deds Castillo

I18N: adding support for handy interpolation of variables into localized messages from tcl files by using upvar

  1. … 1 more file in changeset.
fixed the paginator get_pages proc which would break when pages < groupsize, added query name to error for missing CURRENT_PAGE_SET message

adding support for dealing with adp variables embedded in I18N messages in adp pages, extracting adp variable regexp patterns into procs so they could be reused in the acs-lang package

literal curly braces in adp:s were previously unquoted, extracted the quoting of other tcl special characters along with the curly braces quote into the new proc adp_quote_chunk

cross reference the multirow procs

  1. … 1 more file in changeset.
Peter: added the trn tag for message key lookups on adp pages. Requires a body with a default message.

Peter: replace occurencies of #package_key.message_key# in adp pages with a message key lookup

added dummy documentation procs for element form and multirow, documented template::multirow

fixed multirow query

fixed uplevel context for query

documentation cleanup (fix @see, add -public/-private where needed)

  1. … 4 more files in changeset.
add @see comments for most deprecated functions

  1. … 8 more files in changeset.