diff options
author | Thomas Citharel <tcit@tcit.fr> | 2014-11-03 23:01:23 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2014-11-03 23:01:23 +0100 |
commit | 217f3ca0b4e2d02d90a6561678ffef5f656ed899 (patch) | |
tree | 0755d030763c849c183605ae8922f616737f46ec /inc/poche | |
parent | 3eba7538a4cbbefcfc5638a68236a4fc5f823138 (diff) | |
parent | 3c133bff4978de20e3f51e1b908790138e97e412 (diff) | |
download | wallabag-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-x | inc/poche/Poche.class.php | 2 | ||||
-rwxr-xr-x | inc/poche/Tools.class.php | 2 |
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'); |