Commit Graph

1064 Commits

Author SHA1 Message Date
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
mohrt
daf68045ea Added author title to plugins where they don't exist. I put my name where I was the original or co-author. If there needs to be more credit given somewhere, speak up! 2005-10-11 16:22:56 +00:00
mohrt
093e79e61a add path_prefix to html_image, fix incorrect secure_dir error when image file is missing 2005-10-10 14:41:28 +00:00
mohrt
49731f8e1c change default charset from utf8 to iso-8859-1 2005-08-30 21:03:23 +00:00
mohrt
dcfee3d1e8 add char_set param 2005-08-30 16:24:22 +00:00
mohrt
c7d1cc8727 fix notice in debug security check 2005-08-17 15:27:40 +00:00
mohrt
219ec26706 fix typo 2005-08-17 14:59:25 +00:00
mohrt
56bd1fbbd0 return valid reference in get_template_vars() when given var is non-existant 2005-08-17 14:58:32 +00:00
mohrt
c847cf5547 add "urlpathinfo" escape type to escape modifier. (apache does not like %2F in the PATH_INFO) 2005-08-12 19:38:56 +00:00
mohrt
159eb19d33 update version numbers 2005-08-05 20:53:04 +00:00
mohrt
a253dd2192 allow debug.tpl to work from arbitrary dir 2005-08-04 20:21:39 +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
f96326d4a9 update changes 2005-08-03 12:44:39 +00:00
messju
51c60e9736 removed ambiguity for numeric values passed to smarty_make_timestamp().
numeric values are *always* treated as timestamps now.
2005-07-27 20:54:24 +00:00
messju
d1e2df731d removed E_NOTICE from Config_File::get() 2005-07-18 15:22:41 +00:00
messju
aa88b07e8a removed E_NOTICE 2005-07-18 08:43:53 +00:00
messju
edab07b69d fixed problems with cached templates containing nocache sections when
they where displayed multiple times during a single request
2005-07-08 18:11:22 +00:00
mohrt
b98c95a904 added passthru attribute feature to html_select_date 2005-07-08 13:36:34 +00:00
messju
c9b92b8b56 removed unnecessary require('core.rmdir.php') 2005-06-23 17:30:57 +00:00
mohrt
3c55100655 add "middle" parameter to truncate modifier 2005-06-13 19:22:29 +00:00