Commit Graph

44 Commits (1eb1427de40247f6224b7a82a5833569a960372a)

Author SHA1 Message Date
Sven Slootweg 03cf41519f Allow preset form values to be specified outside of the POST data. 12 years ago
Sven Slootweg 58cfffd3d8 Throw a templater exception when a template attempts to access a non-existent key in a collection. 12 years ago
Sven Slootweg 539f54eac1 Resolve another notice 12 years ago
Sven Slootweg dbe5662a85 Resolve a bunch of notices and E_STRICT warnings 12 years ago
Sven Slootweg d2b511d9b3 Also add 'id' parameter override support for <select> elements 12 years ago
Sven Slootweg 6e923629e0 Resolve conflicting variable name with 'value' parameter for input elements, and add support for 'id' parameter overrides 12 years ago
Sven Slootweg 8e75ee9ee7 Add function to set a global templater variable 12 years ago
Sven Slootweg 52497d05b4 Implement variable hooks 12 years ago
Sven Slootweg c7ee85eab1 Fix nested subconstruct bugs and implement more debugging 12 years ago
Sven Slootweg a56c06a76e Fix parsing bug for constructs with subconstructs 12 years ago
Sven Slootweg 061516281a Implement select and option elements 12 years ago
Sven Slootweg 38112ba6e3 Fix bug with broken variable 12 years ago
Sven Slootweg aa6bb1fc85 Fix bug in fetching stand-alone variables and handle input values properly. 12 years ago
Sven Slootweg a55ce3778d Match all input element properties and properly deal with type attributes 12 years ago
Sven Slootweg 29ea38ebc9 Remove excessive whitespace 12 years ago
Sven Slootweg db4d084163 Get rid of some stuff we don't need anymore 12 years ago
Sven Slootweg 5212ae353e Include field name in generated input elements 12 years ago
Sven Slootweg 3bf5d768cb Rewrite templater to support elseif/else constructs, input element generator, and extensible syntax. Also removed deprecated legacy code. 12 years ago
Sven Slootweg 4c6f46efe6 Also support global template variables in the new template parser 12 years ago
Sven Slootweg 95f9d81288 Fix parsing bug where characters after an opening curly brace were omitted in the output. 12 years ago
Sven Slootweg 81fd2500ea Check if the strings array is actually a valid array before attempting to use it. 12 years ago
Sven Slootweg 2e5590ddeb Add CSRF protection mechanism 13 years ago
Sven Slootweg 6dbbfb4ebd Add correct null handling to templater 13 years ago
Sven Slootweg 110ba159d2 Implement isempty operation 13 years ago
Sven Slootweg ecb95ca151 Implement isset operation in template If statements 13 years ago
Sven Slootweg 7034837966 Throw proper exceptions if a variable in a template cannot be found. 13 years ago
Sven Slootweg d749e53352 Deprecate a few legacy functions. 13 years ago
Sven Slootweg 44196de152 Bugfix for incorrect handling of boolean values in FetchVariable function 13 years ago
Sven Slootweg 2b91a34206 Move templater constants outside the Templater class 13 years ago
Sven Slootweg 9b0058d199 Optimize Templater::Localize and add support for new format 13 years ago
Sven Slootweg 597d8d0e56 Clean up Templater code 13 years ago
Sven Slootweg f910045417 Clean up Templater code 13 years ago
Sven Slootweg 70baf0b182 Move tree visualization to debug variable 13 years ago
Sven Slootweg 0e027f73bd Finished variable substitution 13 years ago
Sven Slootweg da9e963602 First steps for variable substitution 13 years ago
Sven Slootweg 93e7510cc5 ForEach/If evaluation done, including data subsets 13 years ago
Sven Slootweg 261ea3b8b4 Add foreach logic 13 years ago
Sven Slootweg 2b575d4f0e Clean up some unneeded parser code 13 years ago
Sven Slootweg d254d77c27 Finish template parsing 13 years ago
Sven Slootweg 1cfd53deb4 Basic template parser 13 years ago
Sven Slootweg 9254b0594b Merged back CPHP updates from CVM and Anontune 13 years ago
Sven Slootweg b40139d102 Removed debugging info 13 years ago
Sven Slootweg 7aee896ebc Added if and foreach statements to Templater 13 years ago
Sven Slootweg ede5d9f3fe Initial commit 13 years ago