Implemented Add Button

Added a button to add an URL when directly into Poche. If JS isn't
enabled, nothing happens.
This commit is contained in:
Thomas Citharel
2013-09-08 21:07:59 +02:00
parent 3eb049036e
commit 693b3f8677
6 changed files with 34 additions and 1 deletions

View File

@ -44,6 +44,9 @@ elseif (isset($_GET['export'])) {
$poche->export();
}
if (isset($_GET['plainurl'])){
$poche->convertURLToBase64($_GET['plainurl']);}
# vars to send to templates
$tpl_vars = array(
'referer' => $referer,