1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

28 Commits

Author SHA1 Message Date
Nick Liu
20882920a0
Fix all PHP 8.1 test failures
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
  or HTML entity encoding of quotation marks, depending on a guess of
  what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
  `e_session_db` no longer implements `SessionHandlerInterface`.
  Instead, the alternative non-OOP invocation of
  `session_set_save_handler()` is used instead to apply the session
  handler.
* The shim for `strptime()` still calls the native function if available
  but now suppresses the deprecation warning.

* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
  maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
  maintain consistent behavior with past versions of PHP.

* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
  `validatorClass::dbValidateArray()` without a proper API for avoiding
  SQL injection
2021-09-04 15:06:19 +02:00
Cameron
e51dfa1fc8 Test all e_shortcode.php files in core. PHP8 Fix for featurebox. 2021-01-14 10:30:22 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
bdb45485ee Code Cleanup 2019-05-20 14:53:43 -07:00
Cameron
abf125d2fc PHP warning removal and social/e_header.php added to deprecated list. 2016-12-30 14:45:54 -08:00
Cameron
0109e91271 Missing contentEditable script added. Removed unused zrssfeed script. Added default featurebox css for a fixed height. Experimental JS manager CDN check code added (but disabled for now) 2016-06-02 15:04:08 -07:00
Cameron
6c3638fc48 Featurebox Default Styling added. 2016-06-02 10:35:12 -07:00
Cameron
a78f6ae14e Language file cleanup continued. 2015-01-31 01:09:25 -08:00
Moc
096f4d08db Featurebox plugin - Code cleanup 2014-09-11 20:57:52 +02:00
Cameron
a57faeb3b9 Fix for google-plus icon on Social plugin. {EXTENDED} may now have a class added. Debug info added when Featurebox returns nothing. 2014-01-29 11:10:05 -08:00
Cameron
7efdd3f31f Bootstrap3 styling fixes and embedded featurebox layout added. 2014-01-06 07:52:13 -08:00
Cameron
62509f09fb Issue #435 - More Bootstrap 3 tweaks 2013-12-19 22:45:09 -08:00
CaMer0n
6673c50006 Feature-box jquery work. Slider and Tabs functional. 2012-06-05 09:14:22 +00:00
secretr
a2c8e9046e Missing legacy constants in some cases;
Featurebox empty tablerender removed when there are hidden items;
Index page (when set Welcome Message) empty tablerender removed;
2011-12-05 15:12:56 +00:00
secretr
b8e6006bf9 featurebox - more flexibility (to be used from external code mostly) 2010-11-20 15:43:02 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
secretr
ddba35bc51 featurebox bugfixes 2009-12-13 10:28:15 +00:00
secretr
e7410e2440 Featurebox tabbed content support added (new core 'tabs' template) 2009-12-12 16:35:46 +00:00
secretr
5d90f1d6e4 featurebox missing counter 2009-12-11 14:38:26 +00:00
secretr
cd4afa2d85 featurebox code optimization 2009-12-11 14:33:31 +00:00
secretr
7758486759 more featurebox flexibility 2009-12-11 13:45:12 +00:00
secretr
ffaf88d2dd leftover debug 2009-12-11 13:12:38 +00:00
secretr
6365a4b3f4 more featurebox front-end fixes 2009-12-11 13:11:36 +00:00
secretr
11e26c49bc featurebox front-end fixes 2009-12-11 12:51:10 +00:00
secretr
abc0d5a7c6 featurebox front-end - dynamic (AJAX) loading added, the rest is only theme styling; working examples in jayya and _blank (better one) 2009-12-10 22:46:46 +00:00
secretr
c344133a74 featurebox front-end - done, dynamic part and cleanup in progress 2009-12-09 18:33:43 +00:00
secretr
11d37fdc76 featurebox front-end - work in progress 2009-12-08 17:21:36 +00:00
CaMer0n
949e0ceb2a add a default shortcode 2009-11-25 12:01:25 +00:00