]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/readme.txt
Version 0.0.32 beta:
[github/shaarli/Shaarli.git] / tpl / readme.txt
CommitLineData
24e267ca
SS
1===== Shaarli template organisation =====\r
2\r
3Any Shaarli page should conform to this RainTPL template:\r
4\r
5-----------------------------------------------------\r
6<html>\r
7<head>{include="includes"}</head>\r
8<body>\r
9 <div id="pageheader">{include="page.header"}</div>\r
10 You body goes here...\r
11 {include="page.footer"}\r
12</body>\r
13</html>\r
14-----------------------------------------------------\r
15\r
16If you want to also add something in the page header (in the dark area), do it here:\r
17\r
18<div id="pageheader">{include="page.header"}My menu goes here...</div>\r
19\r
20\r
21Example: "Add new link" form:\r
22-----------------------------------------------------\r
23<html>\r
24<head>{include="includes"}</head>\r
25<body onload="document.addform.post.focus();">\r
26<div id="pageheader">\r
27 {include="page.header"}\r
28 <div id="headerform">\r
29 <form method="GET" action="" name="addform" class="addform">\r
30 <input type="text" name="post" style="width:50%;"> \r
31 <input type="submit" value="Add link" class="bigbutton">\r
32 </form>\r
33 </div>\r
34</div>\r
35{include="page.footer"}\r
36</body>\r
37</html>\r
38-----------------------------------------------------\r
39\r
40\r
41\r
42\r