diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-14 15:51:30 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-02-27 20:01:54 +0100 |
commit | 009ce9358168cc06c76fc2f4162829e552e633a3 (patch) | |
tree | 43b251326a24c6600acead1c406f7c18f291be8e /tpl/default/editlink.html | |
parent | 9e5a37cc7f4eb1c83222a94eb83d4e99ce4460a4 (diff) | |
download | Shaarli-009ce9358168cc06c76fc2f4162829e552e633a3.tar.gz Shaarli-009ce9358168cc06c76fc2f4162829e552e633a3.tar.zst Shaarli-009ce9358168cc06c76fc2f4162829e552e633a3.zip |
Move default template to vintage folder
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r-- | tpl/default/editlink.html | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html deleted file mode 100644 index f855dfb1..00000000 --- a/tpl/default/editlink.html +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"} | ||
4 | <link type="text/css" rel="stylesheet" href="inc/awesomplete.css#" /> | ||
5 | </head> | ||
6 | <body | ||
7 | {if="$link.title==''"}onload="document.linkform.lf_title.focus();" | ||
8 | {elseif="$link.description==''"}onload="document.linkform.lf_description.focus();" | ||
9 | {else}onload="document.linkform.lf_tags.focus();"{/if} > | ||
10 | <div id="pageheader"> | ||
11 | {if="$source !== 'firefoxsocialapi'"} | ||
12 | {include="page.header"} | ||
13 | {else} | ||
14 | <div id="shaarli_title"><a href="{$titleLink}">{$shaarlititle}</a></div> | ||
15 | {/if} | ||
16 | <div id="editlinkform"> | ||
17 | <form method="post" name="linkform"> | ||
18 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | ||
19 | {if="isset($link.id)"} | ||
20 | <input type="hidden" name="lf_id" value="{$link.id}"> | ||
21 | {/if} | ||
22 | <label for="lf_url"><i>URL</i></label><br><input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input"><br> | ||
23 | <label for="lf_title"><i>Title</i></label><br><input type="text" name="lf_title" id="lf_title" value="{$link.title}" class="lf_input"><br> | ||
24 | <label for="lf_description"><i>Description</i></label><br><textarea name="lf_description" id="lf_description" rows="4" cols="25">{$link.description}</textarea><br> | ||
25 | <label for="lf_tags"><i>Tags</i></label><br> | ||
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> | ||
28 | |||
29 | {loop="$edit_link_plugin"} | ||
30 | {$value} | ||
31 | {/loop} | ||
32 | |||
33 | {if="($link_is_new && $default_private_links) || $link.private == true"} | ||
34 | <input type="checkbox" checked="checked" name="lf_private" id="lf_private"> | ||
35 | <label for="lf_private"><i>Private</i></label><br> | ||
36 | {else} | ||
37 | <input type="checkbox" name="lf_private" id="lf_private"> | ||
38 | <label for="lf_private"><i>Private</i></label><br><br> | ||
39 | {/if} | ||
40 | <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)"} | ||
43 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" | ||
44 | name="delete_link" class="bigbutton" | ||
45 | onClick="return confirmDeleteLink();"> | ||
46 | {'Delete'|t} | ||
47 | </a> | ||
48 | {/if} | ||
49 | <input type="hidden" name="token" value="{$token}"> | ||
50 | {if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if} | ||
51 | </form> | ||
52 | </div> | ||
53 | </div> | ||
54 | {if="$source !== 'firefoxsocialapi'"} | ||
55 | {include="page.footer"} | ||
56 | {/if} | ||
57 | <script src="inc/awesomplete.min.js#"></script> | ||
58 | <script src="inc/awesomplete-multiple-tags.js#"></script> | ||
59 | <script> | ||
60 | awesompleteUniqueTag('#lf_tags'); | ||
61 | </script> | ||
62 | </body> | ||
63 | </html> | ||