]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/import.html
Refactor bookmark import using a generic Netscape parser
[github/shaarli/Shaarli.git] / tpl / import.html
1 <!DOCTYPE html>
2 <html>
3 <head>{include="includes"}</head>
4 <body onload="document.uploadform.filetoupload.focus();">
5 <div id="pageheader">
6 {include="page.header"}
7 <div id="uploaddiv">
8 Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize} bytes).
9 <form method="POST" action="?do=import" enctype="multipart/form-data"
10 name="uploadform" id="uploadform">
11 <input type="hidden" name="token" value="{$token}">
12 <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
13 <input type="file" name="filetoupload">
14 <input type="submit" name="import_file" value="Import" class="bigbutton"><br>
15
16 <label for="privacy">&nbsp;Visibility:</label><br>
17 <input type="radio" name="privacy" value="default" checked="true">
18 &nbsp;Use values from the imported file, default to public<br>
19 <input type="radio" name="privacy" value="private">
20 &nbsp;Import all bookmarks as private<br>
21 <input type="radio" name="privacy" value="public">
22 &nbsp;Import all bookmarks as public<br>
23
24 <input type="checkbox" name="overwrite" id="overwrite">
25 <label for="overwrite">&nbsp;Overwrite existing bookmarks</label><br>
26 <label for="default_tags">&nbsp;Add default tags</label>
27 <input type="text" name="default_tags" id="default_tags">
28 </form>
29 </div>
30 </div>
31 {include="page.footer"}
32 </body>
33 </html>