aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-05-25 15:52:27 +0200
committerArthurHoaro <arthur@hoa.ro>2020-01-18 09:55:59 +0100
commitcf92b4dd1521241eefc58eaf6dcd202cd83969d8 (patch)
tree9d6f6f4dc9eabe111c3ba5609eea8b22cd5a23aa /tpl/default/editlink.html
parent336a28fa4a09b968ce4705900bf57693e672f0bf (diff)
downloadShaarli-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/default/editlink.html')
-rw-r--r--tpl/default/editlink.html12
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 &nbsp;<label for="lf_private">{'Private'|t}</label> 49 &nbsp;<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}