X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=impressum%2FREADME.md;h=520340080e9c0435d827a5c8a0478430a3766102;hb=2a782b512e7b038c450318abaa464bcaab7eb823;hp=cf420ba10d0df2eacaec39fe6a89d7b9c6f62a10;hpb=0a683452c2752d0022c80d633717143dbab275dc;p=friendica-addons.git diff --git a/impressum/README.md b/impressum/README.md old mode 100755 new mode 100644 index cf420ba1..52034008 --- a/impressum/README.md +++ b/impressum/README.md @@ -1,38 +1,31 @@ -Impressum Plugin for Friendica +Impressum Addon for Friendica ============================== * Author: Tobias Diekershoff -* License: [3-clause BSD](http://opensource.org/licenses/BSD-3-Clause) license - (see the LICENSE file in the addon directory) +* License: [3-clause BSD](http://opensource.org/licenses/BSD-3-Clause) license (see the LICENSE file in the addon directory) About ----- -This plugin adds an Impressum (contact) block to the /friendica page with -informations about the page operator/owner and how to contact you in case of -any questions. +This addon adds an Impressum (contact) block to the /friendica page with informations about the page operator/owner and how to contact you in case of any questions. -In the notes and postal fields you can use bbcode tags for formatting, like in -normal friendica postings.. +In the notes and postal fields you can use bbcode tags for formatting, like in normal friendica postings.. Configuration ------------- -Simply fill in the fields in the impressium settings page in the plugins -area of your admin panel. For email adresses the "@" symbol will be obfuscated -in the source of the page to make in harder for harvesting tools. +Simply fill in the fields in the impressium settings page in the addons area of your admin panel. For email adresses the "@" symbol will be obfuscated in the source of the page to make in harder for harvesting tools. Manual Configuration -------------------- -If you for any reason prefer to use a configuration file instead, you can set the following variables in the .htconfig file +If you for any reason you prefer to use a configuration file instead, you can set the following variables in the `config/impressum.config.php` file - $a->config['impressum']['owner'] this is the Name of the Operator - $a->config['impressum']['ownerprofile'] this is an optional Friendica account - where the above owner name will link to - $a->config['impressum']['email'] a contact email address (optional) - will be displayed slightly obfuscated - as name(at)example(dot)com - $a->config['impressum']['postal'] should contain a postal address where - you can be reached at (optional) - $a->config['impressum']['notes'] additional informations that should - be displayed in the Impressum block - $a->config['impressum']['footer_text'] Text that will be displayed at - the bottom of the pages. + return [ + 'impressum' => [ + 'owner' => '', // This is the Name of the Operator + 'ownerprofile' => '', // This is an optional Friendica account where the above owner name will link to + 'email' => '', // A contact email address (optional) + // Will be displayed slightly obfuscated as name(at)example(dot)com + 'postal' => '', // Should contain a postal address where you can be reached at (optional) + 'notes' => '', // Additional informations that should be displayed in the Impressum block + 'footer_text' => '', // Text that will be displayed at the bottom of the pages. + ], + ];