aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-11-03 23:01:23 +0100
committerThomas Citharel <tcit@tcit.fr>2014-11-03 23:01:23 +0100
commit217f3ca0b4e2d02d90a6561678ffef5f656ed899 (patch)
tree0755d030763c849c183605ae8922f616737f46ec /inc/poche
parent3eba7538a4cbbefcfc5638a68236a4fc5f823138 (diff)
parent3c133bff4978de20e3f51e1b908790138e97e412 (diff)
downloadwallabag-217f3ca0b4e2d02d90a6561678ffef5f656ed899.tar.gz
wallabag-217f3ca0b4e2d02d90a6561678ffef5f656ed899.tar.zst
wallabag-217f3ca0b4e2d02d90a6561678ffef5f656ed899.zip
Merge pull request #921 from wallabag/about-page
add about page
Diffstat (limited to 'inc/poche')
-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');