aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r--tpl/default/editlink.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
new file mode 100644
index 00000000..d03fd72f
--- /dev/null
+++ b/tpl/default/editlink.html
@@ -0,0 +1,80 @@
1<!DOCTYPE html>
2<html>
3<head>
4 {include="includes"}
5</head>
6<body>
7 {include="page.header"}
8 <div id="editlinkform" class="pure-g">
9 <div class="pure-u-lg-1-5 pure-u-1-24"></div>
10 <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light">
11 <h2 class="window-title">
12 {if="!$link_is_new"}{'Edit'|t}{/if}
13 {'Shaare'|t}
14 </h2>
15 <input type="hidden" name="lf_linkdate" value="{$link.linkdate}">
16 {if="isset($link.id)"}
17 <input type="hidden" name="lf_id" value="{$link.id}">
18 {/if}
19 {if="!$link_is_new"}<div class="created-date">{'Created:'|t} {$link.created|format_date}</div>{/if}
20 <div>
21 <label for="lf_url">{'URL'|t}</label>
22 </div>
23 <div>
24 <input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input autofocus">
25 </div>
26 <div>
27 <label for="lf_title">{'Title'|t}</label>
28 </div>
29 <div>
30 <input type="text" name="lf_title" id="lf_title" value="{$link.title}" class="lf_input autofocus">
31 </div>
32 <div>
33 <label for="lf_description">{'Description'|t}</label>
34 </div>
35 <div>
36 <textarea name="lf_description" id="lf_description" class="autofocus">{$link.description}</textarea>
37 </div>
38 <div>
39 <label for="lf_tags">{'Tags'|t}</label>
40 </div>
41 <div>
42 <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input autofocus"
43 data-list="{loop="$tags"}{$key}, {/loop}" data-multiple data-autofirst autocomplete="off" >
44 </div>
45
46 <div>
47 <input type="checkbox" name="lf_private" id="lf_private"
48 {if="($link_is_new && $default_private_links || $link.private == true)"}
49 checked="checked"
50 {/if}>
51 &nbsp;<label for="lf_private">{'Private'|t}</label>
52 </div>
53
54 <div id="editlink-plugins">
55 {loop="$edit_link_plugin"}
56 {$value}
57 {/loop}
58 </div>
59
60
61 <div class="submit-buttons center">
62 <input type="submit" name="save_edit" class="" id="button-save-edit"
63 value="{if="$link_is_new"}{'Save'|t}{else}{'Apply Changes'|t}{/if}">
64 {if="!$link_is_new"}
65 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}"
66 title="" name="delete_link" class="button button-red confirm-delete">
67 {'Delete'|t}
68 </a>
69 {/if}
70 </div>
71
72 <input type="hidden" name="token" value="{$token}">
73 {if="$http_referer"}
74 <input type="hidden" name="returnurl" value="{$http_referer}">
75 {/if}
76 </form>
77 </div>
78 {include="page.footer"}
79</body>
80</html>