Cameron
4032c2954f
Issue #3778 - page/e_sitelink cleanup and optimization. Test added. Fixed bookNav() which should only return book links.
2022-03-11 18:01:56 -08:00
Cameron
7fd6fdf478
Fixes #3778 - SEF URL issue on custom page comments. Also introduces pageHelper class with use added to e_related, e_search and e_sitelink.
2022-03-11 12:23:31 -08:00
Cameron
68c3b0649c
Remove PHP warning.
2021-11-24 14:38:39 -08:00
Cameron
fb96bfba39
Option added to use different field for link name.
2021-09-23 15:55:32 -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
Jimako
2d35fd27d0
#4402 fix wrong template key,
...
Probably just mistypo
2021-02-24 20:33:45 +01:00
Jimako
364f41231a
#4393 Available chapter id on chapter page
2021-02-17 20:23:18 +01:00
Cameron
acc1a9af0d
Plugin script tests and PHP8 fixes.
2021-01-22 13:44:10 -08:00
Cameron
e57b1a9b61
Issue #4352 Added canonical for home page and frontpage setting.
2021-01-19 13:31:20 -08:00
Cameron
eec9a163cb
PHP8 fixes. Tests added for online shortcodes, page/e_shortcode.php
2021-01-08 11:46:30 -08:00
Cameron
452f594ad2
Issue #4336 and tests for e107::plugLan() (e107::lan()) . Error message will be displayed in debug mode when a LAN file failed to load.
2021-01-08 09:56:33 -08:00
Cameron
7dfac0dcfa
Issue #4299 - PHP8 compatibility fixes.
2020-12-25 10:23:56 -08:00
Cameron
5b82c292b1
Code cleanup
2020-12-18 19:55:12 -08:00
Cameron
42f0e902d4
Issue #4283 - Update deprecated sql method usage. Removed old code.
2020-12-17 05:52:54 -08:00
Cameron
e1593de8ee
Removed redundant PHP closing tags.
2020-08-10 15:49:44 -07:00
Tijn Kuyper
60abccc1e2
Move 'custom page' frontpage to its own e_frontpage addon
2019-10-24 10:44:24 +02:00
Cameron
4ae90b62b3
Code cleanup and PHPDoc
2019-06-06 14:25:58 -07:00
Cameron
1dbc90143f
Case cleanup toHtml() should be toHTML()
2019-02-26 12:22:36 -08:00
Cameron
a9ae32b9f4
Issue #3511 - removed closing PHP tag.
2018-10-19 12:50:37 -07:00
Tijn Kuyper
c3e4cb07c3
Fixes #3511 - second attempt, removal of empty line after closing tags
2018-10-19 15:00:37 +02:00
Gábor
034bc41793
Update English_global.php
2018-10-10 22:35:04 +02:00
Gábor
36b6afcd31
Update e_search.php
2018-10-10 22:30:03 +02:00
Gábor
c31623e2fd
Update e_search.php
2018-10-07 09:14:01 +02:00
Cameron
e9ddd09766
Issue #3307 Issue #3385 Testing required. "+" sign encoding.
2018-08-17 14:56:57 -07:00
Cameron
b40b1916a3
Issue #2970 btn-default > btn-default btn-secondary
2018-01-10 15:06:40 -08:00
Cameron
a68cf279b6
PHP Notice removal and debug info styling.
2017-12-17 13:13:18 -08:00
Cameron
2ae932362f
Added 'limit' parm to {CHAPTER_MENUS}
2017-11-17 14:02:16 -08:00
Cameron
e165c90575
{BOOK_CHAPTERS} shprtcode added.
...
Render All visible Chapters from a specific Book.
Uses "listChapter" template key. ie. $CHAPTER_TEMPLATE[---TEMPLATE --]['listChapters']
Example {BOOK_CHAPTERS: name=book-sef-url&template=xxxxx&limit=3}
2017-11-10 15:37:23 -08:00
Cameron
0e3c68f0b8
Improved the front-end inline editing feature. Now has Save and Cancel buttons.
2017-11-10 09:03:04 -08:00
Cameron
6140a2ceb0
{CHAPTER_MENUS} shortcode now has a 'class' parameter which takes array values. eg. {CHAPTER_MENUS: class[]=primary&class[]=warning&class[]=success}. These values automatically rotate and are inserted in the menu body where {CLASS} is found.
2017-10-27 13:16:26 -07:00
Cameron
747cc3b572
Fix for 'active' param on {CHAPTER_MENUS}
2017-10-26 12:01:27 -07:00
Cameron
1b3168dcbc
The {CHAPTER_MENUS} shortcode now accepts the 'template' parameter. Additional Custom Menu shortcodes/aliases added:
...
{CMENU_TAB_ACTIVE} {CMENU_BUTTON_TEXT} {CMENU_BUTTON_URL}
2017-10-26 11:21:18 -07:00
Cameron
a37a5d4ff3
Fix for parse by reference errors.
2017-10-17 17:41:43 -07:00
Cameron
898e081656
Page Navigation work.
2017-10-17 16:22:56 -07:00
Cameron
eac0ad60fb
{PAGE_NAVIGATION} - new option 'pages'. Set to 'true' to display pages in a book/chapter list. eg. {PAGE_NAVIGATION: book=14&pages=true}
2017-10-17 11:29:47 -07:00
Cameron
fd35083546
Page list function was failing from site navigation.
2017-10-03 11:11:01 -07:00
Cameron
17abb6a08a
Fix: {CHAPTER_MENUS} shortcode now respects menu-visibility setting.
2017-03-12 10:01:19 -07:00
Cameron
5c3ce83168
Custom Field Fixes. Theme pref default fix. Shortcode updated: {CHAPTER_MENUS: name=chapter-sef-url}
2017-01-25 17:57:38 -08:00
Cameron
01801d6b94
Page/Menus : New Shortcode {CHAPTER_MENUS: id=chapter-sef-url} Render menus from a given chapter.
2017-01-25 13:08:53 -08:00
Cameron
d861727470
"No News" message formatting and css class. Page list sitelink function fixed.
2016-07-08 17:37:41 -07:00
Cameron
d30135e026
Menu Template fixes and enhancements. Related News now has a template.
2016-03-10 17:32:36 -08:00
Cameron
8c0680a18a
Corrected frontend modal markup. Corrected page registry identifier.
2016-02-28 20:50:09 -08:00
leo
a41e1b6c04
reworke on e_search and added folder and language file
2015-07-23 16:42:21 +02:00
leo
3bc8dbdf83
2015-06-25 16:05:23 +02:00
Cameron
027a74f5b0
Code cleanup
2015-02-15 02:37:36 -08:00
Jimako
ff5c522a12
Fix #857 chapter's list in page searching
2015-02-06 10:37:24 +01:00
Cameron
812ca301e3
Issue #857 - Page category advanced search - display only when chapters available.
2015-02-05 13:23:39 -08:00
Cameron
274069184f
Fixes #850 - Gallery missing description when using simple brackets. Fixes #607 - embedded English text.
2015-02-01 17:27:05 -08:00
Cameron
cee4ffd235
Language-file cleanup
2015-01-30 23:43:15 -08:00
Cameron
9618771f43
Tweaked the search results on 'Pages'.
2015-01-28 00:06:18 -08:00