Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Introduced new exceptions and fixed a parsing bug. | Kevin Chabowski | 2012-02-29 |
| | | | | | | | | | | | | | | * The exceptions RuntimeError, FatalRuntimeError, CantLoadTemplate and CantSaveTemplate were introduced. * RuntimeErrors are automatically catched by the template engine and will be displayed instead of the tag, unless the parameter $mute_runtime_errors was set to true. * Missing tags will result either in a RuntimeError or, if $fatal_error_on_missing_tag is true, in a FatalRuntimeError. * The mktag-subcompiler and the standard library functions now use the new exceptions. * A bug, that threw away leading TextNodes if a comment or rawtext pseudotag was parsed, is now fixed. | ||
* | Added builtin ste:get and fixed a code generation bug. | Kevin Chabowski | 2012-01-15 |
| | | | | | | | | * ste:get allows us to get a variable's content dynamically. * (') was escaped for TextNodes, which resulted to: \' should have been: ' | ||
* | ste:date now uses strftime | Kevin Chabowski | 2011-09-29 |
| | | | | | | | Because strftime is more flexible: You can... * ...put arbitrary text inside the format * ...manipulate it by set the locale (i.e. set language-specific month names etc.) | ||
* | Added short syntag for comparison. | Kevin Chabowski | 2011-09-23 |
| | | | | | | ~{a|op|b} Also updated the documentation and made unescape_text() a alias of PHP's stripcslashes(). | ||
* | Added documentation, an example program and fixed some bugs... | Kevin Chabowski | 2011-09-21 |