diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/normal.phtml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 3a27a702b..66111397c 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -140,10 +140,14 @@ if (!empty($this->entries)) { <ul class="dropdown-menu"> <li class="dropdown-close"><a href="#close">❌</a></li> - <?php foreach ($sharing as $share) :?> + <?php + foreach ($sharing as $share) : + $type_share = FreshRSS_Context::$conf->shares[$share['type']]; + $has_specific_title = ($type_share['form'] === 'advanced'); + ?> <li class="item share"> <a target="_blank" href="<?php echo FreshRSS_Share::generateUrl(FreshRSS_Context::$conf->shares, $share, $item->link(), $item->title() . ' . ' . $feed->name())?>"> - <?php echo _t('index.share.' . $share['name']);?> + <?php echo $has_specific_title ? $share['name'] : _t('index.share.' . $share['name']); ?> </a> </li> <?php endforeach;?> |
