|
|
|
@ -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;?> |
|
|
|
|