diff options
28 files changed, 73 insertions, 134 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c89411f3..7fdca652 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
@@ -1,11 +1,11 @@ | |||
1 | # How contributing | 1 | # How contributing |
2 | 2 | ||
3 | ## You found a bug | 3 | ## You found a bug |
4 | Please [open a new issue](https://github.com/inthepoche/poche/issues/new). | 4 | Please [open a new issue](https://github.com/wallabag/demo.wallabag.org/issues/new). |
5 | 5 | ||
6 | To fix the bug quickly, we need some infos: | 6 | To fix the bug quickly, we need some infos: |
7 | * your poche version (in ./inc/poche/myconfig.inc.php) | 7 | * your demo.wallabag.org version (in ./index.php) |
8 | * the link you want to poche and which causes problem | 8 | * the link you want to save and which causes problem |
9 | 9 | ||
10 | ## You want to fix a bug or to add a feature | 10 | ## You want to fix a bug or to add a feature |
11 | Please fork poche and work with **the dev branch** only. Do not work on master branch. | 11 | Please fork wallabag and work with **the dev branch** only. **Do not work on master branch**. \ No newline at end of file |
@@ -1,4 +1,4 @@ | |||
1 | poche is based on : | 1 | wallabag is based on : |
2 | * PHP Readability https://bitbucket.org/fivefilters/php-readability | 2 | * PHP Readability https://bitbucket.org/fivefilters/php-readability |
3 | * Full Text RSS http://code.fivefilters.org/full-text-rss/src | 3 | * Full Text RSS http://code.fivefilters.org/full-text-rss/src |
4 | * Encoding https://github.com/neitanod/forceutf8 | 4 | * Encoding https://github.com/neitanod/forceutf8 |
@@ -10,6 +10,6 @@ poche is based on : | |||
10 | * Flash messages https://github.com/plasticbrain/PHP-Flash-Messages | 10 | * Flash messages https://github.com/plasticbrain/PHP-Flash-Messages |
11 | * Pagination https://github.com/daveismyname/pagination | 11 | * Pagination https://github.com/daveismyname/pagination |
12 | 12 | ||
13 | poche is developed by Nicolas Lœuillet under the Do What the Fuck You Want to Public License | 13 | wallabag is developed by Nicolas Lœuillet under the Do What the Fuck You Want to Public License |
14 | 14 | ||
15 | Contributors : https://github.com/inthepoche/poche/graphs/contributors \ No newline at end of file | 15 | Contributors : https://github.com/wallabag/wallabag/graphs/contributors \ No newline at end of file |
diff --git a/INSTALL.md b/INSTALL.md deleted file mode 100644 index df245ff0..00000000 --- a/INSTALL.md +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # Installing poche | ||
2 | |||
3 | Read the full documentation here: http://doc.inthepoche.com/doku.php?id=users:begin:install | ||
@@ -1,29 +1,10 @@ | |||
1 | # what is poche ? | 1 | # what is wallabag ? |
2 | Abandon Pocket, Instapaper and other Readability service : adopt poche. It is the same, but it is free (like in freedom) and open source. | 2 | wallabag is a self hostable application allowing you to not miss any content anymore. Click, save, read it when you can. It extracts content so that you can read it when you have time. |
3 | 3 | ||
4 | ## Some features | 4 | To test wallabag, a demo website is online : [demo.wallabag.org](http://demo.wallabag.org) (login poche, password poche). |
5 | * adding, deleting, archiving and setting as favorite a link | ||
6 | * import from pocket / readability / instapaper | ||
7 | * share links by email and on twitter | ||
8 | * a design adapted to tablets and smartphones | ||
9 | * extensions for Chrome and Firefox | ||
10 | * Android application | ||
11 | * multi languages: french, english, spanish, german. | ||
12 | * multi users (very soon!) | ||
13 | * update notification in configuration screen | ||
14 | * many storage modes (sqlite, mysql, postgresql) | ||
15 | * many templates: [have a look here](https://github.com/inthepoche/poche/tree/master/themes). | ||
16 | * ... | ||
17 | |||
18 | To test poche, a demo website is online : [demo.inthepoche.com](http://demo.inthepoche.com) (login poche, password poche). | ||
19 | |||
20 | To use poche hosting, [you can create an account here](http://app.inthepoche.com/). | ||
21 | |||
22 | ## Installation | ||
23 | Read the [INSTALL.md file](https://github.com/inthepoche/poche/blob/master/INSTALL.md). | ||
24 | 5 | ||
25 | ## License | 6 | ## License |
26 | Copyright © 2010-2013 Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 7 | Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org> |
27 | This work is free. You can redistribute it and/or modify it under the | 8 | This work is free. You can redistribute it and/or modify it under the |
28 | terms of the Do What The Fuck You Want To Public License, Version 2, | 9 | terms of the Do What The Fuck You Want To Public License, Version 2, |
29 | as published by Sam Hocevar. See the COPYING file for more details. | 10 | as published by Sam Hocevar. See the COPYING file for more details. \ No newline at end of file |
diff --git a/TODO.md b/TODO.md deleted file mode 100644 index fdba2a51..00000000 --- a/TODO.md +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # TODO | ||
2 | |||
3 | * pouvoir annuler la suppression | ||
4 | * conventions codage ? phing ? vérifier error_log qui trainent | ||
5 | * phpDocumentor | ||
6 | * minifier css | ||
7 | * barre fixe d'admin sur la page d'un billet ? | ||
8 | * revoir export (export vers pocket &cie ? ) | ||
9 | * raccourcis clavier \ No newline at end of file | ||
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 04731821..3b0f455e 100644 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
@@ -193,7 +193,7 @@ class Database { | |||
193 | public function updateUserConfig($userId, $key, $value) { | 193 | public function updateUserConfig($userId, $key, $value) { |
194 | $config = $this->getConfigUser($userId); | 194 | $config = $this->getConfigUser($userId); |
195 | 195 | ||
196 | if (!isset ($user_config[$key])) { | 196 | if (! isset($config[$key])) { |
197 | $sql = "INSERT INTO users_config (value, user_id, name) VALUES (?, ?, ?)"; | 197 | $sql = "INSERT INTO users_config (value, user_id, name) VALUES (?, ?, ?)"; |
198 | } | 198 | } |
199 | else { | 199 | else { |
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 004cca8e..0be1668d 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
@@ -29,7 +29,8 @@ class Poche | |||
29 | 'dark' => array('requires' => array('default')), | 29 | 'dark' => array('requires' => array('default')), |
30 | 'dmagenta' => array('requires' => array('default')), | 30 | 'dmagenta' => array('requires' => array('default')), |
31 | 'solarized' => array('requires' => array('default')), | 31 | 'solarized' => array('requires' => array('default')), |
32 | 'solarized-dark' => array('requires' => array('default')) | 32 | 'solarized-dark' => array('requires' => array('default')), |
33 | 'courgette' => array('requires' => array()) | ||
33 | ); | 34 | ); |
34 | 35 | ||
35 | public function __construct() | 36 | public function __construct() |
@@ -110,7 +111,7 @@ class Poche | |||
110 | $passTheme = TRUE; | 111 | $passTheme = TRUE; |
111 | # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet | 112 | # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet |
112 | if (! self::$canRenderTemplates) { | 113 | if (! self::$canRenderTemplates) { |
113 | $this->notInstalledMessage[] = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.inthepoche.com/doku.php?id=users:begin:install">the documentation.</a>'; | 114 | $this->notInstalledMessage[] = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.wallabag.org/doku.php?id=users:begin:install">the documentation.</a>'; |
114 | $passTheme = FALSE; | 115 | $passTheme = FALSE; |
115 | } | 116 | } |
116 | 117 | ||
@@ -968,7 +969,7 @@ class Poche | |||
968 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { | 969 | if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { |
969 | $version = file_get_contents($cache_file); | 970 | $version = file_get_contents($cache_file); |
970 | } else { | 971 | } else { |
971 | $version = file_get_contents('http://static.inthepoche.com/versions/' . $which); | 972 | $version = file_get_contents('http://static.wallabag.org/versions/' . $which); |
972 | file_put_contents($cache_file, $version, LOCK_EX); | 973 | file_put_contents($cache_file, $version, LOCK_EX); |
973 | } | 974 | } |
974 | return $version; | 975 | return $version; |
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 63916582..248a44d7 100644 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
diff --git a/inc/poche/Url.class.php b/inc/poche/Url.class.php index 8b3468c3..aba236fa 100644 --- a/inc/poche/Url.class.php +++ b/inc/poche/Url.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
diff --git a/inc/poche/User.class.php b/inc/poche/User.class.php index 6dac7839..cc8bec65 100644 --- a/inc/poche/User.class.php +++ b/inc/poche/User.class.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
diff --git a/inc/poche/config.inc.php.new b/inc/poche/config.inc.php.new index 1c93be07..39cb2f2f 100755 --- a/inc/poche/config.inc.php.new +++ b/inc/poche/config.inc.php.new | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index 846699d3..e2beade1 100644 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index b0cfb9df..e4b0b160 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php | |||
@@ -1,9 +1,9 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
@@ -1,14 +1,14 @@ | |||
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * poche, a read it later open source system | 3 | * wallabag, self hostable application allowing you to not miss any content anymore |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category wallabag |
6 | * @author Nicolas Lœuillet <support@inthepoche.com> | 6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | define ('POCHE', '1.3.0'); | 11 | define ('POCHE', '1.4.0'); |
12 | require_once 'inc/poche/global.inc.php'; | 12 | require_once 'inc/poche/global.inc.php'; |
13 | session_start(); | 13 | session_start(); |
14 | 14 | ||
diff --git a/themes/README.md b/themes/README.md deleted file mode 100644 index b5d925b4..00000000 --- a/themes/README.md +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | # poche-themes | ||
2 | |||
3 | themes created by poche users | ||
4 | |||
5 | ## list of themes | ||
6 | |||
7 | * dark ([preview](https://raw.github.com/inthepoche/poche/master/themes/dark/screenshot.jpg)) | ||
8 | * dmagenta ([preview](https://raw.github.com/inthepoche/poche/master/themes/dmagenta/screenshot.jpg)) | ||
9 | * solarized ([preview](https://raw.github.com/inthepoche/poche/master/themes/solarized/screenshot.jpg)) | ||
10 | * solarized-dark ([preview](https://raw.github.com/inthepoche/poche/master/themes/solarized-dark/screenshot.jpg)) | ||
11 | |||
12 | ## installation | ||
13 | |||
14 | In your poche folder: | ||
15 | |||
16 | ``` | ||
17 | git submodule init | ||
18 | git submodule update | ||
19 | ``` | ||
20 | |||
21 | Then, in your config screen, select your favorite theme. | ||
22 | |||
23 | That's all ! | ||
24 | |||
25 | ## create a theme | ||
26 | |||
27 | Just have a look to this short documentation : http://doc.inthepoche.com/doku.php?id=designers:creating_theme | ||
28 | |||
29 | ## send a theme | ||
30 | |||
31 | Send your theme by email at support@inthepoche.com. | ||
diff --git a/themes/courgette/_bookmarklet.twig b/themes/courgette/_bookmarklet.twig index 2f3b2d16..2e3071ad 100755 --- a/themes/courgette/_bookmarklet.twig +++ b/themes/courgette/_bookmarklet.twig | |||
@@ -1,3 +1,3 @@ | |||
1 | <script type="text/javascript"> | 1 | <script type="text/javascript"> |
2 | top["bookmarklet-url@inthepoche.com"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche it !</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>" | 2 | top["bookmarklet-url@wallabag.org"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche it !</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>" |
3 | </script> \ No newline at end of file | 3 | </script> \ No newline at end of file |
diff --git a/themes/courgette/_footer.twig b/themes/courgette/_footer.twig index 2b895854..cce31f35 100755 --- a/themes/courgette/_footer.twig +++ b/themes/courgette/_footer.twig | |||
@@ -1,4 +1,4 @@ | |||
1 | <footer class="w600p center mt3 mb3 smaller txtright"> | 1 | <footer class="w600p center mt3 mb3 smaller txtright"> |
2 | <p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p> | 2 | <p>{% trans "powered by" %} <a href="http://wallabag.org">wallabag</a></p> |
3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE_VERSION')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} | 3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE_VERSION')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} |
4 | </footer> \ No newline at end of file | 4 | </footer> \ No newline at end of file |
diff --git a/themes/courgette/config.twig b/themes/courgette/config.twig index d822a457..fdeb464b 100755 --- a/themes/courgette/config.twig +++ b/themes/courgette/config.twig | |||
@@ -7,7 +7,7 @@ | |||
7 | {% block content %} | 7 | {% block content %} |
8 | <div id="config"> | 8 | <div id="config"> |
9 | <h2>{% trans "Poching a link" %}</h2> | 9 | <h2>{% trans "Poching a link" %}</h2> |
10 | <p>{% trans "You can poche a link by several methods:" %} (<a class="special" href="http://inthepoche.com/doc" title="{% trans "read the documentation" %}">?</a>)</p> | 10 | <p>{% trans "You can poche a link by several methods:" %} (<a class="special" href="http://doc.wallabag.org" title="{% trans "read the documentation" %}">?</a>)</p> |
11 | <ul> | 11 | <ul> |
12 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">{% trans "download the extension" %}</a></li> | 12 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">{% trans "download the extension" %}</a></li> |
13 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">{% trans "download the extension" %}</a></li> | 13 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">{% trans "download the extension" %}</a></li> |
@@ -19,14 +19,14 @@ | |||
19 | <input type="submit" value="{% trans "poche it!" %}" /> | 19 | <input type="submit" value="{% trans "poche it!" %}" /> |
20 | </form> | 20 | </form> |
21 | </li> | 21 | </li> |
22 | <li>{% trans "bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> | 22 | <li>{% trans "bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> |
23 | </ul> | 23 | </ul> |
24 | 24 | ||
25 | <h2>{% trans "Updating poche" %}</h2> | 25 | <h2>{% trans "Updating poche" %}</h2> |
26 | <ul> | 26 | <ul> |
27 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> | 27 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> |
28 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> | 28 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} |
30 | </ul> | 30 | </ul> |
31 | 31 | ||
32 | <h2>{% trans "Change your theme" %}</h2> | 32 | <h2>{% trans "Change your theme" %}</h2> |
@@ -69,7 +69,7 @@ | |||
69 | 69 | ||
70 | <h2>{% trans "Import" %}</h2> | 70 | <h2>{% trans "Import" %}</h2> |
71 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> | 71 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> |
72 | <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/doc">inthepoche.com</a></p> | 72 | <p>{% trans "More infos in the official doc:" %} <a href="http://doc.wallabag.org">wallabag.org</a></p> |
73 | <ul> | 73 | <ul> |
74 | <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | 74 | <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> |
75 | <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | 75 | <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> |
diff --git a/themes/courgette/error.twig b/themes/courgette/error.twig index c829d12b..4d4db1f3 100755 --- a/themes/courgette/error.twig +++ b/themes/courgette/error.twig | |||
@@ -2,5 +2,5 @@ | |||
2 | {% block title %}{% trans "plop" %}{% endblock %} | 2 | {% block title %}{% trans "plop" %}{% endblock %} |
3 | {% block content %} | 3 | {% block content %} |
4 | {{ msg|raw }} | 4 | {{ msg|raw }} |
5 | <p>Don't forget <a href="http://inthepoche.com/doc">the documentation</a>.</p> | 5 | <p>Don't forget <a href="http://doc.wallabag.org">the documentation</a>.</p> |
6 | {% endblock %} \ No newline at end of file | 6 | {% endblock %} \ No newline at end of file |
diff --git a/themes/courgette/install.twig b/themes/courgette/install.twig index 6e85e5cb..9b4a769c 100755 --- a/themes/courgette/install.twig +++ b/themes/courgette/install.twig | |||
@@ -5,7 +5,7 @@ | |||
5 | <fieldset class="w500p center"> | 5 | <fieldset class="w500p center"> |
6 | <h2 class="mbs txtcenter">{% trans "install your poche" %}</h2> | 6 | <h2 class="mbs txtcenter">{% trans "install your poche" %}</h2> |
7 | <p> | 7 | <p> |
8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation on poche website</a>." %} | 8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://doc.wallabag.org'>read the documentation on poche website</a>." %} |
9 | </p> | 9 | </p> |
10 | <p class="row"> | 10 | <p class="row"> |
11 | <label class="col w150p" for="login">{% trans "Login" %}</label> | 11 | <label class="col w150p" for="login">{% trans "Login" %}</label> |
diff --git a/themes/courgette/view.twig b/themes/courgette/view.twig index e8d32442..e80829ef 100755 --- a/themes/courgette/view.twig +++ b/themes/courgette/view.twig | |||
@@ -8,11 +8,11 @@ | |||
8 | <li><a title="{% trans "toggle mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "toggle mark as read" %}</span></a></li> | 8 | <li><a title="{% trans "toggle mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "toggle mark as read" %}</span></a></li> |
9 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | 9 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> |
10 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | 10 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> |
11 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@getpoche" target="_blank" class="tool twitter" title="{% trans "tweet" %}"><span>{% trans "tweet" %}</span></a></li>{% endif %} | 11 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "tweet" %}"><span>{% trans "tweet" %}</span></a></li>{% endif %} |
12 | {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@getpoche" class="tool email" title="{% trans "email" %}"><span>{% trans "email" %}</span></a></li>{% endif %} | 12 | {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "email" %}"><span>{% trans "email" %}</span></a></li>{% endif %} |
13 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} | 13 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} |
14 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li class="flattrli"><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numflattrs }}</a></li>{% endif %}{% endif %} | 14 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li class="flattrli"><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numflattrs }}</a></li>{% endif %}{% endif %} |
15 | <li><a href="mailto:support@inthepoche.com?subject=Wrong%20display%20in%20poche&body={{ entry.url|url_encode }}" title="{% trans "this article appears wrong?" %}" class="tool bad-display"><span>{% trans "this article appears wrong?" %}</span></a></li> | 15 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "this article appears wrong?" %}" class="tool bad-display"><span>{% trans "this article appears wrong?" %}</span></a></li> |
16 | </ul> | 16 | </ul> |
17 | </div> | 17 | </div> |
18 | <div id="article"> | 18 | <div id="article"> |
diff --git a/themes/default/_bookmarklet.twig b/themes/default/_bookmarklet.twig index 2f3b2d16..2e3071ad 100644 --- a/themes/default/_bookmarklet.twig +++ b/themes/default/_bookmarklet.twig | |||
@@ -1,3 +1,3 @@ | |||
1 | <script type="text/javascript"> | 1 | <script type="text/javascript"> |
2 | top["bookmarklet-url@inthepoche.com"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche it !</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>" | 2 | top["bookmarklet-url@wallabag.org"]=""+"<!DOCTYPE html>"+"<html>"+"<head>"+"<title>poche it !</title>"+'<link rel="icon" href="{{poche_url}}tpl/img/favicon.ico" />'+"</head>"+"<body>"+"<script>"+"window.onload=function(){"+"window.setTimeout(function(){"+"history.back();"+"},250);"+"};"+"</scr"+"ipt>"+"</body>"+"</html>" |
3 | </script> \ No newline at end of file | 3 | </script> \ No newline at end of file |
diff --git a/themes/default/_footer.twig b/themes/default/_footer.twig index 06148a57..f837ae38 100644 --- a/themes/default/_footer.twig +++ b/themes/default/_footer.twig | |||
@@ -1,4 +1,4 @@ | |||
1 | <footer class="w600p center mt3 mb3 smaller txtright"> | 1 | <footer class="w600p center mt3 mb3 smaller txtright"> |
2 | <p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p> | 2 | <p>{% trans "powered by" %} <a href="http://wallabag.org">wallabag</a></p> |
3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} | 3 | {% if constant('DEBUG_POCHE') == 1 %}<p><strong>{% trans "debug mode is on so cache is off." %} {% trans "your poche version:" %}{{constant('POCHE')}}. {% trans "storage:" %} {{constant('STORAGE')}}</strong></p>{% endif %} |
4 | </footer> \ No newline at end of file | 4 | </footer> \ No newline at end of file |
diff --git a/themes/default/config.twig b/themes/default/config.twig index e22ea1da..ada238d6 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -6,10 +6,10 @@ | |||
6 | {% endblock %} | 6 | {% endblock %} |
7 | {% block content %} | 7 | {% block content %} |
8 | <h2>{% trans "Poching links" %}</h2> | 8 | <h2>{% trans "Poching links" %}</h2> |
9 | <p>{% trans "There are several ways to poche a link:" %} (<a href="http://doc.inthepoche.com/" title="{% trans "read the documentation" %}">?</a>)</p> | 9 | <p>{% trans "There are several ways to poche a link:" %} (<a href="http://doc.wallabag.org/" title="{% trans "read the documentation" %}">?</a>)</p> |
10 | <ul> | 10 | <ul> |
11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> | 11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> |
12 | <li>Chrome: <a href="http://doc.inthepoche.com/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> | 12 | <li>Chrome: <a href="http://doc.wallabag.org/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> |
13 | <li>Android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via F-Droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" title="download the application">{% trans "via Google Play" %}</a></li> | 13 | <li>Android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via F-Droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" title="download the application">{% trans "via Google Play" %}</a></li> |
14 | <li>Windows Phone: <a href="https://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li> | 14 | <li>Windows Phone: <a href="https://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li> |
15 | <li> | 15 | <li> |
@@ -19,14 +19,14 @@ | |||
19 | <input type="submit" value="{% trans "poche it!" %}" /> | 19 | <input type="submit" value="{% trans "poche it!" %}" /> |
20 | </form> | 20 | </form> |
21 | </li> | 21 | </li> |
22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> | 22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> |
23 | </ul> | 23 | </ul> |
24 | 24 | ||
25 | <h2>{% trans "Updating poche" %}</h2> | 25 | <h2>{% trans "Updating poche" %}</h2> |
26 | <ul> | 26 | <ul> |
27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> | 27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> |
28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> | 28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} |
30 | </ul> | 30 | </ul> |
31 | 31 | ||
32 | <h2>{% trans "Feeds" %}</h2> | 32 | <h2>{% trans "Feeds" %}</h2> |
@@ -104,7 +104,7 @@ | |||
104 | 104 | ||
105 | <h2>{% trans "Import" %}</h2> | 105 | <h2>{% trans "Import" %}</h2> |
106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> | 106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> |
107 | <p>{% trans "More info in the official docs:" %} <a href="http://doc.inthepoche.com/doku.php?id=users:migrate">inthepoche.com</a></p> | 107 | <p>{% trans "More info in the official docs:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> |
108 | <ul> | 108 | <ul> |
109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | 109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> |
110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | 110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> |
diff --git a/themes/default/error.twig b/themes/default/error.twig index 4cfc4824..8a6a4d6c 100644 --- a/themes/default/error.twig +++ b/themes/default/error.twig | |||
@@ -7,5 +7,5 @@ | |||
7 | <li>{{message}}</li> | 7 | <li>{{message}}</li> |
8 | {% endfor %} | 8 | {% endfor %} |
9 | </ol> | 9 | </ol> |
10 | <p>Don't forget <a href="http://doc.inthepoche.com/">the documentation</a>.</p> | 10 | <p>Don't forget <a href="http://doc.wallabag.org/">the documentation</a>.</p> |
11 | {% endblock %} | 11 | {% endblock %} |
diff --git a/themes/default/install.twig b/themes/default/install.twig index c4da0954..0dec2c48 100644 --- a/themes/default/install.twig +++ b/themes/default/install.twig | |||
@@ -5,7 +5,7 @@ | |||
5 | <fieldset class="w500p center"> | 5 | <fieldset class="w500p center"> |
6 | <h2 class="mbs txtcenter">{% trans "install your poche" %}</h2> | 6 | <h2 class="mbs txtcenter">{% trans "install your poche" %}</h2> |
7 | <p> | 7 | <p> |
8 | {% trans "Poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://doc.inthepoche.com/'>read the documentation on poche website</a>." %} | 8 | {% trans "Poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://doc.wallabag.org/'>read the documentation on poche website</a>." %} |
9 | </p> | 9 | </p> |
10 | <p class="row"> | 10 | <p class="row"> |
11 | <label class="col w150p" for="login">{% trans "Login" %}</label> | 11 | <label class="col w150p" for="login">{% trans "Login" %}</label> |
diff --git a/themes/default/view.twig b/themes/default/view.twig index e4a2fe74..d09977a8 100644 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -9,11 +9,11 @@ | |||
9 | <li><a title="{% trans "Mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> | 9 | <li><a title="{% trans "Mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "Toggle mark as read" %}</span></a></li> |
10 | <li><a title="{% trans "Favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "Toggle favorite" %}</span></a></li> | 10 | <li><a title="{% trans "Favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "Toggle favorite" %}</span></a></li> |
11 | <li><a title="{% trans "Delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> | 11 | <li><a title="{% trans "Delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> |
12 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@getpoche" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %} | 12 | {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %} |
13 | {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@getpoche" class="tool email" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %} | 13 | {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %} |
14 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} | 14 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} |
15 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numflattrs }}</a></li>{% endif %}{% endif %} | 15 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numflattrs }}</a></li>{% endif %}{% endif %} |
16 | <li><a href="mailto:support@inthepoche.com?subject=Wrong%20display%20in%20poche&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display"><span>{% trans "Does this article appear wrong?" %}</span></a></li> | 16 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display"><span>{% trans "Does this article appear wrong?" %}</span></a></li> |
17 | </ul> | 17 | </ul> |
18 | </div> | 18 | </div> |
19 | <div id="article"> | 19 | <div id="article"> |
diff --git a/poche_compatibility_test.php b/wallabag_compatibility_test.php index 42faaa2c..49c4e3b8 100644 --- a/poche_compatibility_test.php +++ b/wallabag_compatibility_test.php | |||
@@ -1,5 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | $app_name = 'poche 1.3'; | 2 | $app_name = 'wallabag 1.3'; |
3 | 3 | ||
4 | $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>=')); | 4 | $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>=')); |
5 | $pcre_ok = extension_loaded('pcre'); | 5 | $pcre_ok = extension_loaded('pcre'); |
@@ -313,13 +313,13 @@ div.chunk { | |||
313 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $allow_url_fopen_ok) { ?> | 313 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $allow_url_fopen_ok) { ?> |
314 | <h3>Bottom Line: Yes, you can!</h3> | 314 | <h3>Bottom Line: Yes, you can!</h3> |
315 | <p><em>Your webhost has its act together!</em></p> | 315 | <p><em>Your webhost has its act together!</em></p> |
316 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://inthepoche.com/download">inthepoche.com</a>.</p> | 316 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> |
317 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> | 317 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> |
318 | <?php //} else if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $allow_url_fopen_ok && $filter_ok) { ?> | 318 | <?php //} else if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $allow_url_fopen_ok && $filter_ok) { ?> |
319 | <?php } else if ($php_ok && $xml_ok && $pcre_ok && $allow_url_fopen_ok && $filter_ok) { ?> | 319 | <?php } else if ($php_ok && $xml_ok && $pcre_ok && $allow_url_fopen_ok && $filter_ok) { ?> |
320 | <h3>Bottom Line: Yes, you can!</h3> | 320 | <h3>Bottom Line: Yes, you can!</h3> |
321 | <p><em>For most feeds, it'll run with no problems.</em> There are certain languages that you might have a hard time with though.</p> | 321 | <p><em>For most feeds, it'll run with no problems.</em> There are certain languages that you might have a hard time with though.</p> |
322 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://inthepoche.com/download">inthepoche.com</a>.</p> | 322 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> |
323 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> | 323 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> |
324 | <?php } else { ?> | 324 | <?php } else { ?> |
325 | <h3>Bottom Line: We're sorry…</h3> | 325 | <h3>Bottom Line: We're sorry…</h3> |