103 Commits

Author SHA1 Message Date
azett
db6f22f25b Merge branch 'master' into issue94_smartyupdate 2022-06-19 12:49:49 +02:00
azett
fd9aea911d First part of #114: Error msg on uploading a forbidden file. Thx laborix! 2022-06-19 12:37:56 +02:00
azett
f87cb3c3d2 Merge branch 'master' into issue94_smartyupdate 2022-06-18 20:53:43 +02:00
azett
14895d03e7 Current time displayed as format example is now in the configured time zone - thanks, laborix! 2022-06-18 20:32:39 +02:00
azett
51bc4cb120 Merge branch 'master' into issue94_smartyupdate
# Resolved conflicts:
#	fp-includes/core/includes.php
#	fp-plugins/bbcode/plugin.bbcode.php
#	fp-plugins/commentcenter/inc/admin.php
2022-06-18 12:06:34 +02:00
azett
226482d3b6 Bugfix: Do not display empty warning msgs box 2022-06-16 12:30:47 +02:00
azett
becd504aae Issue 106: Invalid HTML output fixed 2022-05-07 20:02:41 +02:00
azett
6bafd11149 Made the BBCode toolbar of the editor work with Smarty 4. 2022-04-09 14:13:46 +02:00
azett
1424e3bb7b Updated calls to current Smarty API: clear_all_cache() -> clearAllCache(), clear_compiled_tpl() -> clearCompiledTemplate() 2022-02-06 15:44:24 +01:00
azett
fc883803a0 Added indentation 2022-02-06 15:38:06 +01:00
azett
a6e44a8e7f Fixed plugin mgmt template. Also: Fixed empty warning box. 2022-02-06 15:08:09 +01:00
azett
25c1618042 Updated FP-specific Smarty plugin "Admin" to v4 OOP style. Replaced obsolete get_template_vars() calls with getTemplateVars(). 2022-01-29 15:20:42 +01:00
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
8633cb6d48 Fix for #77: Unnecessary quotes broke access to array value 2021-02-28 11:43:14 +01:00
azett
25eacf6ccc Bugfix in admin area: Requesting a non-existant panel will not result in error message any more. Instead: Redirection to main panel. 2021-02-24 18:37:26 +01:00
azett
efe08266d8 Fixed uninitialized variables and unexpected error states. Also: Misspelled key in German language file. 2021-02-20 11:53:57 +01:00
azett
27c3e825b3 Fixed Heredoc strings. Turns out, Heredoc syntax - https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc - only works with closing tags being the first characters of a line. Eclipse's reformatting and indention of the code does not seem to know that^^
Fix: Changed Heredoc strings to "normal" strings.
2021-02-13 13:47:18 +01:00
azett
7e8ddb88b8 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Fixed some tiny PHP errors.
Thanks for reporting, Matthias!
2021-02-13 13:03:09 +01:00
azett
8b5a2cbd57 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Fixed some PHP errors in BBCode plugin and Calender plugin.
Thanks for reporting, Matthias!
2021-02-07 12:10:19 +01:00
azett
c539c2bb7e Fixed more template errors in order to get everything running with PHP 8.0.
Also: Removed some unneeded code.
2021-01-01 13:25:03 +01:00
azett
22abda2369 Fixed more template errors in order to get everything running with PHP 8.0.
Also: Change in language files, widget management is no longer called "experimental".
2021-01-01 12:57:46 +01:00
azett
f5877b4f7e Fixed more template errors in order to get everything running with PHP 8.0 2021-01-01 12:37:17 +01:00
azett
5ee2cce5df Fixed more template errors in order to get everything running with PHP 8.0 2020-12-31 23:50:18 +01: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
c1e368b222 Uploader checks for forbidden files more carefully. And: #56 fixed. Thanks again, Matthias! 2020-09-06 12:22:55 +02:00
azett
082c113d67 Security: PHP files can not be uploaded any more - see https://www.exploit-db.com/exploits/39870 2018-12-31 15:13:49 +01:00
azett
7e9c1666c3 updated GitHub links in the Admin Maintain panel 2018-12-31 13:06:25 +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
Marc Thibeault
006c06c49e Updated download paths in maintain / check for updates page 2016-01-19 19:23:34 -05:00
MarcThibeault
60442e00e3 Changed 'Archive' to 'Categories' in entry editor
Noticed that when editing an entry, the categories checkbox container's
name was 'Archive'. I modified the template and the lang file so that
it's 'Categories' from now on.
2014-02-28 21:13:14 -05:00
liquibyte
0f6e40c7da Things just don't seem to work right with git.
Signed-off-by: liquibyte <liquibyte@gmail.com>
2014-01-29 23:50:55 -05:00
liquibyte
f97f35dd5e Doing a re-commit to make sure things are working right.
Signed-off-by: liquibyte <liquibyte@gmail.com>
2014-01-29 23:43:52 -05:00
liquibyte
e121753594 Rewrote admin.widgets.js to allow external styling. Added drop functionality to available widgets to accept installed widgets drop to delete.
Added two classes to admin.css to style hover colors of available widgets, installed widgets and trashcan.

Signed-off-by: liquibyte <liquibyte@gmail.com>
2014-01-29 01:45:49 -05:00
Edoardo Vacchi
38e6db0e85 fix signature of methods in admin panel 2013-11-27 18:11:15 +01:00
real_nowhereman
81a47b5f8f disable RAW widgets editor (deprecated) 2013-06-24 19:09:39 +00:00
real_nowhereman
c9564f7503 fixing 'strict' errors 2012-03-25 21:43:59 +00:00
real_nowhereman
2d1174228f fix nested forms 2011-04-15 17:09:39 +00:00
real_nowhereman
6721d8098d fix ie9.. not entirely satisfied though.. 2011-04-14 07:36:31 +00:00
real_nowhereman
4263c3fb8d namespacing widgets, IE9 hotfix 2011-04-13 10:30:38 +00:00
real_nowhereman
d3f7b04446 reverted back JS confirm 2010-11-07 13:36:30 +00:00
real_nowhereman
9606e13aad comment were not deleted 2010-11-07 12:07:48 +00:00
real_nowhereman
9503be02e2 fix version check 2010-11-05 13:09:18 +00:00
real_nowhereman
c5fcc39d7f prevent injections 2010-10-21 09:03:50 +00:00
real_nowhereman
8dfa99d8c6 prevent cat-0 from being tampered with 2010-09-29 19:41:16 +00:00
real_nowhereman
2e41413efe updated plugin, modified admin panel with empty divs; now save&continue (sort-of) works (experimental!) 2010-08-25 19:54:25 +00:00
real_nowhereman
8177592469 adding plugin hooks to panels (experimental) 2010-08-25 17:40:09 +00:00
real_nowhereman
9c577211fd ugly workaround to fix jQuery UI vs. IE8 bug 2010-08-23 17:21:56 +00:00
real_nowhereman
8723504185 partial fix to widget panel bug (still error on trashing --IE8) 2010-08-23 14:23:49 +00:00
real_nowhereman
fec91ae412 many minor edits, porting to jQuery (thanks to pierovdfn!) 2010-08-12 10:02:52 +00:00