]> git.mxchange.org Git - friendica-addons.git/blobdiff - impressum/README.md
Update obsolete App::getBaseUrl calls to DI::baseUrl
[friendica-addons.git] / impressum / README.md
index 963a085e2d6b419e6b614465d203dc53422b4f48..ca78d9a0ad67fc76ef97ba2eb5ec67bf2129ac0e 100644 (file)
@@ -2,37 +2,28 @@ 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 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.
+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 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.
+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/addon.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.
+       '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.
+    ],