aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 22:33:14 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 22:33:14 +0200
commit21dc4ceace513a0d6cd934f5fc4bb9cc643bb570 (patch)
treea22ce222550ee1a60266d6adea990402235df78b /app/layout
parent0e95494e29353a9ae31fb1196c6c9aaf556ae981 (diff)
Fix issue #64 : stockage des favicons en local
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside_feed.phtml2
-rw-r--r--app/layout/aside_flux.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index 4be37868d..ec4993a70 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -43,7 +43,7 @@
<?php foreach ($this->feeds as $feed) { ?>
<li class="item<?php echo ($this->flux && $this->flux->id () == $feed->id ()) ? ' active' : ''; ?>">
<a href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>">
- <img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="" />
+ <img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="" />
<?php echo $feed->name (); ?>
</a>
</li>
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml
index 60fcbe457..d2e5341e3 100644
--- a/app/layout/aside_flux.phtml
+++ b/app/layout/aside_flux.phtml
@@ -87,7 +87,7 @@
<?php $not_read = $feed->nbNotRead (); ?>
- <img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="" />
+ <img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="" />
<?php echo $not_read > 0 ? '<b>' : ''; ?>
<a class="feed" href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>">
<?php echo $not_read > 0 ? '(' . $not_read . ') ' : ''; ?>