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

@ -558,4 +558,9 @@ class Poche
}
return $version;
}
function convertURLToBase64($plainurl){
$convertedURL = base64_encode($plainurl);
$this->action('add', new Url($convertedURL))
}
}