aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche')
-rwxr-xr-xinc/poche/Poche.class.php11
-rwxr-xr-xinc/poche/config.inc.default.php1
2 files changed, 11 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 27d6f4a6..f5262a8e 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -303,6 +303,15 @@ class Poche
303 $this->messages->add('s', _('The tag has been successfully deleted')); 303 $this->messages->add('s', _('The tag has been successfully deleted'));
304 Tools::redirect(); 304 Tools::redirect();
305 break; 305 break;
306 case 'reload_article' :
307 Tools::logm('reload article');
308 $id = $_GET['id'];
309 $entry = $this->store->retrieveOneById($id, $this->user->getId());
310 Tools::logm('reload url ' . $entry['url']);
311 $url = new Url(base64_encode($entry['url']));
312 $this->action('add', $url);
313 break;
314
306 default: 315 default:
307 break; 316 break;
308 } 317 }
@@ -812,4 +821,4 @@ class Poche
812 } 821 }
813 822
814 823
815} \ No newline at end of file 824}
diff --git a/inc/poche/config.inc.default.php b/inc/poche/config.inc.default.php
index 3eaee3a3..0d249c64 100755
--- a/inc/poche/config.inc.default.php
+++ b/inc/poche/config.inc.default.php
@@ -56,6 +56,7 @@
56@define ('SHOW_PRINTLINK', '1'); 56@define ('SHOW_PRINTLINK', '1');
57// display or not percent of read in article view. Affects only default theme. 57// display or not percent of read in article view. Affects only default theme.
58@define ('SHOW_READPERCENT', '1'); 58@define ('SHOW_READPERCENT', '1');
59@define ('RELOAD_ARTICLE', TRUE);
59@define ('ABS_PATH', 'assets/'); 60@define ('ABS_PATH', 'assets/');
60 61
61@define ('DEFAULT_THEME', 'baggy'); 62@define ('DEFAULT_THEME', 'baggy');