1
0
Fork 0
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:
Nicolas Lœuillet 2013-09-10 14:41:58 +02:00
parent d5ce28df67
commit ce4a1dcc19
6 changed files with 17 additions and 28 deletions

View file

@ -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(