aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/readme.txt
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/readme.txt
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/readme.txt')
-rw-r--r--tpl/readme.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/tpl/readme.txt b/tpl/readme.txt
new file mode 100644
index 00000000..d57080ea
--- /dev/null
+++ b/tpl/readme.txt
@@ -0,0 +1,42 @@
1===== Shaarli template organisation =====
2
3Any Shaarli page should conform to this RainTPL template:
4
5-----------------------------------------------------
6<html>
7<head>{include="includes"}</head>
8<body>
9 <div id="pageheader">{include="page.header"}</div>
10 You body goes here...
11 {include="page.footer"}
12</body>
13</html>
14-----------------------------------------------------
15
16If you want to also add something in the page header (in the dark area), do it here:
17
18<div id="pageheader">{include="page.header"}My menu goes here...</div>
19
20
21Example: "Add new link" form:
22-----------------------------------------------------
23<html>
24<head>{include="includes"}</head>
25<body onload="document.addform.post.focus();">
26<div id="pageheader">
27 {include="page.header"}
28 <div id="headerform">
29 <form method="GET" action="" name="addform" class="addform">
30 <input type="text" name="post" style="width:50%;">
31 <input type="submit" value="Add link" class="bigbutton">
32 </form>
33 </div>
34</div>
35{include="page.footer"}
36</body>
37</html>
38-----------------------------------------------------
39
40
41
42