diff options
author | Thomas Citharel <thomas.citharet@gmail.com> | 2013-09-08 21:07:59 +0200 |
---|---|---|
committer | Thomas Citharel <thomas.citharet@gmail.com> | 2013-09-08 21:07:59 +0200 |
commit | 693b3f86776ae236d69ac6ed085b5e46b9054642 (patch) | |
tree | 52beeeaccc06b8d9ae52ca99b507f2e29eb47fe8 /index.php | |
parent | 3eb049036e601c1978cf5f7f0d5be8c577933b72 (diff) | |
download | wallabag-693b3f86776ae236d69ac6ed085b5e46b9054642.tar.gz wallabag-693b3f86776ae236d69ac6ed085b5e46b9054642.tar.zst wallabag-693b3f86776ae236d69ac6ed085b5e46b9054642.zip |
Implemented Add Button
Added a button to add an URL when directly into Poche. If JS isn't
enabled, nothing happens.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ elseif (isset($_GET['export'])) { | |||
44 | $poche->export(); | 44 | $poche->export(); |
45 | } | 45 | } |
46 | 46 | ||
47 | if (isset($_GET['plainurl'])){ | ||
48 | $poche->convertURLToBase64($_GET['plainurl']);} | ||
49 | |||
47 | # vars to send to templates | 50 | # vars to send to templates |
48 | $tpl_vars = array( | 51 | $tpl_vars = array( |
49 | 'referer' => $referer, | 52 | 'referer' => $referer, |