mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 20:23:46 +00:00
the impressum module now activates /impressum
This commit is contained in:
parent
e4cc488259
commit
c9864aa8c0
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue