- Added template versioning. If a template was not compiled with current haanga versi...
commitf4f0af1449fdb1981780738f94671fc7845f86f3
authorCésar D. Rodas <crodas@php.net>
Mon, 9 Aug 2010 23:13:48 +0000 (9 19:13 -0400)
committerCésar D. Rodas <crodas@php.net>
Mon, 9 Aug 2010 23:13:48 +0000 (9 19:13 -0400)
tree477e60b243bc31048fcbfcc3d3f1b04a8e11f05e
parente1a3d5b4c25bbec0fcdbac3e0cbf1595429c86f4
- Added template versioning. If a template was not compiled with current haanga version, this will be flagged as old and will be recompiled in the next request (@gallir's idea)
37 files changed:
lib/Haanga.php
lib/Haanga/Compiler.php
tests/tmp/assert_templates/autoescape.tpl.php
tests/tmp/assert_templates/base.tpl.php
tests/tmp/assert_templates/custom_tag.tpl.php
tests/tmp/assert_templates/cycle.tpl.php
tests/tmp/assert_templates/dummy.tpl.php
tests/tmp/assert_templates/empty_loop.tpl.php
tests/tmp/assert_templates/exec.tpl.php
tests/tmp/assert_templates/filter.tpl.php
tests/tmp/assert_templates/first_of.tpl.php
tests/tmp/assert_templates/global.tpl.php
tests/tmp/assert_templates/if_else_simple.tpl.php
tests/tmp/assert_templates/ifchanged.tpl.php
tests/tmp/assert_templates/ifequals.tpl.php
tests/tmp/assert_templates/in.tpl.php
tests/tmp/assert_templates/inheritence_nested_block.tpl.php
tests/tmp/assert_templates/inheritence_nested_block_duplicated.tpl.php
tests/tmp/assert_templates/join.tpl.php
tests/tmp/assert_templates/load.tpl.php
tests/tmp/assert_templates/loop.tpl.php
tests/tmp/assert_templates/nested_block.tpl.php
tests/tmp/assert_templates/nested_block_second_parent.tpl.php
tests/tmp/assert_templates/nested_block_second_parent_override.tpl.php
tests/tmp/assert_templates/object.tpl.php
tests/tmp/assert_templates/partial.tpl.php
tests/tmp/assert_templates/pluralize.tpl.php
tests/tmp/assert_templates/regroup.tpl.php
tests/tmp/assert_templates/spaceless.tpl.php
tests/tmp/assert_templates/strip_whitespace.tpl.php
tests/tmp/assert_templates/subtemplate.tpl.php
tests/tmp/assert_templates/templatetag.tpl.php
tests/tmp/assert_templates/title.tpl.php
tests/tmp/assert_templates/trans.tpl.php
tests/tmp/assert_templates/truncatewords.tpl.php
tests/tmp/assert_templates/variable_existe.tpl.php
tests/tmp/assert_templates/with.tpl.php