aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-11-03 07:44:56 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-11-03 07:44:56 +0100
commit3c133bff4978de20e3f51e1b908790138e97e412 (patch)
tree06b38ff118da6ae290edee97168100fda63cf1d7 /inc
parent4bada2b9545fd83951803c604536c09dd5b649cd (diff)
downloadwallabag-3c133bff4978de20e3f51e1b908790138e97e412.tar.gz
wallabag-3c133bff4978de20e3f51e1b908790138e97e412.tar.zst
wallabag-3c133bff4978de20e3f51e1b908790138e97e412.zip
add about page
Diffstat (limited to 'inc')
-rwxr-xr-xinc/poche/Poche.class.php2
-rwxr-xr-xinc/poche/Tools.class.php2
2 files changed, 3 insertions, 1 deletions
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
314 314
315 switch ($view) 315 switch ($view)
316 { 316 {
317 case 'about':
318 break;
317 case 'config': 319 case 'config':
318 $dev_infos = $this->_getPocheVersion('dev'); 320 $dev_infos = $this->_getPocheVersion('dev');
319 $dev = trim($dev_infos[0]); 321 $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
117 { 117 {
118 $views = array( 118 $views = array(
119 'install', 'import', 'export', 'config', 'tags', 119 'install', 'import', 'export', 'config', 'tags',
120 'edit-tags', 'view', 'login', 'error' 120 'edit-tags', 'view', 'login', 'error', 'about'
121 ); 121 );
122 122
123 return (in_array($view, $views) ? $view . '.twig' : 'home.twig'); 123 return (in_array($view, $views) ? $view . '.twig' : 'home.twig');