1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

38 Commits

Author SHA1 Message Date
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
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
51024a5e8e Fix PHP errors under some circumstances. 2021-04-16 13:43:26 -07:00
Cameron
4b0edad459 Various PHP8 Fixes 2021-01-22 06:32:59 -08:00
Cameron
dd184a024c Issue #4332 Bootstrap 5 Fixes 2021-01-02 12:06:46 -08:00
Cameron
a7d8b1d41f Styling Rules Menus: btn-sm and btn-primary for primary buttons. btn-sm btn-secondary for additional buttons. 2021-01-02 09:43:54 -08:00
Cameron
81634d5f5a Issue #4332 Carousel fixes. Newsfeed now uses json to store data. 2021-01-01 09:33:51 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Tijn Kuyper
8e6180acc9
Fixes #2694 - consistency for news items check in months_menu and blogcalender_menu 2019-10-02 11:41:47 +02:00
Cameron
673dc08f09 Blog calendar menu button size fix. 2019-06-17 12:33:36 -07:00
Cameron
26ff074ee5 Issue #2970 Bootstrap 3 pull-left/right combined with Bootstrap 4 float-left/right. News Email/Print icon default styles added. 2019-06-17 12:27:53 -07:00
Cameron
cdcd10e7f5 Fix for blog-calendar links not in the current year. 2018-09-04 17:10:03 -07:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
ecef1f6ffa Date Class terms() method corrected. 'months' now uses the correct key. terms() method usage updated throughout.
Chart Class debug() method added
2017-04-06 11:02:54 -07:00
Cameron
a2575f00a5 Issue #1346 - Should correct broken blogcalendar URL issue. 2016-02-13 11:54:24 -08:00
mcpeace-maw
2878925571 Update blogcalendar_menu.php 2015-06-26 21:19:55 +03:00
Cameron
c65359e444 Removed Months and Days from language files. Replaced with strftime() functions. New 'terms' method added to Date handler.
eg. e107::getDate()->terms('month'); returns an array of month names in the current language.
2014-06-02 17:07:02 -07:00
Cameron
32e9407eea HTML5 validation fix 2014-02-16 07:13:11 -08:00
Cameron
3eebb493b6 Notice removal 2014-02-04 03:04:31 -08:00
Cameron
5a4d97ca9a Bootstrap3 news and search-menu template fixes.
New thumb.php placeholder feature added.
New {GLYPH} shortcode added. Usage: {GLYPH=time}
2013-12-31 09:59:19 -08:00
Cameron
b8724bc4bc Fixes #465 - Bootstrap3 layout with sidebar panel added. Menu Preset added. Bootstrap3 styling tweaks to news menus. 2013-12-30 06:23:12 -08:00
Cameron
a0cd88dfe8 Fix for broken blog-calendar menu links 2013-11-03 03:12:54 -08:00
Cameron
ee6626ff94 Blog calendar fixes (urls etc.) 2013-07-23 07:14:18 -07:00
Cameron
576862f49e HTML fixes 2013-07-14 02:37:02 -07:00
Cameron
e70b7d04b7 Fix: Display blog-calendar of current month, regardless of if posts exist 2013-07-08 10:41:16 -07:00
Cameron
a0aec4b210 Renamed bootstrap flag e_BOOTSTRAP to BOOTSTRAP. Set e_BOOTSTRAP as path of bootstrap folder. 2013-06-17 16:03:33 -07:00
Cameron
fb1f376a90 BC Styling fixes. 2013-05-05 16:49:19 -07:00
Cameron
cfff63f08c Blog Calendar BC fix 2013-05-05 14:42:40 -07:00
Cameron
ab2f3691d8 Blog calendar menu now navigates through years as well. 2013-04-26 18:19:54 -07:00
Cameron
e624d32789 Blog calendar menu was not functioning at all. Fixed. Bootstrap carousel enhancements added. 2013-04-25 17:34:47 -07:00
secretr
548b585f7e Moving the system to the new URL assembling, fixed call to a non-existent eUrl method system wide. 2011-11-26 18:17:42 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00
secretr
c32d6cc02e eURL and news administration cleanup, server caching added to various news related places, blog calendar fixes 2009-09-25 20:20:23 +00:00
secretr
20efebb64a Blog calendar menu - respect news rewritten URL's 2009-09-23 16:21:09 +00:00
e107steved
d75e047a10 Additional parameter vetting 2007-12-03 20:38:13 +00:00
mcfly
e149b35fcc new module creation 2006-12-02 04:36:16 +00:00