From 3c133bff4978de20e3f51e1b908790138e97e412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 3 Nov 2014 07:44:56 +0100 Subject: add about page --- inc/poche/Poche.class.php | 2 ++ inc/poche/Tools.class.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index ecb2a51f..16235474 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -314,6 +314,8 @@ class Poche switch ($view) { + case 'about': + break; case 'config': $dev_infos = $this->_getPocheVersion('dev'); $dev = trim($dev_infos[0]); diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index beb4f30c..f803e3b5 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -117,7 +117,7 @@ final class Tools { $views = array( 'install', 'import', 'export', 'config', 'tags', - 'edit-tags', 'view', 'login', 'error' + 'edit-tags', 'view', 'login', 'error', 'about' ); return (in_array($view, $views) ? $view . '.twig' : 'home.twig'); -- cgit v1.2.3