diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-01-18 10:01:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-18 10:01:06 +0100 |
commit | 3fb29fdda04ca86e04422d49b86cf646d53c4f9d (patch) | |
tree | adf8512f93f5559ba87d0c9931969ae4ebea7133 /tpl/default/editlink.html | |
parent | 796c4c57d085ae4589b53dfe8369ae9ba30ffdaf (diff) | |
parent | e26e2060f5470ce8bf4c5973284bae07b8af170a (diff) | |
download | Shaarli-3fb29fdda04ca86e04422d49b86cf646d53c4f9d.tar.gz Shaarli-3fb29fdda04ca86e04422d49b86cf646d53c4f9d.tar.zst Shaarli-3fb29fdda04ca86e04422d49b86cf646d53c4f9d.zip |
Store bookmarks as PHP objects and add a service layer to retriā¦ (#1307)
Store bookmarks as PHP objects and add a service layer to retrieve them
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r-- | tpl/default/editlink.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index df14535d..d16059a3 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html | |||
@@ -11,7 +11,6 @@ | |||
11 | <h2 class="window-title"> | 11 | <h2 class="window-title"> |
12 | {if="!$link_is_new"}{'Edit Shaare'|t}{else}{'New Shaare'|t}{/if} | 12 | {if="!$link_is_new"}{'Edit Shaare'|t}{else}{'New Shaare'|t}{/if} |
13 | </h2> | 13 | </h2> |
14 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | ||
15 | {if="isset($link.id)"} | 14 | {if="isset($link.id)"} |
16 | <input type="hidden" name="lf_id" value="{$link.id}"> | 15 | <input type="hidden" name="lf_id" value="{$link.id}"> |
17 | {/if} | 16 | {/if} |
@@ -20,7 +19,7 @@ | |||
20 | <label for="lf_url">{'URL'|t}</label> | 19 | <label for="lf_url">{'URL'|t}</label> |
21 | </div> | 20 | </div> |
22 | <div> | 21 | <div> |
23 | <input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input autofocus"> | 22 | <input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input"> |
24 | </div> | 23 | </div> |
25 | <div> | 24 | <div> |
26 | <label for="lf_title">{'Title'|t}</label> | 25 | <label for="lf_title">{'Title'|t}</label> |
@@ -50,6 +49,15 @@ | |||
50 | <label for="lf_private">{'Private'|t}</label> | 49 | <label for="lf_private">{'Private'|t}</label> |
51 | </div> | 50 | </div> |
52 | 51 | ||
52 | {if="$formatter==='markdown'"} | ||
53 | <div class="md_help"> | ||
54 | {'Description will be rendered with'|t} | ||
55 | <a href="http://daringfireball.net/projects/markdown/syntax" title="{'Markdown syntax documentation'|t}"> | ||
56 | {'Markdown syntax'|t} | ||
57 | </a>. | ||
58 | </div> | ||
59 | {/if} | ||
60 | |||
53 | <div id="editlink-plugins"> | 61 | <div id="editlink-plugins"> |
54 | {loop="$edit_link_plugin"} | 62 | {loop="$edit_link_plugin"} |
55 | {$value} | 63 | {$value} |