Merge pull request #138 from tobiasd/impressum

Impressum
This commit is contained in:
tobiasd 2013-06-24 03:48:11 -07:00
commit 89a428c306
2 changed files with 9 additions and 1 deletions

Binary file not shown.

View file

@ -2,7 +2,7 @@
/** /**
* Name: Impressum * Name: Impressum
* Description: Plugin to add contact information to the about page (/friendica) * 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> * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
* License: 3-clause BSD license * License: 3-clause BSD license
*/ */
@ -20,6 +20,14 @@ function impressum_uninstall() {
unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer'); unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
logger("uninstalled impressum plugin"); logger("uninstalled impressum plugin");
} }
function impressum_module() {
}
function impressum_content() {
$a = get_app();
goaway($a->get_baseurl().'/friendica/');
}
function obfuscate_email ($s) { function obfuscate_email ($s) {
$s = str_replace('@','(at)',$s); $s = str_replace('@','(at)',$s);
$s = str_replace('.','(dot)',$s); $s = str_replace('.','(dot)',$s);