diff options
| -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'); ?> |
