X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAddons.md;h=ce8412547a47a422cca984962c48690887f000ea;hb=72a3ab6382551811f22391b7e82e7398628b235b;hp=6fa87c953ccb5c1d640a4be8a04b7fd549bc6e03;hpb=66fec8944f4af97260e4abdee4279e7cf18e5b48;p=friendica.git diff --git a/doc/Addons.md b/doc/Addons.md index 6fa87c953c..ce8412547a 100644 --- a/doc/Addons.md +++ b/doc/Addons.md @@ -242,12 +242,118 @@ Called when the Settings pages are submitted. ### addon_settings Called when generating the HTML for the addon settings page. -`$b` is the (string) HTML of the addon settings page before the final `` tag. +`$data` is an array containing: + +- **addon** (output): Required. The addon folder name. +- **title** (output): Required. The addon settings panel title. +- **href** (output): Optional. If set, will reduce the panel to a link pointing to this URL, can be relative. Incompatible with the following keys. +- **html** (output): Optional. Raw HTML of the addon form elements. Both the `