diff options
Diffstat (limited to 'tpl/editlink.html')
-rw-r--r-- | tpl/editlink.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tpl/editlink.html b/tpl/editlink.html new file mode 100644 index 00000000..2225fbab --- /dev/null +++ b/tpl/editlink.html | |||
@@ -0,0 +1,27 @@ | |||
1 | <html> | ||
2 | <head>{include="includes"}</head> | ||
3 | <body | ||
4 | {if condition="$link.title==''"}onload="document.linkform.lf_title.focus();" | ||
5 | {elseif condition="$link.description==''"}onload="document.linkform.lf_description.focus();" | ||
6 | {else}onload="document.linkform.lf_tags.focus();"{/if} > | ||
7 | <div id="pageheader"> | ||
8 | {include="page.header"} | ||
9 | <div id="editlinkform"> | ||
10 | <form method="post" name="linkform"> | ||
11 | <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> | ||
12 | <i>URL</i><br><input type="text" name="lf_url" value="{$link.url|htmlspecialchars}" style="width:100%"><br> | ||
13 | <i>Title</i><br><input type="text" name="lf_title" value="{$link.title|htmlspecialchars}" style="width:100%"><br> | ||
14 | <i>Description</i><br><textarea name="lf_description" rows="4" cols="25" style="width:100%">{$link.description|htmlspecialchars}</textarea><br> | ||
15 | <i>Tags</i><br><input type="text" id="lf_tags" name="lf_tags" value="{$link.tags|htmlspecialchars}" style="width:100%"><br> | ||
16 | <input type="checkbox" {if condition="$link.private!=0"}checked="yes"{/if} style="margin:7 0 10 0;" name="lf_private"> <i>Private</i><br> | ||
17 | <input type="submit" value="Save" name="save_edit" class="bigbutton" style="margin-left:40px;"> | ||
18 | <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton" style="margin-left:40px;"> | ||
19 | {if condition="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton" style="margin-left:180px;" onClick="return confirmDeleteLink();">{/if} | ||
20 | <input type="hidden" name="token" value="{$token}"> | ||
21 | {if condition="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer|htmlspecialchars}">{/if} | ||
22 | </form> | ||
23 | </div> | ||
24 | </div> | ||
25 | {include="page.footer"} | ||
26 | </body> | ||
27 | </html> \ No newline at end of file | ||