• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
move template_tag_* commands to proper namespace

move private function to own namepace

remove file that depends on files (in a folder ats/) that seem to have been deleted ages ago

Deprecate ad_quotehtml. use ns_quotehtml instead.

  1. … 11 more files in changeset.
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

  1. … 10 more files in changeset.
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. … 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

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