]> git.mxchange.org Git - friendica-addons.git/blobdiff - impressum/README.md
CLD2: Use ISO-639-1 for the language detection
[friendica-addons.git] / impressum / README.md
old mode 100755 (executable)
new mode 100644 (file)
index cf420ba..5203400
@@ -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.
+               ],
+       ];