aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/editlink.html
diff options
context:
space:
mode:
authorSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-02-26 10:09:41 +0100
committerSébastien SAUVAGE <sebsauvage@sebsauvage.net>2013-02-26 10:09:41 +0100
commit450342737ced8ef2864b4f83a4107a7fafcc4add (patch)
treea6d2fe843c27b5c3d88dab5581b6a06828d544b9 /tpl/editlink.html
downloadShaarli-450342737ced8ef2864b4f83a4107a7fafcc4add.tar.gz
Shaarli-450342737ced8ef2864b4f83a4107a7fafcc4add.tar.zst
Shaarli-450342737ced8ef2864b4f83a4107a7fafcc4add.zip
Initial commit (version 0.0.40 beta)v0.0.40beta
Diffstat (limited to 'tpl/editlink.html')
-rw-r--r--tpl/editlink.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/tpl/editlink.html b/tpl/editlink.html
new file mode 100644
index 00000000..4ad43b35
--- /dev/null
+++ b/tpl/editlink.html
@@ -0,0 +1,28 @@
1<!DOCTYPE html>
2<html>
3<head>{include="includes"}</head>
4<body
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} >
8<div id="pageheader">
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 <input type="checkbox" {if condition="$link.private!=0"}checked="yes"{/if} style="margin:7 0 10 0;" name="lf_private" id="lf_private">&nbsp;<label for="lf_private"><i>Private</i></label><br>
18 <input type="submit" value="Save" name="save_edit" class="bigbutton" style="margin-left:40px;">
19 <input type="submit" value="Cancel" name="cancel_edit" class="bigbutton" style="margin-left:40px;">
20 {if condition="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton" style="margin-left:180px;" onClick="return confirmDeleteLink();">{/if}
21 <input type="hidden" name="token" value="{$token}">
22 {if condition="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer|htmlspecialchars}">{/if}
23 </form>
24 </div>
25</div>
26{include="page.footer"}
27</body>
28</html> \ No newline at end of file