[cvs] commit: framework/Template Template.php framework/Template/tests array_assoc.phpt array_if.html array_simple.html if.phpt iterator.phpt

Michael M Slusarz slusarz at horde.org
Thu Dec 14 22:43:05 PST 2006


slusarz     2006-12-14 22:43:05 PST

  Modified files:
    Template             Template.php 
    Template/tests       array_assoc.phpt array_if.html 
                         array_simple.html if.phpt iterator.phpt 
  Log:
  After heavily testing for several days, all templates I can find in Horde
  applications are working.  So go ahead and commit the new Template code.
  Drastically reduces template display time (approx 4x - 7x), with additional
  improvements once we turn on caching code (which is currently disabled).
  Refactor some tests to account for some tiny differences in new output (mostly
  dealing with whitespace output, which makes no difference when it comes to
  actual display, and also with the fact we no longer output empty tags to HTML -
  they are silently discarded instead).  Only one test is currently failing - the
  nested tags - but nested tags don't seem to currently be used anywhere in
  Horde at the present.
  
  Revision  Changes    Path
  1.66      +271 -240  framework/Template/Template.php
  1.2       +1 -1      framework/Template/tests/array_assoc.phpt
  1.2       +2 -4      framework/Template/tests/array_if.html
  1.2       +2 -4      framework/Template/tests/array_simple.html
  1.2       +2 -2      framework/Template/tests/if.phpt
  1.2       +1 -1      framework/Template/tests/iterator.phpt

  Chora Links:
  http://cvs.horde.org/diff.php/framework/Template/Template.php?r1=1.65&r2=1.66&ty=u
  http://cvs.horde.org/diff.php/framework/Template/tests/array_assoc.phpt?r1=1.1&r2=1.2&ty=u
  http://cvs.horde.org/diff.php/framework/Template/tests/array_if.html?r1=1.1&r2=1.2&ty=u
  http://cvs.horde.org/diff.php/framework/Template/tests/array_simple.html?r1=1.1&r2=1.2&ty=u
  http://cvs.horde.org/diff.php/framework/Template/tests/if.phpt?r1=1.1&r2=1.2&ty=u
  http://cvs.horde.org/diff.php/framework/Template/tests/iterator.phpt?r1=1.1&r2=1.2&ty=u


More information about the cvs mailing list