Commit Graph

37 Commits (ce53e48cb256ee64a39ccafe09fcc4287c1d8a3f)

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05: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
Hypolite Petovan 90dec95b6e [various] Fix hook function type-hints
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
2022-06-26 19:36:45 -04: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 f104bb0d78 [pageheader] Move user addon settings to admin page
- Reformat code
- Remove uninstall function that doesn't have any specific uninstall code besides hooks
2019-05-08 00:45:34 -04:00
Philipp Holzer 8e902c2fe0
[pageheader] code cleanup 2019-02-26 15:47:58 +01:00
Philipp Holzer 979f12e51e
[pageheader] Avoid notice 2019-02-26 15:47:17 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Tobias Diekershoff b0e0821d07 addon should be commited as well 2018-03-11 18:54:01 +01:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
hauke acb84127bc typo in field label 2015-05-18 13:44:01 +02:00
hauke 72f94b3576 documentation update 2015-05-18 13:33:17 +02:00
hauke fb895f5e38 removed unneeded require statements 2015-05-13 23:21:27 +02:00
hauke 868de2dc78 pageheader plugin now allows to use a html file for pageheader 2015-05-13 22:51:00 +02:00
hauke 28ac912e51 documentation update, updated archive file 2015-04-29 20:38:04 +02:00
hauke f53154a431 Pageheader addon now accepts bbcode 2015-04-29 20:31:16 +02:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
friendica c1935f6eab make pageheader work on all themes 2012-04-01 22:27:10 -07:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
root 6493559ee8 new file: pageheader.tgz For admins to make system announcements
new file:   pageheader/README For admins to make system announcements
	new file:   pageheader/pageheader.css For admins to make system announcements
	new file:   pageheader/pageheader.php For admins to make system announcements
2011-12-28 07:36:15 +00:00