diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index ecb2a51..1623547 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 beb4f30..f803e3b 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'); diff --git a/themes/baggy/_menu.twig b/themes/baggy/_menu.twig index 59b6a46..8b80f65 100644 --- a/themes/baggy/_menu.twig +++ b/themes/baggy/_menu.twig @@ -11,6 +11,7 @@ {% include '_search-form.twig' %}
  • {% trans "config" %}
  • +
  • {% trans "about" %}
  • {% trans "logout" %}
  • diff --git a/themes/baggy/about.twig b/themes/baggy/about.twig new file mode 100755 index 0000000..ac2fcc8 --- /dev/null +++ b/themes/baggy/about.twig @@ -0,0 +1,74 @@ +{% extends "layout.twig" %} + +{% block title %}{% trans "About" %}{% endblock %} +{% block menu %} +{% include '_menu.twig' %} +{% endblock %} +{% block content %} +

    {% trans "About wallabag" %}

    + +
    +
    {% trans "Project website" %}
    +
    http://www.wallabag.org
    + +
    {% trans "Main developer" %}
    +
    Nicolas Lœuillet{% trans "website" %}
    + +
    {% trans "Contributors:" %}
    +
    {% trans "on Github" %}
    + +
    {% trans "Bug reports" %}
    +
    {% trans "On our support website" %} {% trans "or" %} {% trans "on Github" %}
    + +
    {% trans "License" %}
    +
    MIT
    + +
    {% trans "Version" %}
    +
    {{ constant('POCHE') }}
    +
    + +

    {% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}

    + +

    {% trans "Helping wallabag" %}

    + +

    {% trans "wallabag is free and opensource. You can help us:" %}

    + +
    +
    {% trans "via Paypal" %}
    + +
    {% trans "via Flattr" %}
    +
    + +

    {% trans "Credits" %}

    +
    +
    PHP Readability
    +
    https://bitbucket.org/fivefilters/php-readability
    + +
    Full Text RSS
    +
    http://code.fivefilters.org/full-text-rss/src
    + +
    logo by Maylis Agniel
    +
    https://github.com/wallabag/logo
    + +
    icons
    +
    http://icomoon.io
    + +
    PHP Simple HTML DOM Parser
    +
    http://simplehtmldom.sourceforge.net/
    + +
    Session
    +
    https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php
    + +
    Twig
    +
    http://twig.sensiolabs.org
    + +
    Flash messages
    +
    https://github.com/plasticbrain/PHP-Flash-Messages
    + +
    Pagination
    +
    https://github.com/daveismyname/pagination
    + +
    PHPePub
    +
    https://github.com/Grandt/PHPePub/
    +
    +{% endblock %} diff --git a/themes/default/_menu.twig b/themes/default/_menu.twig index 9b9a606..eedf84f 100644 --- a/themes/default/_menu.twig +++ b/themes/default/_menu.twig @@ -6,6 +6,7 @@
  • {% trans "save a link" %}
  • {% trans "search" %}
  • {% trans "config" %}
  • +
  • {% trans "about" %}
  • {% trans "logout" %}
  • {% include '_pocheit-form.twig' %} diff --git a/themes/default/about.twig b/themes/default/about.twig new file mode 100755 index 0000000..cd274f2 --- /dev/null +++ b/themes/default/about.twig @@ -0,0 +1,74 @@ +{% extends "layout.twig" %} + +{% block title %}{% trans "About wallabag" %}{% endblock %} +{% block menu %} +{% include '_menu.twig' %} +{% endblock %} +{% block content %} +

    {% trans "About wallabag" %}

    + +
    +
    {% trans "Project website" %}
    +
    http://www.wallabag.org
    + +
    {% trans "Main developer" %}
    +
    Nicolas Lœuillet{% trans "website" %}
    + +
    {% trans "Contributors:" %}
    +
    {% trans "on Github" %}
    + +
    {% trans "Bug reports" %}
    +
    {% trans "On our support website" %} {% trans "or" %} {% trans "on Github" %}
    + +
    {% trans "License" %}
    +
    MIT
    + +
    {% trans "Version" %}
    +
    {{ constant('POCHE') }}
    +
    + +

    {% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}

    + +

    {% trans "Helping wallabag" %}

    + +

    {% trans "wallabag is free and opensource. You can help us:" %}

    + +
    +
    {% trans "via Paypal" %}
    + +
    {% trans "via Flattr" %}
    +
    + +

    {% trans "Credits" %}

    +
    +
    PHP Readability
    +
    https://bitbucket.org/fivefilters/php-readability
    + +
    Full Text RSS
    +
    http://code.fivefilters.org/full-text-rss/src
    + +
    logo by Maylis Agniel
    +
    https://github.com/wallabag/logo
    + +
    icons
    +
    http://icomoon.io
    + +
    PHP Simple HTML DOM Parser
    +
    http://simplehtmldom.sourceforge.net/
    + +
    Session
    +
    https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php
    + +
    Twig
    +
    http://twig.sensiolabs.org
    + +
    Flash messages
    +
    https://github.com/plasticbrain/PHP-Flash-Messages
    + +
    Pagination
    +
    https://github.com/daveismyname/pagination
    + +
    PHPePub
    +
    https://github.com/Grandt/PHPePub/
    +
    +{% endblock %}