mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
[impressum] Add addon config
- Update mentions to .htconfig.php
This commit is contained in:
parent
990b5bf231
commit
723625f95f
3 changed files with 52 additions and 15 deletions
|
@ -7,7 +7,7 @@ Impressum Addon for Friendica
|
|||
|
||||
About
|
||||
-----
|
||||
This addon adds an Impressum (contact) block to the /friendica page with
|
||||
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.
|
||||
|
||||
|
@ -16,23 +16,19 @@ normal friendica postings..
|
|||
|
||||
Configuration
|
||||
-------------
|
||||
Simply fill in the fields in the impressium settings page in the addons
|
||||
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/local.ini.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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue