With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>{include="includes"}</head>
|
|
<body onload="document.uploadform.filetoupload.focus();">
|
|
<div id="pageheader">
|
|
{include="page.header"}
|
|
<div id="uploaddiv">
|
|
Import Netscape HTML bookmarks (as exported from Firefox/Chrome/Opera/Delicious/Diigo...) (Max: {$maxfilesize}).
|
|
<form method="POST" action="{$base_path}/?do=import" enctype="multipart/form-data"
|
|
name="uploadform" id="uploadform">
|
|
<input type="hidden" name="token" value="{$token}">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
|
|
<input type="file" name="filetoupload">
|
|
<input type="submit" name="import_file" value="Import" class="bigbutton"><br>
|
|
|
|
<label for="privacy"> Visibility:</label><br>
|
|
<input type="radio" name="privacy" value="default" checked="true">
|
|
Use values from the imported file, default to public<br>
|
|
<input type="radio" name="privacy" value="private">
|
|
Import all bookmarks as private<br>
|
|
<input type="radio" name="privacy" value="public">
|
|
Import all bookmarks as public<br>
|
|
|
|
<input type="checkbox" name="overwrite" id="overwrite">
|
|
<label for="overwrite"> Overwrite existing bookmarks</label><br>
|
|
<label for="default_tags"> Add default tags</label>
|
|
<input type="text" name="default_tags" id="default_tags">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|