From f3a91fb819783f58cf4ae95dba776a4a373dd227 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Fri, 8 Nov 2013 19:51:22 +0100 Subject: Fix issue #177: déplacement menu gestion catégories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le menu de gestion des catégories a été déplacé au niveau de la gestion des abonnements (le regroupement est plus logique) Le lien pour accéder au flux RSS a été déplacé dans le menu "affichage" (peut être sujet à discussion) Une prochaine pourrait être de splitter le menu "Général et lecture" en plusieurs vues --- app/controllers/configureController.php | 2 ++ app/i18n/en.php | 1 + app/i18n/fr.php | 1 + app/layout/aside_configure.phtml | 6 ------ app/layout/aside_feed.phtml | 8 +++++++- app/layout/aside_flux.phtml | 20 +------------------- app/layout/header.phtml | 2 -- app/layout/nav_menu.phtml | 23 +++++++++++++++++++++++ app/views/configure/categorize.phtml | 4 ++-- app/views/configure/feed.phtml | 1 - 10 files changed, 37 insertions(+), 31 deletions(-) (limited to 'app') diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php index 6295ca8e6..23df09172 100755 --- a/app/controllers/configureController.php +++ b/app/controllers/configureController.php @@ -64,6 +64,8 @@ class configureController extends ActionController { $this->view->categories = $catDAO->listCategories (false); $this->view->defaultCategory = $catDAO->getDefault (); + $this->view->feeds = $feedDAO->listFeeds (); + $this->view->flux = false; View::prependTitle (Translate::t ('categories_management') . ' - '); } diff --git a/app/i18n/en.php b/app/i18n/en.php index f1c1ed64a..fad4f4cce 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -40,6 +40,7 @@ return array ( 'normal_view' => 'Normal view', 'reader_view' => 'Reading view', 'global_view' => 'Global view', + 'rss_view' => 'RSS feed', 'show_all_articles' => 'Show all articles', 'show_not_reads' => 'Show only unread', 'older_first' => 'Oldest first', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index 9529883cb..2e4fa88c4 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -40,6 +40,7 @@ return array ( 'normal_view' => 'Vue normale', 'reader_view' => 'Vue lecture', 'global_view' => 'Vue globale', + 'rss_view' => 'Flux RSS', 'show_all_articles' => 'Afficher tous les articles', 'show_not_reads' => 'Afficher les non lus', 'older_first' => 'Plus anciens en premier', diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml index 1e525dd29..0ca2ed099 100644 --- a/app/layout/aside_configure.phtml +++ b/app/layout/aside_configure.phtml @@ -4,12 +4,6 @@
  • -
  • - -
  • -
  • - -
  • diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index b00c1816c..04893f651 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -38,7 +38,13 @@ -
  • +
  • + +
  • + +
  • + +
  • diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 6ebbbc036..a2465c6cf 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -2,29 +2,11 @@