15 Commits

Author SHA1 Message Date
azett
52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00
azett
622a0d80b9 Fixed "syntax error, unexpected '['" bug under PHP 5.3, reported here: https://forum.flatpress.org/viewtopic.php?f=2&t=131 2020-04-15 14:46:55 +02:00
azett
50c11928f6 Fixed "syntax error, unexpected '['" bug under PHP 5.3, reported here: https://forum.flatpress.org/viewtopic.php?f=2&t=131 2020-04-15 14:43:54 +02:00
azett
61ec0d9f4d fixed some more each() calls;
core.utils.php: added new function utils_array_kshift();
code formatting changed slightly
2018-10-23 12:24:43 +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
real_nowhereman
403b1bf5e0 YO DAWG I HEARD U LIKE FIXES SO I PUT A FIX IN YO FIX SO YOU CAN COMMIT WHILE YOU COMMIT 2010-10-11 10:26:36 +00:00
real_nowhereman
c52c7b72d2 completing the fix for the backslash problem (which is still anyway an ugly hack) 2010-10-10 16:10:46 +00:00
real_nowhereman
b739d502f5 attempt to fix backslash problem (not tested) 2010-10-08 18:01:59 +00:00
real_nowhereman
c4211ddc2f fixing warning 2009-09-12 14:42:46 +00:00
real_nowhereman
eccfec41ee porting to PHP5-style object assignments (it should work now...) 2009-07-23 15:19:06 +00:00
real_nowhereman
744e16a9bb reverting awful mess in fp-includes 2009-07-21 16:41:35 +00:00
real_nowhereman
5e7f579ff5 future proofing, changed all object assignments to PHP5-style 2009-07-21 07:24:42 +00:00
real_nowhereman
d5e666a1a1 big commit: implemented sort-of 2-phase (3-phase actually) safe commit in FP; first entry is saved as draft, then content is moved along when indices have been succesfully updated; this way if btree fails, entry is anyway kept in a safe place; added a few cosmetic changes, a bunch of new, more descriptive language strings for the entry panel; added a "you are editing a draft" notice in the panel; hope you will like it :) 2009-02-03 16:53:52 +00:00
real_nowhereman
6737549a00 fixing draft escaping/unescaping of separator 2008-10-11 07:50:50 +00:00
real_nowhereman
a68630bf35 First revision of FlatPress Crescendo+1 ( 0.703+n :) ) 2007-10-30 10:30:07 +00:00