A free, self-hostable news aggregator…
Bug adresses de partage
Alexandre Alapetite69c70070a5b4
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtmlindex ce036e281..5e46f3c8e 100644--- a/app/views/helpers/view/normal_view.phtml+++ b/app/views/helpers/view/normal_view.phtml@@ -7,9 +7,15 @@ if (!empty($this->entries)) {$display_today = true;$display_yesterday = true;$display_others = true;- $shaarli = $this->loginOk && $this->conf->sharing ('shaarli');- $poche = $this->loginOk && $this->conf->sharing ('poche');- $diaspora = $this->loginOk && $this->conf->sharing ('diaspora');+ if ($this->loginOk) {+ $shaarli = $this->conf->sharing ('shaarli');+ $poche = $this->conf->sharing ('poche');+ $diaspora = $this->conf->sharing ('diaspora');+ } else {+ $shaarli = '';+ $poche = '';+ $diaspora = '';+ }$twitter = $this->conf->sharing ('twitter');$google_plus = $this->conf->sharing ('g+');$facebook = $this->conf->sharing ('facebook');