Commit Graph

1083 Commits

Author SHA1 Message Date
messju
befdff26d8 fixed handling of $etc in the truncate modifier when $etc is longer
than $length.

thanks to Sylvinus!
2007-01-17 22:10:01 +00:00
boots
72a44bbbf6 fix handling of %I with mysql timestamps
Thanks to Danilo Buerger
2007-01-10 18:55:58 +00:00
boots
89eb4509c0 fix handling of %I with mysql timestamps
Thanks to Danilo Buerger
2007-01-10 18:12:11 +00:00
boots
f30371dff9 Better recognize Windows filesystems to reduce warnings 2007-01-10 16:28:38 +00:00
boots
aae3f2e702 Emulate %R in the date_format modifier on Windows
Thanks to Danilo Buerger
2007-01-10 16:25:23 +00:00
mohrt
5c14c2c053 update dev version numbers 2006-12-01 15:40:05 +00:00
boots
bead1d6696 Fixed replacement bug introduced by last changes.
Thanks to Spuerhund from the forums.
2006-12-01 01:06:13 +00:00
mohrt
07683a4a9c update dev version numbers, fix manual typo 2006-11-30 17:01:28 +00:00
boots
60c143f144 fix depth formatting of arrays and objects in modifier debug_print_var 2006-11-20 21:04:17 +00:00
boots
6f0d444d50 change file writing semantics in smarty_core_write_file()
This avoids unlink() unless rename() fails or a Windows system is detected

see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956

Thanks to c960657 from the forums.
2006-11-08 19:00:46 +00:00
boots
688363bb54 update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug output and apply a Smarty based color scheme
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=7178

thanks to cybot from the forums!
2006-11-07 20:57:34 +00:00
boots
35640e573f enhance reporting precision of debug_print_var modifier
see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=9281

thanks to cybot from the forums
2006-11-07 20:32:56 +00:00
boots
9618565d46 make html_select_date work consistently with 0000-00-00 00:00:00 and 0000-00-00 inputs
Thanks to cybot from forums
2006-11-01 20:35:08 +00:00
messju
c5f0dad3e2 fixed wrong handling of name attribute in {insert}
thanks to Ivan Kravets for reporting this
2006-08-25 19:21:27 +00:00
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
boots
52820c3eea fixed email address in comments 2006-07-10 17:39:54 +00:00
boots
da6df3c7f1 html_table: fixed th/tr output, added hdir support for column headings,update docs to reflect new features 2006-07-10 15:37:08 +00:00
messju
b68f354f23 fix occasional notices on undefined variables 2006-07-08 08:08:29 +00:00
boots
bd46e206e9 Added ability to specify column headings in {html_table}
Added th_attrs attribute which works similary to td_attr and tr_attr but
for TH elements. Changes the cols attribute to allow mixed values; a
numeric still specifies the number of columns to render but now an array
of values can be used to specify TH column values. The number of columns
is determine from the size of the array. Further, a comma-separated
string of column names can be used which is internally coverted to an
array and used as if it was specified as a normal array.

Thanks for lynlyn for the feature request.
2006-07-08 07:57:07 +00:00
boots
c63f133e69 fix comments in outputfilter.trimwhitespace 2006-06-23 08:41:33 +00:00
boots
d39b035391 fixed ordering of replacements in trimwhitespace output filter
Thanks to Getty from IRC for reporting this.
2006-06-23 08:34:31 +00:00
boots
eb3e5c3545 update mailto function plugin to work around a firefox/thunderbird escaping bug
Thanks to elijahlofgren from the forums for reporting this and providing the necessary patch
2006-06-20 19:10:56 +00:00
boots
ff0f70bac8 emulate %l in the date_format modifier on windows
thanks to Gibberish from the forums for reporting this
2006-06-20 16:38:36 +00:00
boots
5f26404987 Fix handling of apostrophes in the capitalize modifier.
Thanks to asmecher from the forums for reporting this and providing a partial solution.
2006-06-14 14:14:23 +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
boots
08daa7ba84 reverted {popup_init} as proposed change to insertion behviour was not BC 2006-05-09 19:48:54 +00:00
boots
06d203c81e changed {popup_init} to only emit code once during a request
Thanks to TGKnIght from forums
2006-05-04 19:10:13 +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
mohrt
61278fea98 fix typo 2006-04-04 16:24:13 +00:00
mohrt
76bc34f2ff remove delim quote 2006-03-08 14:37:37 +00:00
mohrt
76b3d6b688 fix delimiter issue 2006-03-08 14:13:08 +00:00
mohrt
8006bf79a2 use preg_replace to cover any space chars 2006-03-03 14:46:33 +00:00
mohrt
d2f6f2a92b fix problem with allowing "e" modifier 2006-03-03 14:42:01 +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
messju
3079a7510f fixed incompatible use of fread() in Smarty::_read_file()
it choke on php-5.1.1 and later.
thanks to andig for pointing this out.
2005-12-31 19:17:05 +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
messju
b471731ae9 fixed problem with math in certain LC_NUMERIC locales.
thanks to wiebren for providing problem+solution.
2005-12-19 00:12:18 +00:00
mohrt
4f33ed7229 update version numbers 2005-12-14 14:53:55 +00:00
messju
6665e58ecf forgot to update the strings in smarty_core_write_compiled_include()
when chaning the generated code in
Smarty_Compiler::_push_cacheable_state() and
Smarty_Compiler::_pop_cacheable_state()
2005-11-29 15:20:27 +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
messju
3cb166ba4a fixed handling of multiple identical calls to {insert}.
the function was called multiple times, but all inserts where replaced
by the results of the first call to the insert function.
2005-11-26 16:59:02 +00:00
messju
bf55612944 added credits 2005-11-26 08:34:08 +00:00
messju
4d3bb1acf7 added "closeclick" from http://www.bosrup.com/web/overlib/?Command_Reference 2005-11-26 08:30:42 +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
boots
7e4950a0f0 return valid reference in get_config_vars() when given var is non-existant 2005-11-09 15:46:37 +00:00