Browse Source

Corrige les liens vers shaarli, poche et diaspora.
Les liens contenaient un boolean au lieu de l'URL.

Alexis Degrugillier 12 years ago
parent
commit
839477eb85
1 changed files with 5 additions and 3 deletions
  1. 5 3
      app/views/helpers/view/normal_view.phtml

+ 5 - 3
app/views/helpers/view/normal_view.phtml

@@ -7,9 +7,11 @@ 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');
+	}
 	$twitter = $this->conf->sharing ('twitter');
 	$google_plus = $this->conf->sharing ('g+');
 	$facebook = $this->conf->sharing ('facebook');