<!DOCTYPE html> <html{if="$language !== 'auto'"} lang="{$language}"{/if}> <head> {include="includes"} </head> <body> {include="page.header"} <div id="addlink-form" class="addlink-form section"> <h2 class="window-title">{"Shaare a new link"|t}</h2> <form method="GET" action="{$base_path}/admin/shaare" name="addform" class="addform"> <label for="shaare">{'URL or leave empty to post a note'|t}</label> <input type="text" name="post" id="shaare" class="autofocus"> <p> <input type="submit" value="{'Add link'|t}"> </p> </form> <div class="addlink-batch-show-more-block pure-u-0"> <a href="#">{'BULK CREATION'|t} <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false" role="presentation"> <use href="{$asset_path}/sprites/default.svg#ui-plus-circle"></use></svg></a> </div> </div> <div class="addlink-batch-form-block addlink-form section"> {if="empty($async_metadata)"} <p> {'Metadata asynchronous retrieval is disabled.'|t} {'We recommend that you enable the setting <em>general > enable_async_metadata</em> in your configuration file to use bulk link creation.'|t} <svg viewBox="0 0 48 48" aria-hidden="true" focusable="false" role="presentation"> <use href="{$asset_path}/sprites/default.svg#ui-close-circle"></use></svg> </p> {/if} <h2 class="window-title">{"Shaare multiple new links"|t}</h2> <form method="POST" action="{$base_path}/admin/shaare-batch" name="batch-addform" class="batch-addform"> <label for="urls">{'Add one URL per line to create multiple bookmarks.'|t}</label> <textarea name="urls" id="urls"></textarea> <label for="tags">{'Tags'|t}</label> <input type="text" name="tags" id="tags" class="lf_input" data-list="{loop="$tags"}{$key}, {/loop}" data-multiple data-autofirst autocomplete="off"> <input type="hidden" name="private" value="0"> <label for="lf_private"></label><input type="checkbox" name="private" {if="$default_private_links"} checked="checked"{/if}> {'Private'|t}</label> <p> <input type="hidden" name="token" value="{$token}"> <input type="submit" value="{'Add links'|t}"> </p> </form> </div> {include="page.footer"} </body> </html>