2013-02-26 10:09:41 +01:00
|
|
|
<!DOCTYPE html>
|
2019-08-12 14:16:22 +02:00
|
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
2017-12-15 12:16:50 +01:00
|
|
|
<head>
|
|
|
|
{include="includes"}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{include="page.header"}
|
2025-04-18 10:57:05 +02:00
|
|
|
|
|
|
|
<div id="addlink-form" class="addlink-form section">
|
2017-12-15 12:16:50 +01:00
|
|
|
<h2 class="window-title">{"Shaare a new link"|t}</h2>
|
2023-05-25 11:13:43 +02:00
|
|
|
<form method="GET" action="{$base_path}/admin/shaare" name="addform" class="addform">
|
2019-08-12 14:16:22 +02:00
|
|
|
<label for="shaare">{'URL or leave empty to post a note'|t}</label>
|
|
|
|
<input type="text" name="post" id="shaare" class="autofocus">
|
2025-04-18 10:57:05 +02:00
|
|
|
<p>
|
|
|
|
<input type="submit" value="{'Add link'|t}">
|
|
|
|
</p>
|
2017-12-15 12:16:50 +01:00
|
|
|
</form>
|
2025-04-18 10:57:05 +02:00
|
|
|
<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>
|
2017-12-15 12:16:50 +01:00
|
|
|
</div>
|
2023-05-25 11:13:43 +02:00
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<div class="addlink-batch-form-block addlink-form section">
|
2023-05-25 11:13:43 +02:00
|
|
|
{if="empty($async_metadata)"}
|
2025-04-18 10:57:05 +02:00
|
|
|
<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>
|
2023-05-25 11:13:43 +02:00
|
|
|
{/if}
|
2025-04-18 10:57:05 +02:00
|
|
|
<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">
|
2023-05-25 11:13:43 +02:00
|
|
|
|
2025-04-18 10:57:05 +02:00
|
|
|
<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>
|
2023-05-25 11:13:43 +02:00
|
|
|
</div>
|
|
|
|
|
2017-12-15 12:16:50 +01:00
|
|
|
{include="page.footer"}
|
|
|
|
</body>
|
2025-04-18 10:57:05 +02:00
|
|
|
</html>
|