X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAddons.md;h=578cffe7ca3df0df77f01508274556376d606c73;hb=631b9a84fcd2891e0f987dc5e42d613d314aee81;hp=cf4fbdab1251fd5966bbb7a61f2f71654c2a240b;hpb=0ca420c9499f9a0a24afc9fb9f516db009b7c794;p=friendica.git diff --git a/doc/Addons.md b/doc/Addons.md index cf4fbdab12..578cffe7ca 100644 --- a/doc/Addons.md +++ b/doc/Addons.md @@ -298,6 +298,62 @@ $data = [ Called when the Addon Settings pages are submitted. `$b` is the $_POST array. +### connector_settings +Called when generating the HTML for a connector addon settings page. +`$data` is an array containing: + +- **connector** (output): Required. The addon folder name. +- **title** (output): Required. The addon settings panel title. +- **image** (output): Required. The relative path of the logo image of the platform/protocol this addon is connecting to, max size 48x48px. +- **enabled** (output): Optional. If set to a falsy value, the connector image will be dimmed. +- **html** (output): Optional. Raw HTML of the addon form elements. Both the `