diff options
| author | 2013-11-28 13:59:33 +0100 | |
|---|---|---|
| committer | 2013-11-28 13:59:33 +0100 | |
| commit | 3e1fa880c261cacaa2ff83863a29fc7556540969 (patch) | |
| tree | af7a80727f872ed6d2a9864d72f0484d283ca5e0 | |
| parent | d6a685b0d06c39c9da8fbbc9e720ccb17147be28 (diff) | |
Possibilité de partager vers Diaspora* et Poche
Voir #175
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index 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'); ?> |
