2013-02-26 10:09:41 +01:00
|
|
|
<!DOCTYPE html>
|
2025-04-18 10:57:05 +02:00
|
|
|
<html{if="$language !=='auto'"} lang=" {$language}"{/if}>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
{include="includes"}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
{include="page.header"}
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<form method="POST" action="{$base_path}/admin/import" enctype="multipart/form-data" name="uploadform"
|
|
|
|
id="uploadform">
|
2017-12-15 12:16:50 +01:00
|
|
|
|
|
|
|
<h2 class="window-title">{"Import Database"|t}</h2>
|
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<input type="hidden" name="token" value="{$token}">
|
2017-12-15 12:16:50 +01:00
|
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
|
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<label for="filetoupload">{"File"|t}</label>
|
|
|
|
<input type="file" name="filetoupload" id="filetoupload">
|
|
|
|
|
|
|
|
<p>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<legend>{'Visibility'|t}</legend>
|
|
|
|
<label for="privacy-01">
|
|
|
|
<input type="radio" name="privacy" value="default" checked="checked" id="privacy-01">
|
|
|
|
{'Use values from the imported file, default to public'|t}
|
|
|
|
</label>
|
|
|
|
<label for="privacy-02">
|
|
|
|
<input type="radio" name="privacy" value="private" id="privacy-02">
|
|
|
|
{'Import all bookmarks as private'|t}
|
|
|
|
</label>
|
|
|
|
<label for="privacy-03">
|
|
|
|
<input type="radio" name="privacy" value="public" id="privacy-03">
|
|
|
|
{'Import all bookmarks as public'|t}
|
|
|
|
</label>
|
|
|
|
</fieldset>
|
2017-12-15 12:16:50 +01:00
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<label for="overwrite">
|
|
|
|
<input type="checkbox" name="overwrite" id="overwrite">
|
|
|
|
{'Overwrite existing bookmarks'|t} <small>({'Duplicates based on URL'|t})</small>
|
|
|
|
</label>
|
2017-12-15 12:16:50 +01:00
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
|
|
|
|
<input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}">
|
2017-12-15 12:16:50 +01:00
|
|
|
|
|
|
|
<input type="submit" name="import_file" value="{'Import'|t}">
|
2025-04-18 10:57:05 +02:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
{include="page.footer"}
|
|
|
|
</body>
|
2017-12-15 12:16:50 +01:00
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
</html>
|