diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 15:52:27 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-01-18 09:55:59 +0100 |
commit | cf92b4dd1521241eefc58eaf6dcd202cd83969d8 (patch) | |
tree | 9d6f6f4dc9eabe111c3ba5609eea8b22cd5a23aa /tpl/vintage/editlink.html | |
parent | 336a28fa4a09b968ce4705900bf57693e672f0bf (diff) | |
download | Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.tar.gz Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.tar.zst Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.zip |
Apply the new system (Bookmark + Service) to the whole code base
See https://github.com/shaarli/Shaarli/issues/1307
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" |