Commit Graph

26 Commits (abca07b29d641d81641f74a688b2163ef70c9ca1)

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Hypolite Petovan aa16591b9f [cookienotice] Fix wrong type-hint in hook function cookienotice_page_end
- Fix "Argument 2 passed to cookienotice_page_end() must be of the type array, string given" error
2022-07-03 08:37:53 -04:00
Hypolite Petovan ff0c7ac104 [cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
- Fix "Argument 2 passed to cookienotice_page_content_top() must be of the type array, string given" error
2022-07-03 00:26:55 -04:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Hypolite Petovan f0522a998b [various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls 2021-11-29 06:54:59 -05:00
Michael 6a349e7fd9 Support for cleared boot.php 2021-11-04 20:32:16 +00:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
Philipp 6520bd77d9
Template Engine with Subdirectory
- Use explicit root path for template engine
- Replace "__DIR__" calls in addons with subdirectories
- Fixes local tests, where call is made out of '/' and not '/vagrant/'
2020-04-26 15:45:25 +02:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil 4b6527e273
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript() 2019-12-27 21:55:17 +01:00
Hypolite Petovan 1d942d3205 [various] Fix *_addon_admin_post parameters 2019-05-15 08:04:54 -04:00
Hypolite Petovan 31e89b43fe [cookienotice] Move user addon settings to admin page
- Reformat code
- Remove uninstall function which doesn't include any specific uninstalling code besides hooks
2019-05-08 00:43:27 -04:00
Peter Liebetrau 174828070f cookienotice addon - fixes for changerequest #pullrequestreview-195527901 2019-01-23 16:01:28 +01:00
Peter Liebetrau 0d8a382f8d cookienotice addon - code styling fixes 2019-01-23 11:09:10 +01:00
Peter Liebetrau 145fb69eb6 cookienotice addon - added default values for config data 2019-01-23 11:00:52 +01:00
Peter Liebetrau 15b0b67dc8 Merge origin/develop into develop 2019-01-23 10:49:20 +01:00
Peter Liebetrau e5cfe5b9a8 cookienotice addon - fixes for #pullrequestreview-195091211 2019-01-23 10:47:08 +01:00
Peter Liebetrau 308e093589 cookienotice addon - fixes for 2019.01 - Template loading and replace macros 2019-01-22 16:50:13 +01:00
Peter Liebetrau 12c4fcfcae cookienotice addon - fixes from pull request reviews 2019-01-20 20:35:58 +01:00
Peter Liebetrau f3a5f16fc1 convert spaces to tabs, removed netbeans project files 2019-01-20 14:20:20 +01:00
Peter Liebetrau fa08109830 new addon - cookienotice - configure, show and handle a simple cookie usage notice 2019-01-20 10:04:25 +01:00