Commit Graph

312 Commits

Author SHA1 Message Date
Uwe.Tews
abf692eaf7 - fixed security hole in {math} plugin 2010-04-17 10:19:47 +00:00
Uwe.Tews
7d42f5efb9 - bugfix cycle plugin 2009-11-17 20:20:17 +00:00
monte.ohrt
5d2ed61c31 Revert delimiter code change 2009-11-17 01:29:01 +00:00
monte.ohrt
243531e4a3 change split() to preg_split(), deprecated in php 5.3 2009-07-05 04:58:48 +00:00
monte.ohrt
c82db76539 strip backticks from math equations 2009-05-13 15:37:29 +00:00
monte.ohrt
380e0d0d6b fix problem with /e security check on arrays using regex_replace 2008-08-06 17:07:15 +00:00
messju
2e90a041fb fix handling of non-empty <pre>-tags and empty <textarea>- and <script>-tags 2008-07-31 13:52:48 +00:00
monte.ohrt
7aa88fbace revert to last versio 2008-03-05 13:47:28 +00:00
monte.ohrt
6be653b234 remove irrelevant ? in preg pattern 2008-03-05 03:08:50 +00:00
monte.ohrt
cc040d7350 fix bug in regex_replace where a \0 character ingores the rest of the line 2008-02-11 15:55:31 +00:00
messju
f0c0589b08 fixed typo 2007-05-29 10:20:26 +00:00
mohrt
e4ed759394 fix html_select_date separator when parts are missing (thanks to kayk for the patch) 2007-03-06 20:13:55 +00:00
danilo
a03bcd353f Updated smarty_core_write_file() and smarty_modifier_date_format() to speed up Windows detection.
Emulated more parameters for Windows in smarty_modifier_date_format() and fixed some old ones.
Updated the docs to tell what parameters are emulated on Windows.
Updated NEWS file.
2007-02-27 22:22:09 +00:00
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
aae3f2e702 Emulate %R in the date_format modifier on Windows
Thanks to Danilo Buerger
2007-01-10 16:25:23 +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
boots
60c143f144 fix depth formatting of arrays and objects in modifier debug_print_var 2006-11-20 21:04:17 +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
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
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
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
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
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
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
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
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
mohrt
b98c95a904 added passthru attribute feature to html_select_date 2005-07-08 13:36:34 +00:00
mohrt
3c55100655 add "middle" parameter to truncate modifier 2005-06-13 19:22:29 +00:00
mohrt
b954e0287a fix allowable label id characters 2005-05-20 18:11:50 +00:00