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/vintage/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/vintage/editlink.html')
-rw-r--r-- | tpl/vintage/editlink.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tpl/vintage/editlink.html b/tpl/vintage/editlink.html index 5fa7d194..6f7a330f 100644 --- a/tpl/vintage/editlink.html +++ b/tpl/vintage/editlink.html | |||
@@ -26,7 +26,16 @@ | |||
26 | <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input" | 26 | <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input" |
27 | data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br> | 27 | data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br> |
28 | 28 | ||
29 | {loop="$edit_link_plugin"} | 29 | {if="$formatter==='markdown'"} |
30 | <div class="md_help"> | ||
31 | {'Description will be rendered with'|t} | ||
32 | <a href="http://daringfireball.net/projects/markdown/syntax" title="{'Markdown syntax documentation'|t}"> | ||
33 | {'Markdown syntax'|t} | ||
34 | </a>. | ||
35 | </div> | ||
36 | {/if} | ||
37 | |||
38 | {loop="$edit_link_plugin"} | ||
30 | {$value} | 39 | {$value} |
31 | {/loop} | 40 | {/loop} |
32 | 41 | ||
@@ -38,7 +47,6 @@ | |||
38 | <label for="lf_private"><i>Private</i></label><br><br> | 47 | <label for="lf_private"><i>Private</i></label><br><br> |
39 | {/if} | 48 | {/if} |
40 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> | 49 | <input type="submit" value="Save" name="save_edit" class="bigbutton"> |
41 | <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton"> | ||
42 | {if="!$link_is_new && isset($link.id)"} | 50 | {if="!$link_is_new && isset($link.id)"} |
43 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" | 51 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" |
44 | name="delete_link" class="bigbutton" | 52 | name="delete_link" class="bigbutton" |