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

189 Commits

Author SHA1 Message Date
Cameron
3f73b9ccca Issue #4918 Missing LANs. 2022-12-14 14:38:42 -08:00
Cameron
60d9c29af3 Fixes #4916 - Undefined LAN. 2022-12-10 05:44:50 -08:00
Cameron
52cf8f5bfa Closes #4783 Added Page Meta-Title field and synced with Page title.
Issue #6 global LAN_META_DESCRIPTION and LAN_META_TITLE added and replacements made throughout.
2022-06-08 18:29:37 -07:00
Cameron
2097778cc5 Experimental schema template added to FAQs. 2022-02-04 13:26:52 -08:00
Cameron
c17b985441 Experimental schema template 2022-02-04 12:04:21 -08:00
Jimako
88cda1fac6
FAQ plugin - add shortcode for ID 2021-11-07 12:22:12 +01:00
Cameron
1351435a7c Added some missing canonical values. 2021-10-04 11:56:30 -07:00
Cameron
171cac87b1 Admin-UI type=datestamp and batch=true was producing unexpected results in the batch filter. Now provides an option for setting the current date/time. 2021-09-23 12:37:30 -07:00
Cameron
79e016a7f6 Using e107::title() will now automatically add an og:title meta value if one isn't already defined. 2021-09-22 12:23:30 -07:00
Cameron
8b2e6b955a Updated define('e_PAGETITLE') to e107::title() 2021-09-22 12:14:24 -07: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
Nick Liu
7cef4264c6
#4512: faqs_shortcodes::sc_faq_count(): Return blank string instead of 0
Previously incorrect null coalesce returns 0 instead of a blank string

Fixes: #4512
2021-06-07 21:52:36 -05:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
3d19db894b PHP8 Fixes and shortcode tests for chatbox_menu, download, faqs, forum and forum-post 2021-01-07 09:42:19 -08:00
Cameron
0958f41d9a PHP8 fix for FAQs failing. 2021-01-03 10:31:38 -08:00
Cameron
14862f0463 PHP8 Warning removal. 2021-01-01 10:45:26 -08:00
Cameron
7dfac0dcfa Issue #4299 - PHP8 compatibility fixes. 2020-12-25 10:23:56 -08:00
Cameron
402d1f4126 Closes #1801 Code cleanup. Deprecated method errors added. 2020-12-22 14:48:28 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -08:00
Cameron
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
f605ddc552 Code optimization and cleanup. 2020-12-10 15:52:48 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Tijn Kuyper
6a8b7cb455
FAQs e_search code clean-up 2019-10-26 15:42:43 +02:00
Tijn Kuyper
11b87ff174
FAQ plugin - added shortcode category ID
Co-Authored-By: Jimako <jimmi08@users.noreply.github.com>
2019-10-02 09:39:41 +02:00
Tijn Kuyper
c06a66dfda
FAQ plugin - code clean-up
Co-Authored-By: Jimako <jimmi08@users.noreply.github.com>
2019-10-02 09:39:04 +02:00
Tijn Kuyper
ca74ff4460
Fixes #2822 - FAQ classic layout fixed 2019-09-30 15:56:03 +02:00
Cameron
2f5cfda4d4 Disabled google-plus share button. Bootstrap 4 button size fix. 2019-08-22 14:45:33 -07:00
Cameron
c3b3b0077c {FAQ_HIDE} added for manual collapse/expand management via template. 2019-08-22 10:27:27 -07:00
Cameron
d02ede9750 Linkwords fix. 2019-08-22 09:34:34 -07:00
Cameron
bfa5c4575c Remove link words from faq question. 2019-08-22 09:32:30 -07:00
Cameron
f57aa8ab93 Separate {FAQ_SHARE} shortcode added. 2019-08-22 09:27:33 -07:00
Jimako
09ad3944c4
fix for working with multilan pref
fix if you use shortcode, but caption for tablerender is loaded on other place
2019-06-13 15:50:58 +02:00
Jimako
affcec8e47
fix for working with multilan pref
#2822
2019-06-13 15:46:58 +02:00
Cameron
60b7f3ae6d Minor tweaks. 2019-06-05 21:59:03 -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
d708d58090 Admin-ui: FAQ filtering was not working with keywords in questions/answers. (configured incorrectly) 2019-02-05 19:44:40 -08:00
Cameron
9eaab96373 FAQs frontend LANS renamed to match specifications. Filter alert removed and replaced with Filter in breadcrumb. 2017-10-18 17:00:40 -07:00
Cameron
df63772955 Fixes #2823 FAQs breadcrumb. 2017-10-18 07:05:39 -07:00
Cameron
02e80f50de Parser cleanup 2017-09-19 16:19:39 -07:00
Gábor
ed4b17c2d4 Update admin_config.php 2017-09-06 07:01:39 +02:00
Gábor
562cfff652 Update English_admin.php 2017-09-06 06:55:20 +02:00
Cameron
2b92696822 Remove empty lines from end of script. 2017-04-19 16:59:51 -07:00
Gábor
2a1ca8c622 Update e_cron.php 2017-04-14 12:05:33 +02:00
Cameron
8c5149e20e FAQs syntax error fix. 2017-04-12 19:32:52 -07:00
Cameron
fafb571bf3 faq cron Syntax error fix. 2017-04-10 17:57:59 -07:00
MikeyGMT
cb51a148fa Moved LAN_FAQS_ASK_A_QUESTION
added back and commented so it shows it moved.
2017-04-01 11:36:46 +01:00