From 1a99b8a4ea72dae581ef8b3159e8b54653eaf9ab Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 7 Apr 2012 09:21:49 +0200 Subject: [PATCH] small change in my contact informations in the addon files --- impressum/README | 1 + impressum/impressum.php | 4 ++-- piwik/README | 8 ++++++++ piwik/piwik.php | 4 ++-- statusnet/README | 1 + statusnet/statusnet.php | 2 +- twitter/README | 1 + twitter/twitter.php | 2 +- 8 files changed, 17 insertions(+), 6 deletions(-) diff --git a/impressum/README b/impressum/README index af8f5e0d9..fcf29aaf3 100755 --- a/impressum/README +++ b/impressum/README @@ -1,6 +1,7 @@ Impressum Plugin for Friendica Author: Tobias Diekershoff + http://diekershoff.homeunix.net/friendika/profile/tobias tobias.diekershoff@gmx.net License: 3-clause BSD license diff --git a/impressum/impressum.php b/impressum/impressum.php index c037b9a97..760022790 100755 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -3,7 +3,7 @@ * Name: Impressum * Description: Plugin to add contact information to the about page (/friendica) * Version: 1.1 - * Author: Tobias Diekershoff + * Author: Tobias Diekershoff * License: 3-clause BSD license */ @@ -26,7 +26,7 @@ function obfuscate_email ($s) { function impressum_footer($a, &$b) { $text = get_config('impressum','footer_text'); if (! $text == '') { - $a->page['htmlhead'] .= '\r\n'; + $a->page['htmlhead'] .= ''; $b .= ''; } } diff --git a/piwik/README b/piwik/README index e276ccd44..c648a4d12 100755 --- a/piwik/README +++ b/piwik/README @@ -1,6 +1,7 @@ ## Piwik Plugin ## by Tobias Diekershoff + http://diekershoff.homeunix.net/friendika/profile/tobias tobias.diekershoff(at)gmx.net This addon allows you to embed the code necessary for the FLOSS webanalytics @@ -19,6 +20,13 @@ styling the opt-out notice. ### Configuration ### +The easiest way to configure this addon is by activating the admin panels of +your ~friendica server and then enter the needed details on the config page +for the addon. + +If you don't want to use the admin panel, you can configure the addon through +the .htconfig file. + Open the .htconfig.php file and add "piwik" to the list of activated addons. $a->config['system']['addon'] = "piwik, ..." diff --git a/piwik/piwik.php b/piwik/piwik.php index dbb1f45a2..3e0d718ff 100755 --- a/piwik/piwik.php +++ b/piwik/piwik.php @@ -3,7 +3,7 @@ * Name: Piwik Analytics * Description: Piwik Analytics Plugin for Friendica * Version: 1.1 - * Author: Tobias Diekershoff + * Author: Tobias Diekershoff * Author: Klaus Weidenbach */ @@ -49,7 +49,7 @@ function piwik_analytics($a,&$b) { * associated CSS file. We just have to tell Friendica to get it * into the page header. */ - $a->page['htmlhead'] .= '' . "\r\n"; + $a->page['htmlhead'] .= ''; /* * Get the configuration variables from the .htconfig file. diff --git a/statusnet/README b/statusnet/README index f172f2ce6..df0412d0e 100755 --- a/statusnet/README +++ b/statusnet/README @@ -1,5 +1,6 @@ ____ StatusNet Plugin ____ by Tobias Diekershoff + http://diekershoff.homeunix.net/friendika/profile/tobias tobias.diekershoff(at)gmx.net !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 62ee8e8bb..c4100e88e 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -3,7 +3,7 @@ * Name: StatusNet Connector * Description: Relay public postings to a connected StatusNet account * Version: 1.0.4 - * Author: Tobias Diekershoff + * Author: Tobias Diekershoff */ /* StatusNet Plugin for Friendica diff --git a/twitter/README b/twitter/README index 56dbc7e29..12bb66646 100755 --- a/twitter/README +++ b/twitter/README @@ -1,5 +1,6 @@ ____ Twitter Plugin ____ By Tobias Diekershoff + http://diekershoff.homeunix.net/friendika/profile/tobias tobias.diekershoff(at)gmx.net !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/twitter/twitter.php b/twitter/twitter.php index 1dfc73919..32b4980f5 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -3,7 +3,7 @@ * Name: Twitter Connector * Description: Relay public postings to a connected Twitter account * Version: 1.0.3 - * Author: Tobias Diekershoff + * Author: Tobias Diekershoff */