A free, self-hostable news aggregator…
Possibilité de partager vers Diaspora* et Poche
Marien Fressinaud3e1fa880c261
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtmlindex 31bd19036..d4343eb13 100644--- a/app/views/helpers/view/normal_view.phtml+++ b/app/views/helpers/view/normal_view.phtml@@ -111,6 +111,26 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) {</a></li><?php } ?>+ <?php+ $poche = $this->conf->urlPoche ();+ if ((!login_is_conf ($this->conf) || is_logged ()) && $poche) {+ ?>+ <li class="item">+ <a target="_blank" href="<?php echo $poche . '?action=add&url=' . base64_encode (urldecode($link)); ?>">+ Poche+ </a>+ </li>+ <?php } ?>+ <?php+ $diaspora = $this->conf->urlDiaspora ();+ if ((!login_is_conf ($this->conf) || is_logged ()) && $diaspora) {+ ?>+ <li class="item">+ <a target="_blank" href="<?php echo $diaspora . '/bookmarklet?url=' . $link . '&title=' . $title; ?>">+ Diaspora*+ </a>+ </li>+ <?php } ?><li class="item"><a href="mailto:?subject=<?php echo urldecode($title); ?>&body=<?php echo $link; ?>"><?php echo Translate::t ('by_email'); ?>