mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-27 01:50:29 +00:00
commit
217f3ca0b4
6 changed files with 153 additions and 1 deletions
|
@ -314,6 +314,8 @@ class Poche
|
|||
|
||||
switch ($view)
|
||||
{
|
||||
case 'about':
|
||||
break;
|
||||
case 'config':
|
||||
$dev_infos = $this->_getPocheVersion('dev');
|
||||
$dev = trim($dev_infos[0]);
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
{% include '_search-form.twig' %}
|
||||
</li>
|
||||
<li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li>
|
||||
<li><a href="./?view=about" {% if view == 'about' %}class="current"{% endif %}>{% trans "about" %}</a></li>
|
||||
<li><a class="icon icon-power" href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li>
|
||||
</ul>
|
||||
|
||||
|
|
74
themes/baggy/about.twig
Executable file
74
themes/baggy/about.twig
Executable file
|
@ -0,0 +1,74 @@
|
|||
{% extends "layout.twig" %}
|
||||
|
||||
{% block title %}{% trans "About" %}{% endblock %}
|
||||
{% block menu %}
|
||||
{% include '_menu.twig' %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2>{% trans "About wallabag" %}</h2>
|
||||
|
||||
<dl>
|
||||
<dt>{% trans "Project website" %}</dt>
|
||||
<dd><a href="http://www.wallabag.org">http://www.wallabag.org</a></dd>
|
||||
|
||||
<dt>{% trans "Main developer" %}</dt>
|
||||
<dd><a href="mailto:nicolas@loeuillet.org">Nicolas Lœuillet</a> — <a href="http://cdetc.fr.fr">{% trans "website" %}</a></dd>
|
||||
|
||||
<dt>{% trans "Contributors:" %}</dt>
|
||||
<dd><a href="https://github.com/wallabag/wallabag/graphs/contributors">{% trans "on Github" %}</a></dd>
|
||||
|
||||
<dt>{% trans "Bug reports" %}</dt>
|
||||
<dd><a href="http://support.wallabag.org">{% trans "On our support website" %}</a> {% trans "or" %} <a href="https://github.com/wallabag/wallabag/issues">{% trans "on Github" %}</a></dd>
|
||||
|
||||
<dt>{% trans "License" %}</dt>
|
||||
<dd><a href="http://en.wikipedia.org/wiki/MIT_License">MIT</a></dd>
|
||||
|
||||
<dt>{% trans "Version" %}</dt>
|
||||
<dd>{{ constant('POCHE') }}</dd>
|
||||
</dl>
|
||||
|
||||
<p>{% 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." %}</p>
|
||||
|
||||
<h2>{% trans "Helping wallabag" %}</h2>
|
||||
|
||||
<p>{% trans "wallabag is free and opensource. You can help us:" %}</p>
|
||||
|
||||
<dl>
|
||||
<dt><a href="http://www.wallabag.org">{% trans "via Paypal" %}</a></dt>
|
||||
|
||||
<dt><a href="http://www.wallabag.org">{% trans "via Flattr" %}</a></dt>
|
||||
</dl>
|
||||
|
||||
<h2>{% trans "Credits" %}</h2>
|
||||
<dl>
|
||||
<dt>PHP Readability</dt>
|
||||
<dd><a href="https://bitbucket.org/fivefilters/php-readability">https://bitbucket.org/fivefilters/php-readability</a></dd>
|
||||
|
||||
<dt>Full Text RSS</dt>
|
||||
<dd><a href="http://code.fivefilters.org/full-text-rss/src">http://code.fivefilters.org/full-text-rss/src</a></dd>
|
||||
|
||||
<dt>logo by Maylis Agniel</dt>
|
||||
<dd><a href="https://github.com/wallabag/logo">https://github.com/wallabag/logo</a></dd>
|
||||
|
||||
<dt>icons</dt>
|
||||
<dd><a href="http://icomoon.io">http://icomoon.io</a></dd>
|
||||
|
||||
<dt>PHP Simple HTML DOM Parser</dt>
|
||||
<dd><a href="http://simplehtmldom.sourceforge.net/">http://simplehtmldom.sourceforge.net/</a></dd>
|
||||
|
||||
<dt>Session</dt>
|
||||
<dd><a href="https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php">https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php</a></dd>
|
||||
|
||||
<dt>Twig</dt>
|
||||
<dd><a href="http://twig.sensiolabs.org">http://twig.sensiolabs.org</a></dd>
|
||||
|
||||
<dt>Flash messages</dt>
|
||||
<dd><a href="https://github.com/plasticbrain/PHP-Flash-Messages">https://github.com/plasticbrain/PHP-Flash-Messages</a></dd>
|
||||
|
||||
<dt>Pagination</dt>
|
||||
<dd><a href="https://github.com/daveismyname/pagination">https://github.com/daveismyname/pagination</a></dd>
|
||||
|
||||
<dt>PHPePub</dt>
|
||||
<dd><a href="https://github.com/Grandt/PHPePub/">https://github.com/Grandt/PHPePub/</a></dd>
|
||||
</dl>
|
||||
{% endblock %}
|
|
@ -6,6 +6,7 @@
|
|||
<li><a href="javascript: void(null);" id="bagit">{% trans "save a link" %}</a><span id="bagit-arrow"></span></li>
|
||||
<li><a href="javascript: void(null);" id="search">{% trans "search" %}</a><span id="search-arrow"></span></li>
|
||||
<li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li>
|
||||
<li><a href="./?view=about" {% if view == 'about' %}class="current"{% endif %}>{% trans "about" %}</a></li>
|
||||
<li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li>
|
||||
</ul>
|
||||
{% include '_pocheit-form.twig' %}
|
||||
|
|
74
themes/default/about.twig
Executable file
74
themes/default/about.twig
Executable file
|
@ -0,0 +1,74 @@
|
|||
{% extends "layout.twig" %}
|
||||
|
||||
{% block title %}{% trans "About wallabag" %}{% endblock %}
|
||||
{% block menu %}
|
||||
{% include '_menu.twig' %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2>{% trans "About wallabag" %}</h2>
|
||||
|
||||
<dl>
|
||||
<dt>{% trans "Project website" %}</dt>
|
||||
<dd><a href="http://www.wallabag.org">http://www.wallabag.org</a></dd>
|
||||
|
||||
<dt>{% trans "Main developer" %}</dt>
|
||||
<dd><a href="mailto:nicolas@loeuillet.org">Nicolas Lœuillet</a> — <a href="http://cdetc.fr.fr">{% trans "website" %}</a></dd>
|
||||
|
||||
<dt>{% trans "Contributors:" %}</dt>
|
||||
<dd><a href="https://github.com/wallabag/wallabag/graphs/contributors">{% trans "on Github" %}</a></dd>
|
||||
|
||||
<dt>{% trans "Bug reports" %}</dt>
|
||||
<dd><a href="http://support.wallabag.org">{% trans "On our support website" %}</a> {% trans "or" %} <a href="https://github.com/wallabag/wallabag/issues">{% trans "on Github" %}</a></dd>
|
||||
|
||||
<dt>{% trans "License" %}</dt>
|
||||
<dd><a href="http://en.wikipedia.org/wiki/MIT_License">MIT</a></dd>
|
||||
|
||||
<dt>{% trans "Version" %}</dt>
|
||||
<dd>{{ constant('POCHE') }}</dd>
|
||||
</dl>
|
||||
|
||||
<p>{% 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." %}</p>
|
||||
|
||||
<h2>{% trans "Helping wallabag" %}</h2>
|
||||
|
||||
<p>{% trans "wallabag is free and opensource. You can help us:" %}</p>
|
||||
|
||||
<dl>
|
||||
<dt><a href="http://www.wallabag.org">{% trans "via Paypal" %}</a></dt>
|
||||
|
||||
<dt><a href="http://www.wallabag.org">{% trans "via Flattr" %}</a></dt>
|
||||
</dl>
|
||||
|
||||
<h2>{% trans "Credits" %}</h2>
|
||||
<dl>
|
||||
<dt>PHP Readability</dt>
|
||||
<dd><a href="https://bitbucket.org/fivefilters/php-readability">https://bitbucket.org/fivefilters/php-readability</a></dd>
|
||||
|
||||
<dt>Full Text RSS</dt>
|
||||
<dd><a href="http://code.fivefilters.org/full-text-rss/src">http://code.fivefilters.org/full-text-rss/src</a></dd>
|
||||
|
||||
<dt>logo by Maylis Agniel</dt>
|
||||
<dd><a href="https://github.com/wallabag/logo">https://github.com/wallabag/logo</a></dd>
|
||||
|
||||
<dt>icons</dt>
|
||||
<dd><a href="http://icomoon.io">http://icomoon.io</a></dd>
|
||||
|
||||
<dt>PHP Simple HTML DOM Parser</dt>
|
||||
<dd><a href="http://simplehtmldom.sourceforge.net/">http://simplehtmldom.sourceforge.net/</a></dd>
|
||||
|
||||
<dt>Session</dt>
|
||||
<dd><a href="https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php">https://github.com/tontof/kriss_feed/blob/master/src/class/Session.php</a></dd>
|
||||
|
||||
<dt>Twig</dt>
|
||||
<dd><a href="http://twig.sensiolabs.org">http://twig.sensiolabs.org</a></dd>
|
||||
|
||||
<dt>Flash messages</dt>
|
||||
<dd><a href="https://github.com/plasticbrain/PHP-Flash-Messages">https://github.com/plasticbrain/PHP-Flash-Messages</a></dd>
|
||||
|
||||
<dt>Pagination</dt>
|
||||
<dd><a href="https://github.com/daveismyname/pagination">https://github.com/daveismyname/pagination</a></dd>
|
||||
|
||||
<dt>PHPePub</dt>
|
||||
<dd><a href="https://github.com/Grandt/PHPePub/">https://github.com/Grandt/PHPePub/</a></dd>
|
||||
</dl>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue