diff options
| author | 2014-03-05 20:22:03 -0500 | |
|---|---|---|
| committer | 2014-03-08 09:18:06 -0500 | |
| commit | e9eca6aff6c7e2e2349b3b6cf714e2e7eb99405e (patch) | |
| tree | 8643ff4baeddb2c479e21961242726707ee05b16 /app/views | |
| parent | 859290ec1f79840db031da3af10f25792e98623d (diff) | |
Sharing optimization
Change the storage and display of sharings to improve the time needed to generate the page.
Instead of looking for a default value when displaying the sharing links, they are added
during the configuration.
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index ff535c60a..9fd06ebae 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -138,7 +138,7 @@ if (!empty($this->entries)) { <?php foreach ($sharing as $share) :?> <li class="item share"> <a target="_blank" href="<?php echo FreshRSS_Share::generateUrl($this->conf->shares, $share, $item->link(), $item->title() . ' . ' . $feed->name())?>"> - <?php echo array_key_exists('name', $share) ? $share['name'] : Minz_Translate::t ($share['type']);?> + <?php echo Minz_Translate::t ($share['name']);?> </a> </li> <?php endforeach;?> |
