• last updated 31 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ns_quotehtml user submitted value inside an error message to prevent potential XSS attack

Throw an error instead of a warning when trying to use template::data::validate::oneof without having specifyed the parameter "-options" on the form element which should be validated.

improve documentation

Added validation "oneof" to form element validations. It checks the user submitted value to be part of a predefined list of possible values of a form element. This is typically the case with widgets of type "select" or "multiselect".

improve spelling and comma settings

Try to address issue reported by Michael Aram: export variables sooner, when the uplevel they come from is still well known, rather than later in the rendering, when this could not be so trivial (e.g. in OO code)

  1. … 1 more file in changeset.
improve spelling

    • -1
    • +1
    ./www/doc/exercise/ats-for-designers.adp
    • -1
    • +1
    ./www/doc/exercise/ats-for-designers.html
  1. … 4 more files in changeset.
improve spelling

improve spelling

  1. … 11 more files in changeset.
add fix for broken "-string" flag in ad_return_template

make translation mode stylable via CSS, add styles for default and bootstrap3 themes, reduce dependencies on xinha icons

  1. … 3 more files in changeset.
improve spelling

  1. … 2 more files in changeset.
Check for already converted form variables on 'template::util::file_transform'. This can happen, for instance, during the 'preview' action of a form.

Fix '@see' field in proc doc

Add some AOLserver compatibility code for 'template::util::file_transform'

Modify 'template::util::file_transform' to manage multiple files

Whitespace changes

Whitespace changes

ad_form: allow multiple files in 'template::widget::file' by using the 'multiple' attribute of the input tag, new on HTML5.

- Pass the 'multiple' flag to 'template::element::create', so it can be used by widgets to modify their behavior.

- Update 'template::element::create' doc.

- This opens the door to reducing the number of widgets by combining single and multivalued ones into one (for instance, 'multiselect' and 'select' widgets), in the same way the 'file' widget does now.

  1. … 1 more file in changeset.
implemented suggestion #3412 (many thanks to Rainer Bachleitner)

support different delimiters in template::list::write_csv.

reduce verbosity

Update italian localization

    • -0
    • +4
    ./catalog/acs-templating.it_IT.ISO-8859-1.xml
  1. … 1 more file in changeset.
replace hardcoded /tmp by API function [ad_tmpdir]

  1. … 9 more files in changeset.
template::reset_request_vars must be executed for all requests in the cleanup

this is already happening via "ns_ictl trace freeconn", but we keep

for the time being this as a reminder, when merging with different versions, etc.

make sure that ::template::reset_request_vars is run at the end of every request

fix for issue #3400

template::add_event_listener: use more compact form in most simple cases

remove quites from number

Trailing whitespace cleanup

Quote form field values in validation error messages to prevent XSS attacks

    • -0
    • +4
    ./catalog/acs-templating.de_DE.ISO-8859-1.xml
    • -1
    • +5
    ./catalog/acs-templating.en_US.ISO-8859-1.xml