]>
Commit | Line | Data |
---|---|---|
402b0346 A |
1 | <!DOCTYPE html> |
2 | <html> | |
3 | <head> | |
4 | {include="includes"} | |
5 | </head> | |
6 | <body> | |
b9b41d25 | 7 | {include="page.header"} |
402b0346 A |
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">{'Shaare'|t}</h2> | |
12 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | |
13 | {if="isset($link.id)"} | |
14 | <input type="hidden" name="lf_id" value="{$link.id}"> | |
15 | {/if} | |
16 | <div> | |
17 | <label for="lf_url">{'URL'|t}</label> | |
18 | </div> | |
19 | <div> | |
b9b41d25 | 20 | <input type="text" name="lf_url" id="lf_url" value="{$link.url}" class="lf_input autofocus"> |
402b0346 A |
21 | </div> |
22 | <div> | |
23 | <label for="lf_title">{'Title'|t}</label> | |
24 | </div> | |
25 | <div> | |
b9b41d25 | 26 | <input type="text" name="lf_title" id="lf_title" value="{$link.title}" class="lf_input autofocus"> |
402b0346 A |
27 | </div> |
28 | <div> | |
29 | <label for="lf_description">{'Description'|t}</label> | |
30 | </div> | |
31 | <div> | |
b9b41d25 | 32 | <textarea name="lf_description" id="lf_description" class="autofocus">{$link.description}</textarea> |
402b0346 A |
33 | </div> |
34 | <div> | |
35 | <label for="lf_tags">{'Tags'|t}</label> | |
36 | </div> | |
37 | <div> | |
b9b41d25 | 38 | <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input autofocus" |
15162272 | 39 | data-list="{loop="$tags"}{$key}, {/loop}" data-multiple data-autofirst autocomplete="off" > |
402b0346 A |
40 | </div> |
41 | ||
42 | <div> | |
43 | <input type="checkbox" name="lf_private" id="lf_private" | |
70401690 | 44 | {if="($link_is_new && $default_private_links || $link.private == true)"} |
402b0346 A |
45 | checked="checked" |
46 | {/if}> | |
47 | <label for="lf_private">{'Private'|t}</label> | |
48 | </div> | |
49 | ||
50 | <div id="editlink-plugins"> | |
51 | {loop="$edit_link_plugin"} | |
52 | {$value} | |
53 | {/loop} | |
54 | </div> | |
55 | ||
56 | ||
57 | <div class="submit-buttons center"> | |
2dd698fd | 58 | <input type="submit" value="{'Save'|t}" name="save_edit" class="" id="button-save-edit"> |
402b0346 | 59 | {if="!$link_is_new"} |
70401690 | 60 | <a href="?delete_link&lf_linkdate={$link.id}&token={$token}" |
402b0346 A |
61 | title="" name="delete_link" class="button button-red confirm-delete"> |
62 | {'Delete'|t} | |
63 | </a> | |
64 | {/if} | |
65 | </div> | |
66 | ||
67 | <input type="hidden" name="token" value="{$token}"> | |
68 | {if="$http_referer"} | |
69 | <input type="hidden" name="returnurl" value="{$http_referer}"> | |
70 | {/if} | |
71 | </form> | |
72 | </div> | |
b9b41d25 | 73 | {include="page.footer"} |
402b0346 A |
74 | </body> |
75 | </html> |