messju
117173df93
fixed typo
2006-08-25 19:12:16 +00:00
messju
bf3f34cab1
fix false replacement of "$t" inside double quotes
...
thanks to checat for reporting this
2006-08-03 20:03:20 +00:00
mohrt
c67fdfc756
update version numbers
2006-05-28 17:35:05 +00:00
boots
4ed5b5acab
un-hide hidden xml open tags
2006-05-25 14:46:18 +00:00
boots
acd33fed3f
separate handling of comment blocks from "special blocks"
2006-05-09 19:57:30 +00:00
messju
694d6ddcc2
fix handling of block-methods of registered objects
...
thanks to El Hombre Gris
2006-04-22 08:16:57 +00:00
messju
2fc1fd958f
removed possiblity for E_NOTICE on an undefined variable in
...
Smarty_Compiler::_compile_if_tag() - thanks to sbeh
2006-01-29 18:11:22 +00:00
mohrt
f4934fdcf0
update version numbers
2006-01-18 19:02:52 +00:00
messju
05ec80e72f
fixed use of references $cache_attrs and $repeat in Smarty_Compiler.
...
php does not allow to pass an assigned by reference to a function. since php-5.1.2
the reference to the lval gets lost when passing an assignment.
2006-01-15 19:29:45 +00:00
boots
e009be5640
Fix improper tokenization of certain inline math expressions.
...
Thanks to gerard at forums for reporting this.
2005-12-21 18:09:23 +00:00
mohrt
4f33ed7229
update version numbers
2005-12-14 14:53:55 +00:00
messju
1f838f15e7
fixed code generation of non-cacheable blocks to play well with php's
...
"Alternative syntax" used for example in compiled {if}..{else}..{/if}
blocks.
(see: http://php.net/manual/en/control-structures.alternative-syntax.php
on "Alternative syntax")
thanks to kihara from the forum.
2005-11-29 12:22:54 +00:00
boots
fdb25e363f
replace {} string access with equivalent substr() to avoid E_STRICT warnings in PHP 5.1
2005-11-23 20:36:05 +00:00
mohrt
159eb19d33
update version numbers
2005-08-05 20:53:04 +00:00
messju
986640555a
fixed proper escaping for literal strings passed to
...
Smarty_Compiler::_expand_quoted_text() by
Smarty_Compiler::_parse_var_props()
2005-08-04 19:43:21 +00:00
mohrt
bd60de4b42
add error message for empty if/elseif statements
2005-05-02 14:03:18 +00:00
mohrt
d13087a591
update version numbers
2005-03-31 14:57:19 +00:00
mohrt
741ffd0e92
disable variable func calls completely
2005-03-30 16:48:41 +00:00
mohrt
3297026a00
disallow variable func calls when security is enabled
2005-03-30 16:45:24 +00:00
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
messju
dde07d35fd
objects don't get casted to arrays anymore in {foreach}
2005-03-19 18:28:46 +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
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
bd2abcbbcd
fixed handling of hashed opening php-tags inside strip-blocks
...
(reported by titi_rafa)
2005-01-30 21:54:39 +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
messju
f44f5bddba
fixed escaping of template-filenames in the generated code that loads
...
needed plugins
2004-12-17 08:30:56 +00:00
messju
50c81af919
removed unused code
2004-11-08 08:26:16 +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
ed30e1ad20
added some property declarations
2004-09-29 07:16:17 +00:00
messju
355fd8292e
fixed handling of object derefence inside backticks
2004-09-21 15:28:04 +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
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
mohrt
9ea847409c
fix object parameter regex, allow one level of object indirection
2004-09-09 16:09:55 +00:00
mohrt
8cbe83510b
fix compile problem with numeric constants and math operator matching
2004-09-09 13:40:14 +00:00
mohrt
8b8b102a01
update files to 2.6.5-dev
2004-09-07 14:48:55 +00:00
mohrt
935ab8630a
fix preg_quote
2004-08-31 18:18:36 +00:00
mohrt
3bf0af8517
fix math in object params, clean up some regex on the way, change
...
preg_ delimiters to ~ to avoid character clashes with ! and %
2004-08-31 16:35:57 +00:00