<!DOCTYPE html>
<html{if="$language !=='auto'"} lang=" {$language}"{/if}>

  <head>
    {include="includes"}
  </head>

  <body>
    {include="page.header"}
    <section>
      <h2 class="window-title">{"Export Database"|t}</h2>
      <form method="POST" action="{$base_path}/admin/export" name="exportform" id="exportform">
        <fieldset>
          <legend>{'Selection'|t}</legend>
          <label>
            <input type="radio" name="selection" value="all" checked="checked">
            {'All'|t}
          </label>
          <label>
            <input type="radio" name="selection" value="private">
            {'Private'|t}
          </label>
          <label>
            <input type="radio" name="selection" value="public">
            {'Public'|t}
          </label>
        </fieldset>
        <label for="prepend_note_url">
          <input type="checkbox" name="prepend_note_url" id="prepend_note_url">
          {'Prepend note permalinks with this Shaarli instance\'s URL'|t} <small>({'Useful to import bookmarks in a web browser'|t})</small>
          </label>
          <input type="hidden" name="token" value="{$token}">
        <input type="submit" value="{'Export'|t}">
      </form>
    </section>
    {include="page.footer"}
  </body>

  </html>