From 001c425acd3345e363fe36c014f776069dd587dc Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 17 Mar 2013 13:23:09 +0100 Subject: Déplacement de Import/export dans gestion des abonnements + ajout date à côté de Aujourd'hui/Hier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/configureController.php | 4 ++++ app/layout/aside_feed.phtml | 4 ++++ app/layout/header.phtml | 1 - app/views/configure/importExport.phtml | 2 ++ app/views/index/index.phtml | 4 ++-- public/theme/base.css | 6 ++++++ 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/app/controllers/configureController.php b/app/controllers/configureController.php index e807fb06d..9e1c7b2cb 100755 --- a/app/controllers/configureController.php +++ b/app/controllers/configureController.php @@ -186,6 +186,10 @@ class configureController extends ActionController { } } + $feedDAO = new FeedDAO (); + $this->view->feeds = $feedDAO->listFeeds (); + $this->view->flux = false; + View::prependTitle ('Importation et exportation OPML - '); } diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index 1bcb108a4..2f3f6ea7a 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -8,6 +8,10 @@ +
  • Import / Export OPML
  • + +
  • + feeds)) { ?> feeds as $feed) { ?>
  • diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 852170b64..77cd1b50a 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -36,7 +36,6 @@
  • Catégories
  • Raccourcis
  • -
  • Import / Export OPML
  • À propos
  • diff --git a/app/views/configure/importExport.phtml b/app/views/configure/importExport.phtml index fd274b5b2..c39b85a5c 100644 --- a/app/views/configure/importExport.phtml +++ b/app/views/configure/importExport.phtml @@ -11,6 +11,8 @@ +partial ('aside_feed'); ?> +
    Import / export au format OPML diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index 7734630ef..0db9dac5b 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -15,10 +15,10 @@ if (isset ($this->entryPaginator)) { isDay (Days::TODAY)) { ?> -
    Aujourd'hui
    +
    Aujourd'hui -
    isDay (Days::YESTERDAY)) { ?> -
    Hier
    +
    Hier -
    isDay (Days::BEFORE_YESTERDAY)) { ?>
    À partir d'avant-hier
    diff --git a/public/theme/base.css b/public/theme/base.css index e0819a0d2..4d7e80a90 100644 --- a/public/theme/base.css +++ b/public/theme/base.css @@ -269,6 +269,12 @@ input, select { font-weight: bold; text-shadow: 0 0 1px #ddd; } + .nav.nav-list .separator { + display: block; + height: 0; + margin: 5px 0; + border-bottom: 1px solid #ddd; + } .nav.nav-list .nav-form { padding: 3px; -- cgit v1.2.3