From a62788c61ef80e6b0f1cf0b6304b2dfd2223aa38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20L=C5=93uillet?=
+ # Le premier concerne les éléments non lus
+ # Le second concerne les éléments archivés
+ $read = 1;
+ }
Tools::logm('import from instapaper completed');
Tools::redirect();
}
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index 67d0c8879..a16098d16 100644
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -8,12 +8,13 @@
* @license http://www.wtfpl.net/ see COPYING file
*/
-define ('POCHE_VERSION', '0.4');
-define ('MODE_DEMO', FALSE);
+define ('POCHE_VERSION', '1.0-alpha');
+define ('MODE_DEMO', TRUE);
define ('DEBUG_POCHE', FALSE);
define ('CONVERT_LINKS_FOOTNOTES', FALSE);
define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
define ('DOWNLOAD_PICTURES', FALSE);
+define ('SHARE_TWITTER', TRUE);
define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX');
define ('ABS_PATH', 'assets/');
define ('TPL', './tpl');
diff --git a/index.php b/index.php
index 94c72a275..294620d1e 100644
--- a/index.php
+++ b/index.php
@@ -49,7 +49,6 @@ $tpl_vars = array(
'referer' => $referer,
'view' => $view,
'poche_url' => Tools::getPocheUrl(),
- 'demo' => MODE_DEMO,
'title' => _('poche, a read it later open source system'),
'token' => Session::getToken(),
);
diff --git a/tpl/config.twig b/tpl/config.twig
index c18806bc6..dc49ee393 100644
--- a/tpl/config.twig
+++ b/tpl/config.twig
@@ -42,6 +42,7 @@