Jimako
a275e7a8cf
fix #4607 banner correct size on news detail page
2021-10-24 22:53:40 +02: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
08e0b26874
Removed 'log' plugin from repo. Now found at https://github.com/e107inc/log
2021-01-24 06:47:48 -08:00
Cameron
f055b49d91
PHP8 Plugin code cleanup
2021-01-21 09:38:38 -08:00
Cameron
b19f9ffbc3
Frontend scripts tests. (may break some things)
2021-01-19 18:52:56 -08:00
Cameron
692b8c8538
Prevent headers in CLI mode.
2021-01-16 10:02:52 -08:00
Cameron
62d6341303
Bbcode test and parser cleanup.
2021-01-14 14:46:49 -08:00
Cameron
7e90b791ba
PHP8 fixes.
2021-01-14 11:32:02 -08:00
Cameron
81634d5f5a
Issue #4332 Carousel fixes. Newsfeed now uses json to store data.
2021-01-01 09:33:51 -08:00
Cameron
09fb747374
Code cleanup
2020-12-05 14:13:18 -08:00
Cameron
b16d7605b6
Code cleanup.
2020-12-05 12:43:05 -08:00
Cameron
e1593de8ee
Removed redundant PHP closing tags.
2020-08-10 15:49:44 -07:00
Tijn Kuyper
fb727a0086
Closes #4046 - Add batch copy function to banner plugin
2019-12-16 17:58:48 +01:00
Tijn Kuyper
83fe2fa097
Banner plugin - code-cleanup (no functional changes)
...
Comment unused code
2019-11-27 15:54:47 +01:00
Tijn Kuyper
01adf399bb
Banner e_help to Admin UI
2019-10-26 15:59:05 +02:00
Cameron
9d2fcaf165
BC fix for banner image preview in admin area.
2019-06-06 07:43:40 -07:00
Cameron
bdb45485ee
Code Cleanup
2019-05-20 14:53:43 -07:00
Deltik
1f824faa69
Renormalized all text file line endings
2019-03-29 19:13:32 -05:00
Cameron
1dbc90143f
Case cleanup toHtml() should be toHTML()
2019-02-26 12:22:36 -08:00
Cameron
0192d9f481
Removed old code.
2019-02-03 17:45:54 -08:00
Tijn Kuyper
f4fe262a11
Fixes #3141 - Tweak banner menu display
...
If banner_amount is empty, display unlimited
2019-02-01 14:59:04 +01:00
Tijn Kuyper
8c055928e0
#3141 - correct LAN loading in banner_menu config (menu area)
2019-02-01 14:41:30 +01:00
Cameron
221f12088b
Issue #3216 PHP7 Fixes.
2019-01-17 13:20:56 -08:00
Cameron
9b2772b7ac
media-picker work. Issue #6 Removed '...' from LAN_SELECT and added manually where appropriate.
2018-07-25 12:29:52 -07:00
Cameron
0c7f40f164
Additional fix for banner admin language file.
2017-12-19 16:41:50 -08:00
Cameron
40fa389aa9
LAN fix for banner admin.
2017-12-19 16:27:28 -08:00
Cameron
43d0211590
Code cleanup: deprecated include_lan()
2017-01-23 09:41:23 -08:00
Cameron
d5af3b9246
BS4 img-fluid
2017-01-20 10:40:05 -08:00
Cameron
5df7c08282
Fix for default banner entry.
2017-01-10 11:52:24 -08:00
lonalore
c226e9a10b
Code cleanup. Fixed undefined variables.
2016-12-20 10:58:43 +01:00
Cameron
098f386c19
Fix for banner image size in admin.
2016-12-19 14:22:45 -08:00
Cameron
c0df670c7b
Banner now support external image urls.
2016-12-19 13:49:18 -08:00
Cameron
b9a331f15f
Banner: Legacy image path fix.
2016-12-06 18:07:36 -08:00
MikeyGMT
6bd52f6443
Banner Generic Lans #6
...
Found BNRLAN_37 in another file
2016-12-05 22:59:53 +00:00
MikeyGMT
b9bce0a12b
Enable Help in Banner Plugin
...
Enable Help in Banner admin area.
Make the default description for e107 Banner more accessibility
friendly. #275
2016-12-05 19:28:26 +00:00
MikeyGMT
0df6138eb7
Banner Menu Config
...
Banner Menu Config
2016-12-04 16:00:48 +00:00
MikeyGMT
022ceb9997
Banner Lans to Generic Terms #6
...
Replace duplicates with common terms in Banner Plugin.
Created this TODO term also LAN_DEFAULT_TABLE_DATA - for use in other
plugins too.
2016-12-02 10:33:29 +00:00
Cameron
90524aa0ce
Removed hard-coded line-breaks from banner-menu template. Issue #6 added missing social plugin LAN.
2016-09-23 17:21:02 -07:00
Cameron
d571d915ec
Notice Removal
2016-09-17 17:11:39 -07:00
Cameron
b4e1cccfa0
PHP Notice removal
2016-09-17 11:10:46 -07:00
MikeyGMT
0b8d4632c1
#6 Hard Coding in e_shortcode
...
Replace "no image assigned to this banner" BANNERLAN_39
2016-08-22 23:32:40 +01:00
Cameron
d861727470
"No News" message formatting and css class. Page list sitelink function fixed.
2016-07-08 17:37:41 -07:00
Cameron
638d670183
Fix for Banner insert issue when using PDO. Corrected display of MYSQL error messages when using PDO.
2016-05-29 11:00:37 -07:00
Cameron
9cf18a2708
Fixes #1567 - Addon validation.
2016-04-22 09:03:21 -07:00
rica-carv
863bf99657
Update e_shortcode.php
2016-04-19 13:20:47 +01:00
rica-carv
0c4802d246
Reworked parm check & revised code clean up
2016-04-19 09:13:35 +01:00
rica-carv
b7ca083800
Allow use of parms inside banner render
2016-04-17 16:19:46 +01:00
rica-carv
a1b0367224
Add img-rounded class to images
...
Add img-rounded class to images, for site wide image format consistency (like used for example by news...)
2016-04-16 23:15:42 +01:00
Cameron
2fdde516f2
BC fix for banner shortcode size.
2016-03-17 11:05:06 -07:00
Cameron
238c7b0bac
XUP (Social Login) fixes in usersettings form. Banner menu query corrected.
2016-03-14 03:03:56 -07:00