forked from friendica/friendica-addons
commit
89a428c306
2 changed files with 9 additions and 1 deletions
BIN
impressum.tgz
BIN
impressum.tgz
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* Name: Impressum
|
||||
* Description: Plugin to add contact information to the about page (/friendica)
|
||||
* Version: 1.2
|
||||
* Version: 1.3
|
||||
* Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
|
||||
* License: 3-clause BSD license
|
||||
*/
|
||||
|
@ -20,6 +20,14 @@ function impressum_uninstall() {
|
|||
unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
|
||||
logger("uninstalled impressum plugin");
|
||||
}
|
||||
|
||||
function impressum_module() {
|
||||
}
|
||||
function impressum_content() {
|
||||
$a = get_app();
|
||||
goaway($a->get_baseurl().'/friendica/');
|
||||
}
|
||||
|
||||
function obfuscate_email ($s) {
|
||||
$s = str_replace('@','(at)',$s);
|
||||
$s = str_replace('.','(dot)',$s);
|
||||
|
|
Loading…
Reference in a new issue