2017-01-14 15:52:17 +01:00
|
|
|
<!DOCTYPE html>
|
2019-02-09 14:29:35 +01:00
|
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
2017-01-14 15:52:17 +01:00
|
|
|
<head>
|
|
|
|
{include="includes"}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{include="page.header"}
|
|
|
|
|
2023-05-24 11:35:15 +02:00
|
|
|
<form method="POST" action="{$base_path}/admin/import" enctype="multipart/form-data" name="uploadform" id="uploadform">
|
2017-01-14 15:52:17 +01:00
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-lg-1-4 pure-u-1-24"></div>
|
|
|
|
<div class="pure-u-lg-1-2 pure-u-22-24 page-form page-form-complete">
|
|
|
|
<div>
|
|
|
|
<h2 class="window-title">{"Import Database"|t}</h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="hidden" name="token" value="{$token}">
|
2018-05-10 13:26:11 +02:00
|
|
|
<div class="center import-field-container" id="import-field">
|
2017-01-14 15:52:17 +01:00
|
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
|
|
|
|
<input type="file" name="filetoupload">
|
2017-05-09 18:12:15 +02:00
|
|
|
<p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p>
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-lg-1-3 pure-u-1">
|
|
|
|
<div class="form-label">
|
|
|
|
<label><span class="label-name">{'Visibility'|t}</span></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-lg-2-3 pure-u-1">
|
|
|
|
<div class="radio-buttons">
|
|
|
|
<div>
|
|
|
|
<input type="radio" name="privacy" value="default" checked="checked">
|
2017-05-09 18:12:15 +02:00
|
|
|
{'Use values from the imported file, default to public'|t}
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type="radio" name="privacy" value="private">
|
2017-05-09 18:12:15 +02:00
|
|
|
{'Import all bookmarks as private'|t}
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type="radio" name="privacy" value="public">
|
2017-05-09 18:12:15 +02:00
|
|
|
{'Import all bookmarks as public'|t}
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-lg-1-3 pure-u-7-8">
|
|
|
|
<div class="form-label">
|
|
|
|
<label for="overwrite">
|
|
|
|
<span class="label-name">{'Overwrite existing bookmarks'|t}</span><br>
|
|
|
|
<span class="label-desc">{'Duplicates based on URL'|t}</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-lg-2-3 pure-u-1-8">
|
|
|
|
<div class="form-input">
|
|
|
|
<input type="checkbox" name="overwrite" id="overwrite">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-lg-1-3 pure-u-1">
|
|
|
|
<div class="form-label">
|
|
|
|
<label for="default_tags"><span class="label-name">{'Add default tags'|t}</span></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-lg-2-3 pure-u-1">
|
|
|
|
<div class="form-input">
|
2023-05-24 11:35:15 +02:00
|
|
|
<input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}">
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="center">
|
|
|
|
<input type="submit" name="import_file" value="{'Import'|t}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{include="page.footer"}
|
|
|
|
</body>
|
|
|
|
</html>
|