aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche')
-rwxr-xr-xinc/poche/Routing.class.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/inc/poche/Routing.class.php b/inc/poche/Routing.class.php
index 0b373058..bd61a0b3 100755
--- a/inc/poche/Routing.class.php
+++ b/inc/poche/Routing.class.php
@@ -119,8 +119,21 @@ class Routing
119 } elseif (isset($_GET['deluser'])) { 119 } elseif (isset($_GET['deluser'])) {
120 $this->wallabag->deleteUser($_POST['password4deletinguser']); 120 $this->wallabag->deleteUser($_POST['password4deletinguser']);
121 } elseif (isset($_GET['epub'])) { 121 } elseif (isset($_GET['epub'])) {
122 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['id'], $_GET['value']); 122 $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']);
123 $epub->run(); 123 $epub->prepareData();
124 $epub->produceEpub();
125 } elseif (isset($_GET['mobi'])) {
126 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
127 $mobi->prepareData();
128 $mobi->produceMobi();
129 } elseif (isset($_GET['send2kindle'])) {
130 $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']);
131 $mobi->prepareData();
132 $mobi->produceMobi(TRUE);
133 } elseif (isset($_GET['pdf'])) {
134 $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']);
135 $pdf->prepareData();
136 $pdf->producePDF();
124 } elseif (isset($_GET['import'])) { 137 } elseif (isset($_GET['import'])) {
125 $import = $this->wallabag->import(); 138 $import = $this->wallabag->import();
126 $tplVars = array_merge($this->vars, $import); 139 $tplVars = array_merge($this->vars, $import);