1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-09 12:06:29 +02:00
Commit Graph

112 Commits

Author SHA1 Message Date
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Cameron
c17b985441 Experimental schema template 2022-02-04 12:04:21 -08:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
9743cb4e95 Fixes #4528 - Frontend modal now functional with Bootstrap5. 2021-12-02 11:20:58 -08:00
Cameron
e06069459f Add og:title by default. Set open-graph data for frontpage. 2021-10-01 08:35:54 -07:00
Cameron
4f5eb66048 Moved title tag directly under html tag. Changed separator to pipe | and added an option for processing the title in theme::title(). 2021-10-01 07:18:37 -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
00d584f584 Experimental CSS filtering. 2021-06-24 12:29:47 -07:00
Cameron
07f4e53932 Fix fatal error in PHP8 that occurred when building a plugin without database tables. Developer mode alert now uses the {ALERTS} shortcode for greater control of placement. 2021-06-03 09:56:00 -07:00
Cameron
3a71366954 Added {THEME} shortcode (path) to core shortcodes. 2021-06-01 16:07:38 -07:00
Cameron
6674beaf82 Added a button to allow closing of "Developer Mode" alert message. Fixed default button styling of some news buttons under Bootstrap 5. 2021-05-08 12:39:17 -07:00
Cameron
c11bd224f8 Prevent possible memory overload in Database > Export. Corrected {ALERTS} debug info when using theme.html. 2021-05-08 11:53:39 -07:00
Cameron
da3c207fa3 Removed auto-inserting of {WMESSAGE} when theme.html is detected. Improved theme layout debug message. 2021-05-07 10:57:05 -07:00
Cameron
283b9340b5 Fixes #4459 $HEADER and $FOOTER within a class/method when old themes in use. Disable BS5 in admin area 2021-03-23 10:17:22 -07:00
Cameron
e371da1785 e107::getFile()->send() now accepts optional type, encoding and disposition values.
HTMLTAG fallback for THEME_LAYOUT added.
2021-02-16 13:32:34 -08:00
Cameron
766b50338f Catch missing THEME_LAYOUT constant on very old themes. 2021-02-16 12:11:05 -08:00
Cameron
523fae8582 Fixes #4384 - Footer missing when required within a function. 2021-02-15 07:22:47 -08:00
Cameron
50e0445807 Issue #3184 Issue #3912 New Feature: can now use :(e_ROUTE) to switch theme layout visibility. 2021-02-14 10:36:45 -08:00
Cameron
a448c00a1d Fixes #4382 - Init theme shortcodes later. 2021-02-14 08:14:57 -08:00
Cameron
b0300f93bf Changed load order of Menus and Theme Layout detection. 2021-02-13 18:55:44 -08:00
Cameron
46cb21b025 Meta admin page now uses Admin-ui. Additional custom tag areas added. 2021-01-26 11:59:49 -08:00
Cameron
1479e9ba59 Testing of loading all javascript in the footer. Add the following to e107_config.php to test: define('e_DEBUG_JS_FOOTER', true); 2021-01-25 13:23:28 -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
f97dd307af Issue #4350 theme.php class must now use init() and tablestyle() (not __construct() ) 2021-01-17 07:27:28 -08:00
Cameron
692b8c8538 Prevent headers in CLI mode. 2021-01-16 10:02:52 -08:00
Cameron
78b0079a03 Theme Preview working again. Use ?themepreview=themeDir 2021-01-01 14:05:51 -08:00
Cameron
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
bdb4104f9c Moved parseheader() to e107 class as renderLayout() Added test. 2020-12-20 13:25:03 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
7229aa6c50 Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE. 2020-12-08 18:15:08 -08:00
Cameron
3a78603ebd Header now loads link tags sooner. (excluding css)
Clear js/css/browser/library cache automatically after git update.
2020-12-03 11:00:53 -08:00
Cameron
6fd582655a Defer header javascripts to footer when js/css caching is enabled. 2020-12-02 20:15:13 -08:00
Cameron
5a7e382efb Fixes #4272 - fixed JS file loading order so that inline code is run after cached scripts. 2020-11-30 11:26:09 -08:00
Cameron
8c254bccd6 Issue #4146 - Fixed user profile navigation (next/prev) for legacy, bootstrap3 and bootstrap4 themes.
Closes #4021 - Added support for independent core templates for legacy, bootstrap3 and bootstrap4 templates.
2020-05-08 14:34:34 -07:00
Cameron
0f2ab37d47 Backward compatibility fixes. 2020-05-06 16:15:52 -07:00
Moc
715d8dde60 Tweak developer mode check and message 2020-05-04 21:22:13 +02:00
Cameron
ad7caf78e8 Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup. 2020-05-04 12:10:22 -07:00
Moc
7ffad1f4d2 Check for developer mode
Adds warning for ADMIN when developer mode is enabled, but when user is not on localhost (indicating developing).
2020-05-03 17:43:50 +02:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Cameron
568d8feb77 Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class. 2020-04-28 14:03:05 -07:00
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07:00
Cameron
1d45f1e4c4 Fixes #3932 Added support for dynamic header/footer templates controlled by theme_shortcodes class. 2019-08-22 14:28:59 -07:00
Cameron
913ac249f7 Fix for using {THEME} (ie. theme folder path) in footer part of theme layout. 2019-07-05 13:48:35 -07:00
Cameron
1cb3f934ea Isse #2308 Remove the need for the BODYTAG constant. 2019-06-21 14:09:10 -07:00
Cameron
36b4c354eb Experimental - Support for theme html templates and layouts. 2019-06-11 15:53:08 -07:00
Cameron
f148e20837 Moved library loading into class2. Fixes Fontawesome not loading early enough when added via theme.xml (with forum and possibly other parts of e107). Added the FONTAWESOME constant to Paths/Variables debug output. 2019-04-11 10:47:50 -07:00
Cameron
9c4dbcab91 Moved THEME_LAYOUT calculation out of class2.php and into theme_handler.php 2019-01-23 19:06:03 -08:00
Cameron
6367074571 Avoid possible theme conflict in uiAlert css. 2018-11-22 12:40:38 -08:00
Cameron
f958f66dcb Issue #2669 Incorrect FB og:image used. Issue #6 LAN modified. 2018-08-26 13:54:25 -07:00