aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/editlink.html
diff options
context:
space:
mode:
authorSeb Sauvage <seb@sebsauvage.net>2011-12-16 21:27:16 +0100
committerEmilien Klein <emilien+ubuntu@klein.st>2011-12-16 21:27:16 +0100
commit24e267ca714f591921eb659457332c3f7fea1930 (patch)
tree98fc646456708df7d3b133ed7f33835c1f1b059f /tpl/editlink.html
parent5112a433897d4d6507982b64bb07333b774ddb3a (diff)
downloadShaarli-24e267ca714f591921eb659457332c3f7fea1930.tar.gz
Shaarli-24e267ca714f591921eb659457332c3f7fea1930.tar.zst
Shaarli-24e267ca714f591921eb659457332c3f7fea1930.zip
Version 0.0.32 beta:
- Changed: HTML generation moved to RainTPL templates (in the tpl/ directory). - Added: Better check on URL parameters (patch by gege2061). - Changed: Better detection of HTTPS (patch by gege2061). - Changed: In RSS/ATOM feeds, the GUID is now the permalink instead of the final URL (patch by gege2061). - Changed: Jerrywham CSS patch included. - Changed: Multiple spaces are now respected in description. Thus you can use Shaarli as a personal pastebin (for posting source code, for example). I also ad$ - Corrected: Tab order changed in login screen. - Corrected: Permalinks now work even if additional parameters have been added (eg. /?E8Yj2Q&utm_source=blablabla…) - Corrected: user.css is included only if the file is present (This prevent a useless CSS include which makes a harmless but useless 404 error.). - Removed: Page time generation was removed.
Diffstat (limited to 'tpl/editlink.html')
-rw-r--r--tpl/editlink.html27
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">&nbsp;<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