diff options
| author | 2013-03-19 20:56:23 +0100 | |
|---|---|---|
| committer | 2013-03-19 20:56:23 +0100 | |
| commit | c47b3dc50a60622521b9050d7ee54e2f7c758ac8 (patch) | |
| tree | 37e3316d18b76edc8efb79113ee766ac0d0e01e3 /app/layout | |
| parent | 4d0e1ebd9dce93dfd0d54305f2e4a5f77ac91c93 (diff) | |
Ajout des favicons dans la colonne de gestion des sites + ajout du alt
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_feed.phtml | 5 | ||||
| -rw-r--r-- | app/layout/aside_flux.phtml | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index 2f3f6ea7a..71603c8ab 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -15,7 +15,10 @@ <?php if (!empty ($this->feeds)) { ?> <?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 ()); ?>"><?php echo $feed->name (); ?></a> + <a href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>"> + <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="favicon <?php echo $feed->name (); ?>" /> + <?php echo $feed->name (); ?> + </a> </li> <?php } ?> <?php } else { ?> diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 5bf8c8160..07f83232c 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -58,7 +58,7 @@ </ul> </div> - <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="" /> + <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="favicon <?php echo $feed->name (); ?>" /> <a class="feed" href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>"> <?php echo $feed->name(); ?> </a> |
