mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
changes to add url directly from poche
This commit is contained in:
parent
d5ce28df67
commit
ce4a1dcc19
6 changed files with 17 additions and 28 deletions
|
@ -43,9 +43,10 @@ elseif (isset($_GET['import'])) {
|
|||
elseif (isset($_GET['export'])) {
|
||||
$poche->export();
|
||||
}
|
||||
|
||||
if (isset($_GET['plainurl'])){
|
||||
$poche->convertURLToBase64($_GET['plainurl']);}
|
||||
elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) {
|
||||
$plain_url = new Url(base64_encode($_GET['plainurl']));
|
||||
$poche->action('add', $plain_url);
|
||||
}
|
||||
|
||||
# vars to send to templates
|
||||
$tpl_vars = array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue