diff options
| -rwxr-xr-x | app/Controllers/entryController.php | 2 | ||||
| -rw-r--r-- | app/Controllers/importExportController.php | 2 | ||||
| -rw-r--r-- | app/views/index/normal.phtml | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php index c894ae9aa..aae08c413 100755 --- a/app/Controllers/entryController.php +++ b/app/Controllers/entryController.php @@ -34,8 +34,6 @@ class FreshRSS_entry_Controller extends Minz_ActionController { * - nextGet (default: $get) * - idMax (default: 0) * - is_read (default: true) - * - * @todo nextGet system should not be present here... or should be? */ public function readAction() { $id = Minz_Request::param('id'); diff --git a/app/Controllers/importExportController.php b/app/Controllers/importExportController.php index f29051f34..6eefa0f6f 100644 --- a/app/Controllers/importExportController.php +++ b/app/Controllers/importExportController.php @@ -125,8 +125,6 @@ class FreshRSS_importExport_Controller extends Minz_ActionController { * * Itis a *very* basic guess file type function. Only based on filename. * That's could be improved but should be enough for what we have to do. - * - * @todo move into lib_rss.php */ private function guessFileType($filename) { if (substr_compare($filename, '.zip', -4) === 0) { 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;?> |
