1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

951 Commits

Author SHA1 Message Date
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Nick Liu
582c48fc21 PHP 8.0 fix: Undefined constant in e107_handlers/form_handler.php
Fixes this fatal error:

```
PHP Fatal error:  Uncaught Error: Undefined constant "ADMIN_AREA" in ~/public_html/e107_handlers/form_handler.php:6505, referer: https://example.net/e107_admin/users.php
Stack trace:, referer: https://example.net/e107_admin/users.php
#0 ~/public_html/e107_handlers/admin_ui.php(7095): e_form->renderListForm(), referer: https://example.net/e107_admin/users.php
#1 ~/public_html/e107_handlers/admin_ui.php(6152): e_admin_form_ui->getList(), referer: https://example.net/e107_admin/users.php
#2 ~/public_html/e107_handlers/admin_ui.php(2275): e_admin_ui->ListAjaxPage(), referer: https://example.net/e107_admin/users.php
#3 ~/public_html/e107_handlers/admin_ui.php(1335): e_admin_controller->dispatchPage(), referer: https://example.net/e107_admin/users.php
#4 ~/public_html/e107_admin/users.php(3005): e_admin_dispatcher->runPage(), referer: https://example.net/e107_admin/users.php
#5 {main}, referer: https://example.net/e107_admin/users.php
  thrown in ~/public_html/e107_handlers/form_handler.php on line 6505, referer: https://example.net/e107_admin/users.php
```
2020-12-17 22:51:46 +01:00
Cameron
b6dbb86c1d Issue #4270 - Admin-UI: WebP support when rendering 'type'=>'image' 2020-12-17 09:55:51 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
83d189e04c Fix for missing dropdown selection in admin-ui edit mode. 2020-12-03 17:31:03 -08:00
Nick Liu
f20052fa77 Fixed all unchecked usages of possibly undefined constant BOOTSTRAP 2020-11-30 12:55:04 +01:00
Nick Liu
f256b924ce Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
94dbbb0278 Closes #4196 - Options for a custom ID on the datepicker() form element. 2020-06-16 11:35:20 -07:00
Cameron
07c4cb7a5d Made mediapicker image selector the same width as bootstrap input element. Removed some PHP notices. 2020-06-11 10:26:37 -07:00
Cameron
450b35f017 Removed redundant closing tags. 2020-06-05 11:34:17 -07:00
Cameron
80c5bd7582 Fixes #4171 - checkbox visibility issue. 2020-05-18 11:04:51 -07:00
Cameron
d9037999dd Fixes #4166 - Check-all checkbox class conflict. 2020-05-15 11:47:07 -07:00
Cameron
bf00c3ad83 Bootstrap 4 Fixes on Usersettings page. 2020-05-13 13:31:43 -07:00
Cameron
a5a4b900a4 Admin-UI: Avoid an unexpected dropdown result if writeParms['optArray'] is defined but empty. 2020-04-16 10:28:18 -07:00
Cameron
65322ee132 Issue #3058 - Tweak to avoid conflict with other boolean fields. 2020-04-09 17:42:44 -07:00
Cameron
3730254b8a Admin-UI: Issue #3058 - Made true/false icons consistent regardless of whether inline editing is enabled or disabled. 2020-04-09 17:22:10 -07:00
Cameron
fd6c9563bd datepicker() deprecated $option['type'] and added $option['mode'] as a replacement. Provides a workaround to a conflict involving a custom 'type' in the writeParms(). 2020-03-28 15:23:38 -07:00
Cameron
3f415f70c1 Admin-UI: Log Query, Page and Observer Methods to e_LOG when in debug mode. 2020-03-27 14:06:44 -07:00
Cameron
3173c9c173 Prevent e-modal conflict with other modals. (also supports data-modal-target attribute) 2020-03-26 15:30:09 -07:00
Cameron
b431e6796c Admin-UI:Form Handler - renderTableRow() now calls a new method: renderTableCells() to generate the table cells. 2020-03-19 14:51:38 -07:00
Cameron
3cfdab25e4 Admin-UI/Form Handler: Fix for auto-link generation failing in create/edit mode. 2020-03-13 18:03:51 -07:00
Cameron
bd45d497d8 mediapicker() enhancements. Now accepts: resize, rename and convert $parms. See PHPDoc for details. 2020-03-09 17:30:29 -07:00
Cameron
0ef918eb59 Issue: #4097 Media Picker plugin path fix and edit button disable option. 2020-03-09 07:39:21 -07:00
Cameron
d805e5c4e9 Fixes #3461 - Removed duplicated type=hidden elements. Code Cleanup 2020-03-09 06:38:28 -07:00
Cameron
2a49e2a794 Moved renderCreateFieldset() table-row routine into new method renderCreateFieldRow(). Cleaned up other code for PHP validation. 2020-03-08 19:56:38 -07:00
Cameron
91d69898df Fix for e_form::name2id() when = and ? characters are detected is found. 2020-03-06 17:08:23 -08:00
Cameron
eff8293866 Custom CSS class on container when modal/iframe is active. 2020-03-03 08:08:06 -08:00
Cameron
d23c65b30c Fixes #4083 Column selector displaying improperly defined field.
Admin-UI: Multi-language database language only displays when a table match is found.
2020-02-22 10:03:41 -08:00
Cameron
79c5b3e694 Issue #4049 - Media-Manager Url fix. Fixed Media Preview.
Admin-ui: type='media' example added to blank plugin.
2020-02-21 14:20:33 -08:00
Cameron
ca61cd7de5 Issue #4086 Boolean admin-ui form element readParm/writeParm consistency. 2020-02-20 08:12:09 -08:00
Cameron
b59e55339c Added options to e_form->carousel() to disable navigation and indicators. Custom navigation can now display a custom label when 'label' is included in the carousel array. 2020-02-19 10:25:22 -08:00
Cameron
b824bc028e Fix typo in last commit. 2020-01-31 07:10:24 -08:00
Cameron
a1f8c931c5 Admin-UI Issue #4081 Support for 'target' and 'class' readParm attributes when using type = url and type = email 2020-01-29 12:33:35 -08:00
Nick Liu
622be85140 Type checks involving e_formTest
- MOD: e107::getTemplate() now accepts blank strings for the plugin name to mean
       that a core template should be loaded
- FIX: e_form::progressBar() now supports input values that already have % at the end
- FIX: Null check for $options['list'] in e_form::progressBar()
- NEW: Test rounding in e_formTest::testProgressBar()
2020-01-18 16:35:17 +01:00
Nick Liu
c604b3019c Fixed type check in e_form::option_multi() 2020-01-18 11:05:07 +01:00
Cameron
3087826ee9 Fixes #4041 - SEF Generation confirmation 'cancel' option was being ignored. Also, confirmation will now only appear if the current sef is not empty. 2019-12-06 13:12:42 -08:00
Cameron
1ff3dd0f8d Fix for 'select' method - test validation. 2019-12-04 10:19:38 -08:00
Cameron
5cf54d07d2 Basic per-item search engine robots handling added to News and Pages. 2019-12-02 13:32:21 -08:00
Tijn Kuyper
9dfe6728a8 #3131 - Get rid of autocomplete when we do not want it
Correct commit now.
2019-10-30 15:51:54 +01:00
Tijn Kuyper
1de3213d98 Revert "#3131 - Finally get rid of autocomplete when we don't want it"
This reverts commit 93d86dd99c.
2019-10-30 15:47:43 +01:00
Tijn Kuyper
93d86dd99c #3131 - Finally get rid of autocomplete when we don't want it 2019-10-30 15:46:59 +01:00
Tijn Kuyper
2f6de4264f Closes #3966 - Add tbox class to datepicker() input form 2019-10-06 14:30:42 +02:00
Cameron
7af965f97d placeholder attribute wasn't working on datepicker input. 2019-08-13 12:16:34 -07:00
Cameron
75086e8a71 Fix for google and microsoft advertising auto-tags 2019-07-23 16:47:57 -07:00
Cameron
58f72cfb7e Name for css submit-trigger group added. 2019-07-09 13:14:25 -07:00
Cameron
2e33eec996 line-break corrections. 2019-06-22 11:44:12 -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
ca1748df8d Issue #2146 - Fix for theme-manager after model refactoring. 2019-06-04 10:48:56 -07:00
Cameron
f0f6eb5d73 Admin-UI: Display a debug message when no 'type' has been set. 2019-06-03 16:46:40 -07:00
Cameron
783be29953 PHP 7.3 Notice/Warning Fixes. 2019-05-27 10:45:35 -07:00