diff options
| author | 2013-11-28 15:34:50 +0100 | |
|---|---|---|
| committer | 2013-11-28 15:34:50 +0100 | |
| commit | 7d475297ce664eaa314ac401f03732b032791b65 (patch) | |
| tree | 353c3fec75852b2a3c2d7bdf6e7b58dded820aae | |
| parent | cec39d14f12068bf25e9611fd235f347222b2c02 (diff) | |
Corrige bug partage Shaarli, Poche et D*
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index 41b5d4176..99e4bedc7 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -14,9 +14,9 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { $display_others = true; $logged = !login_is_conf ($this->conf) || is_logged (); - $shaarli = $logged && $this->conf->sharing ('shaarli'); - $poche = $logged && $this->conf->sharing ('poche'); - $diaspora = $logged && $this->conf->sharing ('diaspora'); + $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'); @@ -114,19 +114,19 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { <ul class="dropdown-menu"> <li class="dropdown-close"><a href="#close">❌</a></li> - <?php if ($shaarli) { ?> + <?php if ($logged && $shaarli) { ?> <li class="item"> <a target="_blank" href="<?php echo $shaarli . '?post=' . $link . '&title=' . $title . '&source=FreshRSS'; ?>"> <?php echo Translate::t ('shaarli'); ?> </a> </li> - <?php } if ($poche) { ?> + <?php } if ($logged && $poche) { ?> <li class="item"> <a target="_blank" href="<?php echo $poche . '?action=add&url=' . base64_encode (urldecode($link)); ?>"> <?php echo Translate::t ('poche'); ?> </a> </li> - <?php } if ($diaspora) { ?> + <?php } if ($logged && $diaspora) { ?> <li class="item"> <a target="_blank" href="<?php echo $diaspora . '/bookmarklet?url=' . $link . '&title=' . $title; ?>"> <?php echo Translate::t ('diaspora'); ?> |
