7 {
if="$source !== 'firefoxsocialapi'"}
8 {
include="page.header"}
10 <div id=
"editlinkform" class=
"pure-g">
11 <div class=
"pure-u-lg-1-5 pure-u-1-8"></div>
12 <form method=
"post" name=
"linkform" class=
"page-form pure-u-lg-3-5 pure-u-3-4" >
14 <input type=
"hidden" name=
"lf_linkdate" value=
"{$link.linkdate}">
16 <label for=
"lf_url">URL
</label>
19 <input type=
"text" name=
"lf_url" id=
"lf_url" value=
"{$link.url}" class=
"lf_input">
22 <label for=
"lf_title">Title
</label>
25 <input type=
"text" name=
"lf_title" id=
"lf_title" value=
"{$link.title}" class=
"lf_input">
28 <label for=
"lf_description">Description
</label>
31 <textarea name=
"lf_description" id=
"lf_description">{$link.description}
</textarea>
34 <label for=
"lf_tags">Tags
</label>
37 <input type=
"text" name=
"lf_tags" id=
"lf_tags" value=
"{$link.tags}" class=
"lf_input"
38 data-list=
"{loop="$tags
"}{$key}, {/loop}" data-multiple
autocomplete=
"off" >
42 <input type=
"checkbox" name=
"lf_private" id=
"lf_private"
43 {
if=
"($link_is_new && $default_private_links) || $link.private == true"}
46 <label for=
"lf_private">Private
</label>
49 <div id=
"editlink-plugins">
50 {
loop="$edit_link_plugin"}
56 <input type=
"submit" value=
"Save" name=
"save_edit">
58 <input type=
"submit" value=
"Delete" name=
"delete_link" class=
"delete-link">
62 <input type=
"hidden" name=
"token" value=
"{$token}">
64 <input type=
"hidden" name=
"returnurl" value=
"{$http_referer}">
68 {
if="$source !== 'firefoxsocialapi'"}
69 {
include="page.footer"}
72 awesompleteUniqueTag('#lf_tags');
73 if (!'{$link.title}') {
74 document.linkform.lf_title.focus();
75 } else if (!'{$link.description}') {
76 document.linkform.lf_description.focus();
78 document.linkform.lf_tags.focus();