From 29137c0b046bfcc610e6c8a152e558fa9c718da4 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 23 Nov 2013 23:18:18 +0100 Subject: Nouvelle fonction icon() pour générer le code HTML des icônes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Centralisation de la génération du code des icônes pour pouvoir plus facilement le changer, en particulier en préparation d'améliorations futures : * ajouter des alternatives lorsque l'image n'est pas affichée ; * améliorer l'accessibilité ; * permettre de changer les icônes selon le thème graphique choisi ; * simplifier les CSS. Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284 --- app/layout/aside_feed.phtml | 4 ++-- app/layout/aside_flux.phtml | 12 ++++++------ app/layout/header.phtml | 12 ++++++------ app/layout/layout.phtml | 2 +- app/layout/nav_entries.phtml | 6 +++--- app/layout/nav_menu.phtml | 8 ++++---- app/views/configure/categorize.phtml | 2 +- app/views/configure/display.phtml | 10 +++++----- app/views/configure/feed.phtml | 10 +++++----- app/views/helpers/view/global_view.phtml | 2 +- app/views/helpers/view/normal_view.phtml | 16 ++++++++-------- 11 files changed, 42 insertions(+), 42 deletions(-) (limited to 'app') diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index a622ce8a3..56aeee8b9 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -7,7 +7,7 @@ - + diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 3e057789f..42dc896aa 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -1,12 +1,12 @@
- +
@@ -53,7 +53,7 @@ @@ -73,7 +73,7 @@ if (login_is_conf ($this->conf) && !is_logged ()) { ?>
- +
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 633af16f2..eb0f8b484 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -36,7 +36,7 @@ ?>
notification['content']; ?> - +
diff --git a/app/layout/nav_entries.phtml b/app/layout/nav_entries.phtml index 49dd4eae1..306c1536d 100644 --- a/app/layout/nav_entries.phtml +++ b/app/layout/nav_entries.phtml @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index b7fb4a817..affdaaa10 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -1,8 +1,8 @@ diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 3656dc0a3..8fecec36f 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -29,21 +29,21 @@
- +
- +
@@ -85,7 +85,7 @@
- +
@@ -94,7 +94,7 @@
- +
diff --git a/app/views/helpers/view/global_view.phtml b/app/views/helpers/view/global_view.phtml index e555adb9f..f34d368f9 100644 --- a/app/views/helpers/view/global_view.phtml +++ b/app/views/helpers/view/global_view.phtml @@ -32,5 +32,5 @@
conf->displayPosts () === 'no' ? ' class="hide_posts"' : ''; ?>> - +
\ No newline at end of file diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index fccfd71b4..6a023451f 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -42,13 +42,13 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { if ($this->conf->toplineRead ()) { ?>
  • isRead () ? '☑' : '☐'; ?>isRead () ? 'read' : 'unread'); ?>
  • conf->toplineFavorite ()) { ?>
  • isFavorite () ? '★' : '☆'; ?>isFavorite () ? 'starred' : 'non-starred'); ?>
  • entryPaginator) && !$this->entryPaginator->isEmpty ()) {
  • ✇ name(); ?>
  • title (); ?>
  • conf->toplineDate ()) { ?>
  • date (); ?> 
  • - conf->toplineLink ()) { ?> + conf->toplineLink ()) { ?>
    @@ -79,13 +79,13 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { if ($this->conf->bottomlineRead ()) { ?>
  • isRead () ? '☑' : '☐'; ?>isRead () ? 'read' : 'unread'); ?>
  • conf->bottomlineFavorite ()) { ?>
  • isFavorite () ? '★' : '☆'; ?>isFavorite () ? 'starred' : 'non-starred'); ?>
  • @@ -97,7 +97,7 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { ?> -- cgit v1.2.3