20 Commits

Author SHA1 Message Date
azett
c662bc3590 Call fs_is_directorycomponent() and fs_is_hidden_file() instead of checking manually. Also: Path traversal in Media Manager fixed. 2022-06-24 21:42:48 +02:00
azett
89d4545920 BOM in French language files broke the admin area on some systems. BOM removed. 2021-06-03 11:37:01 +02:00
azett
5a0b7541e7 Getting FlatPress ready for PHP 8: Added a lot of missing checks for undefined variables and array keys in template and PHP files. 2020-12-19 12:52:53 +01:00
azett
a9eeb2f408 Fix for #48: Mail adresses are accepted in a broader range. 2019-12-25 22:40:11 +01:00
azett
9e8298ec05 Updated Smarty to release 2.6.31 2019-12-25 19:01:19 +01:00
azett
d8de4bfb02 Replaced some more class-named constructors (and calls to them).
Removed unused and/or commented code.
Replaced calls to deprecated each() with array_shift() (not completely done yet, still some more to fix!).
Replaced call to deprecated create_function() with real callback function.
2018-10-03 13:53:40 +02:00
azett
6b8a4776df Included Matthias Mauch's PHP7.1 patch. Besides other changes regarding PHP7 compatibility, it replaces all the class-named constructors with __construct(). Thanks a lot, Matthias!
Please visit his website http://www.aadmm.org/fp-patch/ and read patch-description.txt to learn more about the details of the patch.

I adapted the patch slighty: It now does not just add a __construct() function to the existing class-named one, instead it replaces it completely. Therefore, some parent::__construct() calls had to be changed, too.
2018-10-03 11:00:55 +02:00
tom
2041c80c9a add a ; 2016-05-23 13:02:54 +08:00
tom
030c433796 fix warning "Strict Standards: Only variables should be passed by reference in /***/flat/fp-includes/smarty/plugins/function.list_categories.php on line 35" 2016-05-23 13:02:11 +08:00
Edoardo Vacchi
4637637116 fix strict error in function.list_categories.php 2014-04-29 16:49:58 +02:00
real_nowhereman
10a56bc3d0 updated smarty to last stable build 2011-04-12 08:18:10 +00:00
real_nowhereman
a5d37a6602 2009-12-17 17:52:49 +00:00
real_nowhereman
0bf4c9bb23 selected param now accepts any non-array value as well as arrays 2009-11-30 16:27:52 +00:00
real_nowhereman
0b816aa17b {list_categories} new behavior : it now expects a parameter values=$array_of_values 2009-11-25 10:12:42 +00:00
real_nowhereman
74de4a1095 list-categories checked radio 2009-01-01 19:09:35 +00:00
real_nowhereman
bf13a21d35 categories widget can now show numbers: EXPERIMENTAL, it's just a show-off :p needs some caching system 2008-09-08 15:32:15 +00:00
real_nowhereman
537c8eca82 isNumber is valid with < 0 2008-05-22 07:40:58 +00:00
real_nowhereman
d704c79ce9 fixed validator which allowed to post a blank filename for static pages 2008-02-29 16:52:38 +00:00
real_nowhereman
7fc51f79d1 this commit addresses some locale issues (date combobox in search template) and refactors a bit the date_formatting code; date_strformat was not used, so it's been modified to work as it should by moving around things a bit, and making it compatible - for what concerns the prototype of the function - to strftime 2008-02-28 14:56:52 +00:00
real_nowhereman
a68630bf35 First revision of FlatPress Crescendo+1 ( 0.703+n :) ) 2007-10-30 10:30:07 +00:00