3 <head>{
include="includes"}
</head>
5 {if
condition=
"$link.title==''"}
onload=
"document.linkform.lf_title.focus();"
6 {elseif
condition=
"$link.description==''"}
onload=
"document.linkform.lf_description.focus();"
7 {else}
onload=
"document.linkform.lf_tags.focus();"{/if}
>
9 {
include="page.header"}
10 <div id=
"editlinkform">
11 <form method=
"post" name=
"linkform">
12 <input type=
"hidden" name=
"lf_linkdate" value=
"{$link.linkdate}">
13 <i>URL
</i><br><input type=
"text" name=
"lf_url" value=
"{$link.url|htmlspecialchars}" style=
"width:100%"><br>
14 <i>Title
</i><br><input type=
"text" name=
"lf_title" value=
"{$link.title|htmlspecialchars}" style=
"width:100%"><br>
15 <i>Description
</i><br><textarea name=
"lf_description" rows=
"4" cols=
"25" style=
"width:100%">{$link.description|htmlspecialchars}
</textarea><br>
16 <i>Tags
</i><br><input type=
"text" id=
"lf_tags" name=
"lf_tags" value=
"{$link.tags|htmlspecialchars}" style=
"width:100%"><br>
17 {if
condition="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"}
18 <input type=
"checkbox" checked=
"checked" name=
"lf_private" id=
"lf_private">
19 <label for=
"lf_private"><i>Private
</i></label><br>
21 <input type=
"checkbox" name=
"lf_private" id=
"lf_private">
22 <label for=
"lf_private"><i>Private
</i></label><br>
24 <input type=
"submit" value=
"Save" name=
"save_edit" class=
"bigbutton" style=
"margin-left:40px;">
25 <input type=
"submit" value=
"Cancel" name=
"cancel_edit" class=
"bigbutton" style=
"margin-left:40px;">
26 {if
condition="!$link_is_new"}
<input type=
"submit" value=
"Delete" name=
"delete_link" class=
"bigbutton" style=
"margin-left:180px;" onClick=
"return confirmDeleteLink();">{/if}
27 <input type=
"hidden" name=
"token" value=
"{$token}">
28 {if
condition="$http_referer"}
<input type=
"hidden" name=
"returnurl" value=
"{$http_referer|htmlspecialchars}">{/if}
32 {
include="page.footer"}