Commit Graph

1003 Commits

Author SHA1 Message Date
messju
5b5dcbf7b2 bumped version-number to 2.6.9-dev
added headline of 2.6.6 release to NEWS file
2005-03-22 08:45:07 +00:00
mohrt
3c8c273178 remove e-modifier 2005-03-21 14:09:50 +00:00
messju
dde07d35fd objects don't get casted to arrays anymore in {foreach} 2005-03-19 18:28:46 +00:00
messju
b5747d2b18 add "null" as a valid token for {if} when security is enabled 2005-02-26 21:18:48 +00:00
mohrt
6b3225138a add javascript_charcode option to mailto 2005-02-25 17:08:28 +00:00
mohrt
02a7c04d88 add label ids to html_radios 2005-02-24 14:37:48 +00:00
messju
6e94e1897f fixed too agressive {strip} around delimiters inside strip-blocks 2005-02-10 15:14:15 +00:00
messju
468ec392ee fixed handling of strip-tags with non-default delimiters 2005-02-09 14:31:18 +00:00
messju
f0b57a3e3b fixed syntax error. shame on me. 2005-02-04 21:29:06 +00:00
mohrt
c3e8668266 update version numbers in cvs 2005-02-03 15:14:43 +00:00
mohrt
c5e1cd7185 commit version numbers for new release 2005-02-03 14:41:33 +00:00
messju
d8ce41d207 fixed comment (thanks to CirTap) 2005-02-03 05:05:16 +00:00
mohrt
af8335225b remove border tag 2005-02-01 18:51:42 +00:00
messju
c6827dee8a fixed serialization of values containing newlines (like _cache_attrs)
in core_write_cache_file()

bumped version to 2.6.6-dev-3 to indicate that the fileformat of cache
has changed
2005-02-01 10:19:08 +00:00
messju
bd2abcbbcd fixed handling of hashed opening php-tags inside strip-blocks
(reported by titi_rafa)
2005-01-30 21:54:39 +00:00
messju
1345545229 escape:url now uses the (RFC 1738 compliant) rawurlencode() 2005-01-28 17:20:14 +00:00
messju
e57e545e58 added a more robust implementation when removing of the trailing
'<?php '-token after toke_get_all() . this is also a workaround for
http://bugs.php.net/bug.php?id=29761
2005-01-27 08:51:21 +00:00
messju
5234d7bf5a replaced ? true : false and removed intermediate $_cookie_var in the
handling of the SMARTY_DEBUG-cookie
2005-01-23 22:19:15 +00:00
mohrt
9959c4f263 de-spammify e-mails 2005-01-21 17:46:15 +00:00
mohrt
215e8784b1 update copyright notices, e-mail addresses 2005-01-21 16:41:52 +00:00
messju
cfb05b1578 reduced the code that is generated on a {foreach}-block that has a
name.

instead of pre-computing all foreach-properties (like first, last,
show) on each iteration, they are computed on demand as soon as
{$smarty.foreach.*}-variables are used.
2005-01-06 17:24:36 +00:00
messju
6e323a8df2 slight optimization in the compilation of $smarty.const.FOO .
@FOO is less code and executed slightly faster than constant('FOO').

more complex consts like $smarty.const.$name still compile to
constant($this->_tpl_vars['name'])
2005-01-06 17:17:05 +00:00
messju
e69c336f76 make block functions and registered objects' block methods use a
local variable for block_content instead of $this->_block_content

it's not necessary to have $smarty->_block_content accessible.
2005-01-05 10:40:11 +00:00
messju
b3245435ab Happy new year from germany. 2005-01-01 11:58:21 +00:00
mohrt
b93ef92f07 fix _read_file comments 2004-12-28 17:24:16 +00:00
messju
f44f5bddba fixed escaping of template-filenames in the generated code that loads
needed plugins
2004-12-17 08:30:56 +00:00
mohrt
5efa19cf96 fix invalid HTML issue with popup 2004-12-15 20:42:05 +00:00
boots
639bd2c553 - fixed {popup} to properly handle inarray and function parameters and added support for mouseoff and followmouse options 2004-12-06 20:09:12 +00:00
messju
07e6982d1d cleaned up typecasting 2004-11-16 08:05:21 +00:00
messju
b96c5db2ea fixed semantically misleading check for $options (use isset() instead
of is_array() because it is always an array).

thanks to albert almeida.
2004-11-15 13:03:57 +00:00
messju
50c81af919 removed unused code 2004-11-08 08:26:16 +00:00
messju
d0929cf915 fixed nocache-handling with nested includes. there was a logical error
in the replacement of internal nocache-tags to dynamic content that
lead to false results with deeply nested includes or with
nocache-blocks inside nocache-blocks.

many thanks to Lars Jankowfsky for providing big help on reproducing
and tracking down this bug!
2004-10-02 18:03:25 +00:00
messju
e9c72aedce - better header for compiled includes (more in line with compiled
templates)

- reuse cache_serials if a file is compiled more than once in one
  process (force_compile)

- don't print nocache-delimiters wenn already inside
process_cached_inserts()
2004-10-01 15:26:44 +00:00
messju
305bf858c1 switched from @count() to !empty() . this was pointed out a few times
by a few people with buggy error-handlers
2004-09-29 07:23:45 +00:00
messju
ed30e1ad20 added some property declarations 2004-09-29 07:16:17 +00:00
messju
3797857006 bumped up version number to reflect incompatibility in tempfiles of
'core' vs. 'internals'
2004-09-28 07:04:42 +00:00
messju
508e177b53 fixed $start_year when no value for the year in $time is given. 2004-09-24 14:37:02 +00:00
messju
a100412c5d fixed handling of "inner"-attribute 2004-09-21 19:41:21 +00:00
messju
355fd8292e fixed handling of object derefence inside backticks 2004-09-21 15:28:04 +00:00
mohrt
a2057caece add <head></head> tags 2004-09-20 18:00:02 +00:00
boots
180c0c2847 Fixed \\r\\n line endings mistakenly introduced in last commit. d'oh. 2004-09-18 02:09:35 +00:00
boots
a0d021ef60 Moved /libs/core to /libs/internals and created new constant, SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help CVS and rsynch users butupgrades will require changes and this may affect 3rd party plugins that use the /core dir. 2004-09-16 23:07:32 +00:00
messju
0580734ff9 moved $this->_num_const_regexp out of $this->_var_regexp and added it
to the places that affect $this->_var_regexp

this should fix some problems parsing plugin-names endings with digits
2004-09-15 18:58:55 +00:00
messju
ed00361206 update files to 2.6.6-dev 2004-09-14 07:39:01 +00:00
messju
dc726ed4ff removed notice from {debug}
thanks to Peter Billen for pointing this one out!
2004-09-11 18:52:13 +00:00
mohrt
3ad2d686e9 fix more object calling syntax issues 2004-09-11 00:14:20 +00:00
messju
33adc4573e added $smarty->security_settings['ALLOW_CONSTANTS']
including test-cases for them
2004-09-10 19:15:01 +00:00
mohrt
614e9c89e2 break down regex to digestable chunks, fix multiple param problem with method calls,
add object method testing to unit_test cases
2004-09-09 22:01:33 +00:00
mohrt
f36648c39c update code comment with more examples 2004-09-09 18:25:55 +00:00
mohrt
1d1e095e8e allow objects in arbitrary param positions 2004-09-09 18:21:09 +00:00